Compare commits

...

2336 Commits

Author SHA1 Message Date
Bjorn Winckler 04f77a4338 Snapshot 71 2013-09-06 18:00:40 +02:00
Bjorn Winckler 7574495bfe Merge branch 'vim' 2013-09-06 17:53:04 +02:00
Björn Winckler 0f3e96b8c5 Merge pull request #33 from Sidnicious/patch-1
Don't double-encode URLs before parsing them
2013-09-06 08:19:24 -07:00
Björn Winckler 52f4da8fe0 Merge pull request #34 from bdesham/patch-1
Use “noremap” in system gvimrc
2013-09-06 08:13:47 -07:00
Bram Moolenaar 25bd5e53f4 Added tag v7-4-022 for changeset 965044860b7f 2013-09-05 21:41:40 +02:00
Bram Moolenaar 842c4dd447 updated for version 7.4.022
Problem:    Deadlock while exiting, because of allocating memory.
Solution:   Do not use gettext() in deathtrap(). (James McCoy)
2013-09-05 21:41:39 +02:00
Bram Moolenaar c33239dbbb Added tag v7-4-021 for changeset c514693882b9 2013-09-05 21:15:44 +02:00
Bram Moolenaar ac58a6bcd4 updated for version 7.4.021
Problem:    NFA regexp: Using \ze in one branch which doesn't match may cause
	    end of another branch to be wrong. (William Fugh)
Solution:   Set end position if it wasn't set yet.
2013-09-05 21:15:44 +02:00
Benjamin Esham 010635f861 Use “noremap” for all other mappings too 2013-09-05 14:47:33 -04:00
Benjamin Esham c972338008 Use “inoremap” for <M-BS> and <D-BS>
As a Mac user I’m used to using Option-Delete to delete to the beginning of the previous word; MacVim sets up this behavior with its gvimrc. But I also like to use Control-W to delete to the beginning of the line. This change makes it possible for these two mappings to coexist without a problem.
2013-09-05 11:51:59 -04:00
Bram Moolenaar e14e2bd1fe Added tag v7-4-020 for changeset c1ae5baa41f4 2013-09-05 16:05:36 +02:00
Bram Moolenaar 4fafaa8b36 updated for version 7.4.020
Problem:    NFA engine matches too much with \@>. (John McGowan)
Solution:   When a whole pattern match is found stop searching.
2013-09-05 16:05:36 +02:00
Bram Moolenaar 1af6c83e0a Added tag v7-4-019 for changeset d5eb32dc231c 2013-09-05 13:50:53 +02:00
Bram Moolenaar 8e2a162bf8 updated for version 7.4.019
Problem:    MS-Windows: File name completion doesn't work properly with
	    Chinese characters. (Yue Wu)
Solution:   Take care of multi-byte characters when looking for the start of
	    the file name. (Ken Takata)
2013-09-05 13:50:53 +02:00
Bram Moolenaar 9297019ba6 Added tag v7-4-018 for changeset 460d5be9395e 2013-09-05 12:49:52 +02:00
Bram Moolenaar 777ae8ac47 updated for version 7.4.018
Problem:    When completing item becomes unselected. (Shougo Matsu)
Solution:   Revert patch 7.3.1269.
2013-09-05 12:49:52 +02:00
Bram Moolenaar 2a951b7156 Added tag v7-4-017 for changeset c47c8cd5fe5c 2013-09-05 12:06:33 +02:00
Bram Moolenaar 4a96bd0f33 updated for version 7.4.017
Problem:    ":help !!" does not find the "!!" tag in the help file. (Ben
	    Fritz)
Solution:   When reading the start of the tags file do parse lines that are
	    not header lines.
2013-09-05 12:06:33 +02:00
Bjorn Winckler c5c6bebf10 Merge branch 'vim' 2013-09-01 12:11:52 +02:00
Bram Moolenaar 3fd86dc03a Added tag v7-4-016 for changeset 8d5cd0ec3e71 2013-08-30 17:29:16 +02:00
Bram Moolenaar 4ff15ba7b6 updated for version 7.4.016
Problem:    MS-Windows: File name completion doesn't work properly with
	    Chinese characters. (Yue Wu)
Solution:   Add fname_casew(). (Ken Takata)
2013-08-30 17:29:16 +02:00
Bram Moolenaar abfb2163cb Added tag v7-4-015 for changeset a7478f9f2551 2013-08-30 17:11:33 +02:00
Bram Moolenaar aa8c48fe55 updated for version 7.4.015
Problem:    MS-Windows: Detecting node type does not work for multi-byte
	    characters.
Solution:   Use wide character function when needed. (Ken Takata)
2013-08-30 17:11:33 +02:00
Bram Moolenaar a573223877 Added tag v7-4-014 for changeset 9801d06e7b4c 2013-08-30 17:07:02 +02:00
Bram Moolenaar c643a48c39 updated for version 7.4.014
Problem:    MS-Windows: check for writing to device does not work.
Solution:   Fix #ifdefs. (Ken Takata)
2013-08-30 17:07:01 +02:00
Bram Moolenaar 5dcb84635f Added tag v7-4-013 for changeset 07737d3aa817 2013-08-30 16:51:19 +02:00
Bram Moolenaar be17bc2cc2 updated for version 7.4.013
Problem:    File name buffer too small for utf-8.
Solution:   Use character count instead of byte count. (Ken Takata)
2013-08-30 16:51:18 +02:00
Bram Moolenaar d7d89c9cad Added tag v7-4-012 for changeset 8e28c23e482c 2013-08-30 16:44:19 +02:00
Bram Moolenaar 554e2eab32 updated for version 7.4.012
Problem:    MS-Windows: resolving shortcut does not work properly with
	    multi-byte characters.
Solution:   Use wide system functions. (Ken Takata)
2013-08-30 16:44:19 +02:00
Bram Moolenaar 9eb60f358e Added tag v7-4-011 for changeset 54e66395831c 2013-08-30 16:35:45 +02:00
Bram Moolenaar cabbc20d87 updated for version 7.4.011
Problem:    Cannot find out if "acl" and "xpm" features are supported.
Solution:   Add "acl" and "xpm" to the list of features. (Ken Takata)
2013-08-30 16:35:44 +02:00
Bram Moolenaar 581b7aaaf9 Added tag v7-4-010 for changeset bb358cc41d92 2013-08-30 16:00:09 +02:00
Bram Moolenaar 35a70f5453 updated for version 7.4.010
Problem:    Crash with invalid argument to mkdir().
Solution:   Check for empty string. (lcd47)
2013-08-30 16:00:08 +02:00
Bram Moolenaar 3283d2bbe4 Added tag v7-4-009 for changeset 8b5d80861c5e 2013-08-25 17:46:08 +02:00
Bram Moolenaar cbeea0f01b updated for version 7.4.009
Problem:    When a file was not decrypted (yet), writing it may destroy the
	    contents.
Solution:   Mark the file as readonly until decryption was done. (Christian
	    Brabandt)
2013-08-25 17:46:08 +02:00
Bram Moolenaar 335193bd5a Added tag v7-4-008 for changeset b04bdb2c5fce 2013-08-25 17:01:42 +02:00
Bram Moolenaar 0d8dfc45e3 updated for version 7.4.008
Problem:    New regexp engine can't be interrupted.
Solution:   Check for CTRL-C pressed. (Yasuhiro Matsumoto)
2013-08-25 17:01:42 +02:00
Bjorn Winckler 6e441ac7a6 Merge branch 'vim' 2013-08-23 14:43:18 +02:00
Bram Moolenaar 320b379bb2 Added tag v7-4-007 for changeset 4fe1dfc7014e 2013-08-22 14:14:27 +02:00
Bram Moolenaar 56f7bc13ff updated for version 7.4.007
Problem:    Creating a preview window on startup leaves the screen layout in a
	    messed up state. (Marius Gedminas)
Solution:   Don't change firstwin. (Christian Brabandt)
2013-08-22 14:14:27 +02:00
Bram Moolenaar d2935a0ed5 Added tag v7-4-006 for changeset 2374a05efe20 2013-08-22 12:06:56 +02:00
Bram Moolenaar 967d2256bc updated for version 7.4.006
Problem:    mkdir("foo/bar/", "p") gives an error message. (David Barnett)
Solution:   Remove the trailing slash. (lcd)
2013-08-22 12:06:55 +02:00
Bram Moolenaar b062f605aa Added tag v7-4-005 for changeset 3640cf4c0d4b 2013-08-14 17:45:29 +02:00
Bram Moolenaar bb1064ee26 updated for version 7.4.005
Problem:    Using "vaB" while 'virtualedit' is set selects the wrong area.
	    (Dimitar Dimitrov)
Solution:   Reset coladd when finding a match.
2013-08-14 17:45:29 +02:00
Bram Moolenaar de6127d9b4 Added tag v7-4-004 for changeset f6247eaf4e1d 2013-08-14 17:11:20 +02:00
Bram Moolenaar aedeb427ba updated for version 7.4.004
Problem:    When closing a window fails ":bwipe" may hang.
Solution:   Let win_close() return FAIL and break out of the loop.
2013-08-14 17:11:20 +02:00
Bram Moolenaar 00534f3d3f Added tag v7-4-003 for changeset 560a6a232950 2013-08-14 14:18:41 +02:00
Bram Moolenaar d14db7f619 updated for version 7.4.003
Problem:    Memory access error in Ruby syntax highlighting. (Christopher Chow)
Solution:   Refresh stale pointer. (James McCoy)
2013-08-14 14:18:40 +02:00
Bram Moolenaar c49e96b843 Added tag v7-4-002 for changeset e29f11399cce 2013-08-14 13:34:25 +02:00
Bram Moolenaar 308f3c53c5 updated for version 7.4.002
Problem:    Pattern with two alternative look-behind matches does not match.
	    (Amadeus Demarzi)
Solution:   When comparing PIMs also compare their state ID to see if they are
	    different.
2013-08-14 13:34:25 +02:00
Bram Moolenaar d3e0994de9 Added tag v7-4-001 for changeset 3e9107b86b68 2013-08-14 12:06:49 +02:00
Bram Moolenaar 960c71130d updated for version 7.4.001
Problem:    Character classes such as [a-z] to not react to 'ignorecase'.
	    Breaks man page highlighting. (Mario Grgic)
Solution:   Add separate items for classes that react to 'ignorecase'.  Clean
	    up logic handling character classes.  Add more tests.
2013-08-14 12:06:49 +02:00
Bjorn Winckler 82d0ade18e Snapshot 70 - Vim 7.4 2013-08-10 16:09:20 +02:00
Bjorn Winckler cdefab4132 Bump help file version 2013-08-10 16:00:02 +02:00
Bjorn Winckler 5d200bad14 Merge branch 'vim'
Conflicts:
	src/auto/configure
2013-08-10 15:58:51 +02:00
Bram Moolenaar 4fa00837ec Added tag v7-4 for changeset 359743c1f59a 2013-08-10 15:00:24 +02:00
Bram Moolenaar 2c3a8e8add release version 7.4 2013-08-10 15:00:24 +02:00
Bram Moolenaar 2ca1e783ed Added tag v7-4b-022 for changeset d5d6b78cff09 2013-08-10 12:45:09 +02:00
Bram Moolenaar 6e74b81a93 updated for version 7.4b.022
Problem:    Not waiting for a character when the tick count overflows.
Solution:   Subtract the unsigned numbers and cast to int. (Ken Takata)
2013-08-10 12:45:09 +02:00
Bram Moolenaar ff631f9134 Added tag v7-4b-021 for changeset 059c8a4b103f 2013-08-09 20:38:26 +02:00
Bram Moolenaar 1a5b043673 updated for version 7.4b.021
Problem:    Pressing "u" after an external command results in multiple
	    press-enter messages. (glts)
Solution:   Don't call hit_return_msg() when we have K_IGNORE. (Christian
	    Brabandt)
2013-08-09 20:38:26 +02:00
Bram Moolenaar 7d9bed94a5 Added tag v7-4b-020 for changeset 46cf49cc9289 2013-08-09 19:48:40 +02:00
Bram Moolenaar bebd20b64e updated for version 7.4b.020
Problem:    "g~ap" changes first character of next paragraph. (Manuel Ortega)
Solution:   Avoid subtracting (0 - 1) from todo.  (Mike Williams)
2013-08-09 19:48:40 +02:00
Bram Moolenaar df4a817e85 Added tag v7-4b-019 for changeset 74a211a0d3a3 2013-08-07 21:13:23 +02:00
Bram Moolenaar fb7c0a9a7c updated for version 7.4b.019
Problem:    Tabline is not updated properly when closing a tab on Win32.
Solution:   Only reduce flickering when adding a tab. (Ken Takata)
2013-08-07 21:13:23 +02:00
Bram Moolenaar 8ef73e8ed9 Added tag v7-4b-018 for changeset 7ed1ec814daf 2013-08-07 15:27:11 +02:00
Bram Moolenaar 52eeb74826 updated for version 7.4b.018
Problem:    Win32: Dialog can still be too big.
Solution:   Move the check for height further down. (Andrei Olsen)
2013-08-07 15:27:11 +02:00
Bram Moolenaar aa9918ac28 Added tag v7-4b-017 for changeset 8c42772f0543 2013-08-07 15:24:41 +02:00
Bram Moolenaar bb4164736c updated for version 7.4b.017
Problem:    ":he \^x" gives a strange error message. (glts)
Solution:   Do not translate \^x to \_CTRL-x.
2013-08-07 15:24:41 +02:00
Bram Moolenaar 3bc0049dc7 Added tag v7-4b-016 for changeset ba37e955913e 2013-08-07 15:22:23 +02:00
Bram Moolenaar 3e1dbac74d updated for version 7.4b.016
Problem:    Ruby detection fails on Fedora 19.
Solution:   Use one way to get the Ruby version. (Michael Henry)
2013-08-07 15:22:23 +02:00
Bram Moolenaar edf65f5e87 Added tag v7-4b-015 for changeset d96f16667cc4 2013-08-05 22:02:20 +02:00
Bram Moolenaar 2b05ed198d updated for version 7.4b.015
Problem:    Can't compile without the 'acd' feature.
Solution:   Add #ifdefs. (Kazunobu Kuriyama)
2013-08-05 22:02:20 +02:00
Bram Moolenaar d2d246e2bb Update runtime files. 2013-08-03 18:35:36 +02:00
Bjorn Winckler 864d43f798 Bump CFBundleShortVersionString 2013-08-03 17:43:37 +02:00
Bram Moolenaar e3305109b8 Added tag v7-4b-014 for changeset 3ddec3d25bd1 2013-08-03 17:31:29 +02:00
Bram Moolenaar 25324eb475 updated for version 7.4b.014
Problem:    Stupid mistake.
Solution:   Changle "len" to "i".
2013-08-03 17:31:28 +02:00
Bram Moolenaar 9ee941fc99 Added tag v7-4b-013 for changeset 1ed6fd19c360 2013-08-03 17:21:26 +02:00
Bram Moolenaar ccbbaf6ea1 updated for version 7.4b.013
Problem:    Install dir for JP man pages is wrong.
Solution:   Remove ".UTF-8" from the directory name. (Ken Takata)
2013-08-03 17:21:26 +02:00
Bram Moolenaar 6279534165 Added tag v7-4b-012 for changeset 25f67b62afd8 2013-08-03 14:10:50 +02:00
Bram Moolenaar 5715f2509e updated for version 7.4b.012
Problem:    Output from a shell command is truncated at a NUL. (lcd 47)
Solution:   Change every NUL into an SOH.
2013-08-03 14:10:50 +02:00
Bram Moolenaar ee969eb31b Added tag v7-4b-011 for changeset 7d1f89b27103 2013-08-03 13:41:16 +02:00
Bram Moolenaar 5032724487 updated for version 7.4b.011
Problem:    ":he \%(\)" does not work. (ZyX)
Solution:   Add an exception to the list.
2013-08-03 13:41:15 +02:00
Bram Moolenaar 0c999186b4 Added tag v7-4b-010 for changeset 585b623a1aa3 2013-08-02 20:05:33 +02:00
Bram Moolenaar f447a82aba updated for version 7.4b.010
Problem:    Win32: Tcl library load does not use standard mechanism.
Solution:   Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata)
2013-08-02 20:05:32 +02:00
Bram Moolenaar 6c35f58479 Added tag v7-4b-009 for changeset cd971e951b06 2013-08-02 17:22:23 +02:00
Bram Moolenaar b55a951a8a updated for version 7.4b.009
Problem:    When setting the Visual area manually and 'selection' is
	    exclusive, a yank includes one character too much. (Ingo Karkat)
Solution:   Default the Visual operation to "v". (Christian Brabandt)
2013-08-02 17:22:23 +02:00
Bram Moolenaar aad33fe336 Added tag v7-4b-008 for changeset 3059c799fcd9 2013-08-02 17:08:13 +02:00
Bram Moolenaar 5d96270ba8 updated for version 7.4b.008
Problem:    'autochdir' causes setbufvar() to change the current directory.
	    (Ben Fritz)
Solution:   When disabling autocommands also reset 'acd' temporarily.
	    (Christian Brabandt)
2013-08-02 17:08:13 +02:00
Bram Moolenaar 1150d04e90 Added tag v7-4b-007 for changeset b882d4b14e00 2013-08-02 16:10:33 +02:00
Bram Moolenaar b06e171453 updated for version 7.4b.007
Problem:    On 32 bit MS-Windows :perldo does not work.
Solution:   Make sure time_t uses 32 bits. (Ken Takata)
2013-08-02 16:10:32 +02:00
Bram Moolenaar 9ff3afcdb8 Added tag v7-4b-006 for changeset 6b7ab6a4f31a 2013-08-02 15:22:39 +02:00
Bram Moolenaar e410838923 updated for version 7.4b.006
Problem:    Using \{n,m} in an autocommand pattern no longer works.
	    Specifically, mutt temp files are not recognized. (Gary Johnson)
Solution:   Make \\\{n,m\} work.
2013-08-02 15:22:39 +02:00
Bram Moolenaar f8fc53a289 Added tag v7-4b-005 for changeset e63e4b4be923 2013-08-02 14:15:13 +02:00
Bram Moolenaar daec6c0cd5 updated for version 7.4b.005
Problem:    Finding %s in shellpipe and shellredir does not ignore %%s.
Solution:   Skip over %%. (lcd 47)
2013-08-02 14:15:13 +02:00
Bram Moolenaar 57f392c4ee Added tag v7-4b-004 for changeset 3c6e2b89875f 2013-08-01 18:38:26 +02:00
Bram Moolenaar 8f7a622d69 updated for version 7.4b.004
Problem:    Regexp crash on pattern "@\%[\w\-]*". (Axel Kielhorn)
Solution:   Add \%(\) around \%[] internally.
2013-08-01 18:38:26 +02:00
Bram Moolenaar 1d29171187 Added tag v7-4b-003 for changeset ea876fe91483 2013-08-01 16:21:34 +02:00
Bram Moolenaar f2f2d2619a updated for version 7.4b.003
Problem:    Regexp code is not nicely aligned.
Solution:   Adjust white space. (Ken Takata)
2013-08-01 16:21:34 +02:00
Bram Moolenaar 02d8422437 Added tag v7-4b-002 for changeset 2e63b6c763f7 2013-08-01 15:45:52 +02:00
Bram Moolenaar 1f12ab2fb2 updated for version 7.4b.002
Problem:    Crash searching for \%(\%(\|\d\|-\|\.\)*\|\*\). (Marcin
	    Szamotulski)  Also for \(\)*.
Solution:   Do add a state for opening parenthesis, so that we can check if it
	    was added before at the same position.
2013-08-01 15:45:52 +02:00
Bram Moolenaar 54b031881a Added tag v7-4b-001 for changeset 47a09a572ea6 2013-08-01 13:20:42 +02:00
Bram Moolenaar 1506b99280 updated for version 7.4b.001
Problem:    Win32: dialog may extend off-screen.
Solution:   Reduce the size, use correct borders. (Andrei Olsen)
2013-08-01 13:20:42 +02:00
Bjorn Winckler 9f71585be0 Snapshot 69 2013-07-28 21:41:29 +02:00
Bjorn Winckler 9f8bec3789 Bump help file version number 2013-07-28 21:38:21 +02:00
Bjorn Winckler 9fc84fb9b0 Merge branch 'vim'
Conflicts:
	src/auto/configure
2013-07-28 21:34:18 +02:00
Bram Moolenaar 1619625a7d Added tag v7-4b-000 for changeset 09c88160095d 2013-07-28 18:29:29 +02:00
Bram Moolenaar 180f145c71 Update files for the 7.4b BETA release. 2013-07-28 18:29:08 +02:00
Bram Moolenaar d33bb9e7a8 Added tag v7-4a-047 for changeset 8c6615a30951 2013-07-28 16:03:06 +02:00
Bram Moolenaar 454146e5b8 updated for version 7.4a.047
Problem:    Some comments are not so nice.
Solution:   Change the comments.
2013-07-28 16:03:06 +02:00
Bram Moolenaar f36af01f77 Updated runtime files. 2013-07-28 16:02:18 +02:00
Bram Moolenaar 9c68c7333e Added tag v7-4a-046 for changeset f0361e297d9c 2013-07-28 15:16:19 +02:00
Bram Moolenaar 0efd392a04 updated for version 7.4a.046
Problem:    Can't build without mbyte feature.
Solution:   Add #ifdefs.
2013-07-28 15:16:19 +02:00
Bram Moolenaar c8d506f009 Added tag v7-4a-045 for changeset da95a7f1d5a8 2013-07-28 13:32:15 +02:00
Bram Moolenaar dea2adb8bd updated for version 7.4a.045
Problem:    Configure does not always find the right library for Lua.  Missing
	    support for LuaJit.
Solution:   Improve the configure detection of Lua. (Hiroshi Shirosaki)
2013-07-28 13:32:15 +02:00
Bram Moolenaar de295a645a Updated runtime files. 2013-07-24 19:53:36 +02:00
Bram Moolenaar 663007ee3b Added tag v7-4a-044 for changeset 647596ab1ae2 2013-07-24 17:51:57 +02:00
Bram Moolenaar 59ae2f368c updated for version 7.4a.044
Problem:    Test 96 sometimes fails.
Solution:   Clear window from b_wininfo in win_free().  (Suggestion by
	    Yukihiro Nakadaira)
2013-07-24 17:51:57 +02:00
Bram Moolenaar ebd82de153 Added tag v7-4a-043 for changeset 6fa64615c8d3 2013-07-24 17:11:46 +02:00
Bram Moolenaar 1edb000083 updated for version 7.4a.043
Problem:    More ml_get errors when adding or deleting lines from Python.
	    (Vlad Irnov)
Solution:   Switch to a window with the buffer when possible.
2013-07-24 17:11:46 +02:00
Bram Moolenaar e4c8430903 Added tag v7-4a-042 for changeset 1899acc5aebd 2013-07-24 16:02:36 +02:00
Bram Moolenaar 9b719d912a updated for version 7.4a.042
Problem:    Crash when BufUnload autocommands close all buffers. (Andrew
	    Pimlott)
Solution:   Set curwin->w_buffer to curbuf to avoid NULL.
2013-07-24 16:02:36 +02:00
Bram Moolenaar 6ec177bf3e Added tag v7-4a-041 for changeset 74d2f3188cd0 2013-07-24 15:02:03 +02:00
Bram Moolenaar 09a14994f9 updated for version 7.4a.041
Problem:    When using ":new ++ff=unix" and "dos" is first in 'fileformats'
	    then 'ff' is set to "dos" instead of "unix". (Ingo Karkat)
Solution:   Create set_file_options() and invoke it from do_ecmd().
2013-07-24 15:02:03 +02:00
Bram Moolenaar eee7444a30 Added tag v7-4a-040 for changeset 1261caf9bc51 2013-07-24 13:49:23 +02:00
Bram Moolenaar 9e0afd40c2 updated for version 7.4a.040
Problem:    Win32: using uninitialized variable.
Solution:   (Yukihiro Nakadaira)
2013-07-24 13:49:22 +02:00
Bram Moolenaar 272bfe442b Added tag v7-4a-039 for changeset a08fa2919f2b 2013-07-21 18:59:24 +02:00
Bram Moolenaar c98e1569c8 updated for version 7.4a.039
Problem:    New regexp engine doesn't match pattern. (Ingo Karkat)
Solution:   When adding a state also check for different PIM if the list of
	    states has any state with a PIM.
2013-07-21 18:59:24 +02:00
Bram Moolenaar 86ac298bb6 Added tag v7-4a-038 for changeset 8f983df0299f 2013-07-21 17:53:58 +02:00
Bram Moolenaar a1f6a794ed updated for version 7.4a.038
Problem:    When using MSVC 2012 there are various issues, including GUI size
	    computations.
Solution:   Use SM_CXPADDEDBORDER. (Mike Williams)
2013-07-21 17:53:58 +02:00
Bram Moolenaar 860ed1b493 Added tag v7-4a-037 for changeset 91d478da863e 2013-07-21 17:46:43 +02:00
Bram Moolenaar 5ed1538ece updated for version 7.4a.037
Problem:    Win32: When mouse is hidden and in the toolbar, moving it won't
	    make it appear. (Sami Salonen)
Solution:   Add tabline_wndproc() and toolbar_wndproc(). (Ken Takata)
2013-07-21 17:46:43 +02:00
Bram Moolenaar 190033da61 Added tag v7-4a-036 for changeset 9982ec574beb 2013-07-21 17:06:00 +02:00
Bram Moolenaar cc8aa03b00 updated for version 7.4a.036
Problem:    "\p" in a regexp does not match double-width characters.
	    (Yukihiro Nakadaira)
Solution:   Don't count display cells, use vim_isprintc().
2013-07-21 17:06:00 +02:00
Bjorn Winckler 606fa884da Merge branch 'vim'
Conflicts:
	src/auto/configure
2013-07-18 15:25:27 +02:00
Bram Moolenaar 0b55479659 Updated runtime files. 2013-07-17 22:37:26 +02:00
Bram Moolenaar 753cc613ea Added tag v7-4a-035 for changeset 4ceacc1b0054 2013-07-17 22:35:39 +02:00
Bram Moolenaar c21fd43e5b updated for version 7.4a.035
Problem:    Fix in patch 7.4a.032 is not tested.
Solution:   Add test.
2013-07-17 22:35:39 +02:00
Bram Moolenaar 30a208aceb Added tag v7-4a-034 for changeset 947edb6335d1 2013-07-17 21:59:14 +02:00
Bram Moolenaar cd90767d62 updated for version 7.4a.034
Problem:    The tabline may flicker when opening a new tab after 7.3.759 on
	    Win32.
Solution:   Move call to TabCtrl_SetCurSel(). (Ken Takata)
2013-07-17 21:59:13 +02:00
Bram Moolenaar d08f0a40ba Added tag v7-4a-033 for changeset fa024ce48542 2013-07-17 21:40:31 +02:00
Bram Moolenaar a4e29f382d updated for version 7.4a.033
Problem:    Test 98 always passes.
Solution:   Include test98a.in in test98.in, execute the crucial command in
	    one line. (Yukihiro Nakadaira)
2013-07-17 21:40:31 +02:00
Bram Moolenaar bb97b61ce0 Added tag v7-4a-032 for changeset 2741b46e96bf 2013-07-17 21:10:51 +02:00
Bram Moolenaar 15ce067c04 updated for version 7.4a.032
Problem:    New regexp engine: Does not match shorter alternative. (Ingo
	    Karkat)
Solution:   Do not drop a new state when the PIM info is different.
2013-07-17 21:10:51 +02:00
Sidney San Martín fe5039c278 Don't double-encode URLs before parsing them
<https://code.google.com/p/macvim/issues/detail?id=316> wasn't a bug.

When you're constructing a URL, you *should* end up escaping URL-unsafe
characters twice: once for the `file:` URL and once for the `mvim:` URL.
Escaping it inside MacVim breaks legit URLs with escapes at the `mvim:` level.
2013-07-17 14:26:49 -04:00
Bram Moolenaar 6def751ef3 Added tag v7-4a-031 for changeset 839ebe7c1b2f 2013-07-17 19:22:13 +02:00
Bram Moolenaar 8d0b12fb67 updated for version 7.4a.031
Problem:    Compiler warnings. (Charles Campbell)
Solution:   Initialize variables even when not needed.
2013-07-17 19:22:13 +02:00
Bram Moolenaar 3bebe7e7d4 Added tag v7-4a-030 for changeset bc4fb0317465 2013-07-17 19:12:57 +02:00
Bram Moolenaar fb7ba5a7e3 updated for version 7.4a.030
Problem:    Missing find_win_for_buf(). (toothpik)
Solution:   Add missing changes.
2013-07-17 19:12:57 +02:00
Bram Moolenaar 7ef6893417 Added tag v7-4a-029 for changeset 2b58913e19a5 2013-07-17 18:58:11 +02:00
Bram Moolenaar ee01b9231f updated for version 7.4a.029
Problem:    Can't build with MzScheme on Ubuntu 13.04.
Solution:   Add configure check for the "ffi" library.
2013-07-17 18:58:11 +02:00
Bram Moolenaar d242b944a2 Added tag v7-4a-028 for changeset 7aca84c0cd37 2013-07-17 17:35:13 +02:00
Bram Moolenaar b07b81ed45 updated for version 7.4a.028
Problem:    Crash when spell checking in new buffer.
Solution:   Set the b_p_key field.  (Mike Williams)
2013-07-17 17:35:13 +02:00
Bram Moolenaar d78a2cb83c Added tag v7-4a-027 for changeset 8edba3805d78 2013-07-17 17:15:26 +02:00
Bram Moolenaar a289633bbe updated for version 7.4a.027
Problem:    When Python adds lines to another buffer the cursor position is
	    wrong, it might be below the last line causing ml_get errors.
	    (Vlad Irnov)
Solution:   Temporarily change the current window, so that marks are corrected
	    properly.
2013-07-17 17:15:25 +02:00
Bjorn Winckler 44cb070245 Merge branch 'vim'
Conflicts:
	src/auto/configure
2013-07-17 17:04:01 +02:00
Bram Moolenaar 4a049a2a14 Added tag v7-4a-026 for changeset b3ff17862b4c 2013-07-17 13:43:39 +02:00
Bram Moolenaar 19611df49a updated for version 7.4a.026
Problem:    ":diffoff" does not remove folds. (Ramel)
Solution:   Do not restore 'foldenable' when 'foldmethod' is "manual".
2013-07-17 13:43:39 +02:00
Bram Moolenaar 2d39fcc49b Added tag v7-4a-025 for changeset 1b89e3f916c5 2013-07-17 11:54:28 +02:00
Bram Moolenaar f6787ad94d updated for version 7.4a.025
Problem:    Get the press-Enter prompt even after using :redraw.
Solution:   Clear need_wait_return when executing :redraw.
2013-07-17 11:54:28 +02:00
Bram Moolenaar ac275c70b3 Added tag v7-4a-024 for changeset ba9a11fe2563 2013-07-14 15:06:50 +02:00
Bram Moolenaar e403d0a716 updated for version 7.4a.024
Problem:    X11 GUI: Checking icon height twice.
Solution:   Check height and width. (Dominique Pelle)
2013-07-14 15:06:50 +02:00
Bram Moolenaar a2816dc8af Added tag v7-4a-023 for changeset 45b2278e6f46 2013-07-14 13:41:56 +02:00
Bram Moolenaar 2c8377debe updated for version 7.4a.023
Problem:    Still another superfluous parenthesis. (ZyX)
Solution:   Remove it.
2013-07-14 13:41:56 +02:00
Bram Moolenaar a2a5d210d6 Added tag v7-4a-022 for changeset c28202427d71 2013-07-14 13:32:15 +02:00
Bram Moolenaar 3653752270 updated for version 7.4a.022
Problem:    Using "d2g$" does not delete the last character. (ZyX)
Solution:   Set the "inclusive" flag properly.
2013-07-14 13:32:15 +02:00
Bram Moolenaar 0e55bb560e Added tag v7-4a-021 for changeset fc6f4a653265 2013-07-14 13:02:12 +02:00
Bram Moolenaar 8e671dd8cb updated for version 7.4a.021
Problem:    Using feedkeys() doesn't always work.
Solution:   Omit feedkeys(). (Ken Takata)
2013-07-14 13:02:12 +02:00
Bram Moolenaar 69c9c7473f Added tag v7-4a-020 for changeset fa76be660fa9 2013-07-14 12:34:56 +02:00
Bram Moolenaar 90277ad2bf updated for version 7.4a.020
Problem:    Superfluous mb_ptr_adv().
Solution:   Remove the call. (Dominique Pelle)
2013-07-14 12:34:56 +02:00
Bram Moolenaar f627121df9 Added tag v7-4a-019 for changeset bea5eb942011 2013-07-14 12:21:57 +02:00
Bram Moolenaar cafaa582fa updated for version 7.4a.019
Problem:    Invalid closing parenthesis in test 62. Command truncated at
	    double quote.
Solution:   Remove the parenthesis. Change double quote to ''. (ZyX)
2013-07-14 12:21:57 +02:00
Bram Moolenaar c282182084 Added tag v7-4a-018 for changeset c6dd0c545e5c 2013-07-13 20:58:11 +02:00
Bram Moolenaar 4737c40120 updated for version 7.4a.018
Problem:    Compiler warning for code unreachable. (Charles Campbell)
Solution:   Use "while" instead of endless loop.  Change break to continue.
2013-07-13 20:58:11 +02:00
Bram Moolenaar 104c0a5768 Added tag v7-4a-017 for changeset 4cbff53717d4 2013-07-13 16:34:32 +02:00
Bram Moolenaar c8b6bc7fc0 updated for version 7.4a.017
Problem:    When 'foldmethod' is "indent", using ">>" on a line just above a
	    fold makes the cursor line folded. (Evan Laforge)
Solution:   Call foldOpenCursor(). (Christian Brabandt)
2013-07-13 16:34:32 +02:00
Bram Moolenaar 119887b54b Added tag v7-4a-016 for changeset 4104bed69ea5 2013-07-13 15:39:34 +02:00
Bram Moolenaar 5010e44e1e updated for version 7.4a.016
Problem:    Features enabled in Makefile.
Solution:   Undo accidental changes.
2013-07-13 15:39:33 +02:00
Bram Moolenaar 089755efa9 Added tag v7-4a-015 for changeset 7a1b782ec64a 2013-07-13 15:33:20 +02:00
Bram Moolenaar 138c278c86 updated for version 7.4a.015
Problem:    No Japanese man pages.
Solution:   Add Japanese translations of man pages. (Ken Takata, Yukihiro
	    Nakadaira, et al.)
2013-07-13 15:33:20 +02:00
Bram Moolenaar 6bb7102377 Added tag v7-4a-014 for changeset 08eb57382186 2013-07-13 14:08:17 +02:00
Bram Moolenaar b2f5c83b24 updated for version 7.4a.014
Problem:    Test 86 and 89 have a problem with using a shadow dir.
Solution:   Adjust for the different directory structure. (James McCoy)
2013-07-13 14:08:16 +02:00
Bram Moolenaar 9a978ee6ab Added tag v7-4a-013 for changeset 42d592dbbec3 2013-07-13 12:36:56 +02:00
Bram Moolenaar 536b8d0852 updated for version 7.4a.013
Problem:    Setting/resetting 'lbr' in the main help file changes alignment
	    after a Tab. (Dimitar Dimitrov)
Solution:   Also use the code for conceal mode where n_extra is computed for
	    'lbr'.
2013-07-13 12:36:55 +02:00
Bram Moolenaar 5f35308831 Added tag v7-4a-012 for changeset fca6ba0d2d66 2013-07-12 20:16:58 +02:00
Bram Moolenaar 82e3808bd7 updated for version 7.4a.012
Problem:    "make test" fails when using a shadow directory.
Solution:   Create links for files in src/po. (James McCoy)
2013-07-12 20:16:58 +02:00
Bram Moolenaar b081abb659 Added tag v7-4a-011 for changeset ce587b26b8d6 2013-07-12 20:07:24 +02:00
Bram Moolenaar d3b245c3ce updated for version 7.4a.011
Problem:    Configure check for Python 3 config name isn't right.
Solution:   Always include vi_cv_var_python3_version. (Tim Harder)
2013-07-12 20:07:24 +02:00
Bjorn Winckler af9e2355e3 Snapshot 68 2013-07-12 09:43:09 +02:00
Bjorn Winckler accd5ef150 Fix drawing of wide glyphs in Core Text renderer 2013-07-10 10:08:07 +02:00
Bram Moolenaar 23b5afa15a Added tag v7-4a-010 for changeset a4e08386a6aa 2013-07-09 21:57:52 +02:00
Bram Moolenaar 7141036af7 updated for version 7.4a.010
Problem:    Test 86 and 97 fail when building with Python or Python 3 and
	    using a static library.
Solution:   Add configure check to add -fPIE compiler flag.
2013-07-09 21:57:52 +02:00
Bjorn Winckler 4537063e73 Merge branch 'vim' 2013-07-09 19:48:32 +02:00
Bjorn Winckler c708d9448f Update copyright year 2013-07-09 19:25:35 +02:00
Bram Moolenaar 356a698cca Added tag v7-4a-009 for changeset 467efeee8f9e 2013-07-09 17:42:46 +02:00
Bram Moolenaar b45215d062 updated for version 7.4a.009
Problem:    Compiler warnings for function prototypes.
Solution:   Add "void".  Move list_features() prototype. (Ken Takata)
2013-07-09 17:42:46 +02:00
Bram Moolenaar 1656d69e02 Added tag v7-4a-008 for changeset b3bd43ef012d 2013-07-09 17:30:55 +02:00
Bram Moolenaar efe0ed8533 updated for version 7.4a.008
Problem:    Python 3 doesn't handle multibyte characters prooperly when
	    'encoding' is not utf-8.
Solution:   Use PyUnicode_Decode() instead of PyUnicode_FromString(). (Ken
	    Takata)
2013-07-09 17:30:55 +02:00
Bram Moolenaar 8f9583c178 Added tag v7-4a-007 for changeset c624928fbc49 2013-07-09 17:08:29 +02:00
Bram Moolenaar 99355e8dd8 updated for version 7.4a.007
Problem:    After "g$" with 'virtualedit' set, "k" moves to a different
	    column.  (Dimitar Dimitrov)
Solution:   Set w_curswant. (Christian Brabandt)
2013-07-09 17:08:29 +02:00
Bram Moolenaar b7efedaf35 Updated runtime files. Fix NL translations. 2013-07-09 15:44:17 +02:00
Bram Moolenaar 921d69657b Added tag v7-4a-006 for changeset 6b6e1786c7df 2013-07-09 14:58:10 +02:00
Bram Moolenaar 982aa4b3d4 updated for version 7.4a.006
Problem:    Failure in po file check goes unnoticed.
Solution:   Fail "make test" if the po file check fails.
2013-07-09 14:58:10 +02:00
Bram Moolenaar 0842e287b1 Added tag v7-4a-005 for changeset 7a6ce0c426fe 2013-07-09 13:44:59 +02:00
Bram Moolenaar 0953e830b2 updated for version 7.4a.005
Problem:    Scroll binding causes unexpected scroll.
Solution:   Store the topline after updating scroll binding.  Add a test.
	    (Lech Lorens)
2013-07-09 13:44:59 +02:00
Bram Moolenaar b830190ddb Added tag v7-4a-004 for changeset f72d49c406c4 2013-07-09 13:15:46 +02:00
Bram Moolenaar f930e6fa4b updated for version 7.4a.004
Problem:    MSVC 2012 Update 3 is not recognized.
Solution:   Add the version number. (Raymond Ko)
2013-07-09 13:15:46 +02:00
Bram Moolenaar 4250f6ca78 Added tag v7-4a-003 for changeset b5abda4e7c4b 2013-07-09 12:54:21 +02:00
Bram Moolenaar 11377cd3aa updated for version 7.4a.003
Problem:    Copyright year is oudated.
Solution:   Only use the first year.
2013-07-09 12:54:21 +02:00
Bram Moolenaar 0cf5e385dc Added tag v7-4a-002 for changeset d0288faf3086 2013-07-07 16:15:35 +02:00
Bram Moolenaar 515c68ee4c updated for version 7.4a.002
Problem:    Valgrind errors in test 89. (Simon Ruderich)
Solution:   Allocate one more byte. (Dominique Pelle)
2013-07-07 16:15:35 +02:00
Bjorn Winckler 8c917ee91f Snapshot 67 2013-07-06 19:25:59 +02:00
Bjorn Winckler 9c872ac8ad Bump help file version count 2013-07-06 19:18:18 +02:00
Bjorn Winckler 7aacbcd19f Merge branch 'vim' 2013-07-06 19:02:27 +02:00
Bram Moolenaar 2ffd2ee3c9 Fix duplicate patch number 1. 2013-07-06 18:08:03 +02:00
Bram Moolenaar 993202c967 Added tag v7-4a-001 for changeset 0ddba00c204d 2013-07-06 16:23:02 +02:00
Bram Moolenaar 10caa4a6aa updated for version 7.4a.001
Problem:    Script to update syntax menu is oudated.
Solution:   Add the missing items.
(only changing the version, file was already updated)
2013-07-06 16:23:02 +02:00
Bram Moolenaar bad8d7bb93 Added tag v7-4a for changeset 6ec6b7ff2d43 2013-07-06 15:44:40 +02:00
Bram Moolenaar 613e9b2b78 Vim 7.4a BETA release. 2013-07-06 15:44:11 +02:00
Bram Moolenaar 51ce220da1 Update runtime files. 2013-07-06 13:58:22 +02:00
Bram Moolenaar 224ebe8ec0 Added tag v7-3-1314 for changeset 29e57603bf6f 2013-07-06 13:54:34 +02:00
Bram Moolenaar bceebe0f3f updated for version 7.3.1314
Problem:    Test 87 fails with Python 3.3.
Solution:   Filter the error messages. (Taro Muraoka)
2013-07-06 13:54:33 +02:00
Bram Moolenaar f54f0a274d Added tag v7-3-1313 for changeset afbc9dd67cea 2013-07-06 13:35:08 +02:00
Bram Moolenaar 2a71f5282f updated for version 7.3.1313
Problem:    :py and :py3 don't work when compiled with Cygwin or MingW with 64
	    bit.
Solution:   Add -DMS_WIN64 to the build command. (Ken Takata)
2013-07-06 13:35:08 +02:00
Bram Moolenaar d6a2e8c5e7 Added tag v7-3-1312 for changeset 80bab8b1a30d 2013-07-06 13:02:30 +02:00
Bram Moolenaar 6dbc2ddb8d updated for version 7.3.1312
Problem:    Not giving correct error messages for SystemExit().
Solution:   Move E858 into an else. (Ken Takata)
2013-07-06 13:02:30 +02:00
Bram Moolenaar 9592d73105 A few updated runtime files. 2013-07-05 21:01:22 +02:00
Bram Moolenaar 2b2c17e863 Added tag v7-3-1311 for changeset 28e6f5f88968 2013-07-05 20:09:16 +02:00
Bram Moolenaar e09b07e4d1 updated for version 7.3.1311
Problem:    Compiler warnings on Cygwin.
Solution:   Add type casts. Add windows include files. (Ken Takata)
2013-07-05 20:09:16 +02:00
Bram Moolenaar 041d676147 Added tag v7-3-1310 for changeset b49784c49d53 2013-07-05 20:01:32 +02:00
Bram Moolenaar 040483b5e1 updated for version 7.3.1310
Problem:    Typos in nsis script. Can use better compression.
Solution:   Fix typos.  Use lzma compression. (Ken Takata)
2013-07-05 20:01:32 +02:00
Bram Moolenaar 9832557864 Added tag v7-3-1309 for changeset a68629544891 2013-07-05 18:29:48 +02:00
Bram Moolenaar 2b7e9b415b updated for version 7.3.1309
Problem:    When a script defines a function the flag to wait for the user to
	    hit enter is reset.
Solution:   Restore the flag. (Yasuhiro Matsumoto)  Except when the user was
	    typing the function.
2013-07-05 18:29:48 +02:00
Bram Moolenaar 286f4ea8eb Added tag v7-3-1308 for changeset 71e066e10a47 2013-07-04 22:50:40 +02:00
Bram Moolenaar 7b5e27df23 updated for version 7.3.1308
Problem:    Typos in MS-Windows build settings and README.
Solution:   Minor changes to MS-Windows files.
2013-07-04 22:50:40 +02:00
Bram Moolenaar 37c59fd265 Added tag v7-3-1307 for changeset 3dafc80e781b 2013-07-04 22:35:02 +02:00
Bram Moolenaar 6f81f10282 updated for version 7.3.1307
Problem:    MS-Windows build instructions are outdated.
Solution:   Adjust for building on Windows 7.  Drop Windows 95/98/ME support.
2013-07-04 22:35:01 +02:00
Bram Moolenaar 6f80b40999 Added tag v7-3-1306 for changeset 71859e71b1f9 2013-07-04 22:31:03 +02:00
Bram Moolenaar 235e46361a updated for version 7.3.1306
Problem:    When redrawing the screen during startup the intro message may be
	    cleared.
Solution:   Redisplay the intro message when appropriate.
2013-07-04 22:31:03 +02:00
Bram Moolenaar fbdc3f81a8 Added tag v7-3-1305 for changeset 6f24376028af 2013-07-04 21:19:33 +02:00
Bram Moolenaar 39c900104d updated for version 7.3.1305
Problem:    Warnings from 64 bit compiler.
Solution:   Add type casts.
2013-07-04 21:19:33 +02:00
Bram Moolenaar d37321bd71 Added tag v7-3-1304 for changeset 46d6318d5b96 2013-07-04 20:50:46 +02:00
Bram Moolenaar 7be46133e9 updated for version 7.3.1304
Problem:    Test 89 still fails on MS-Windows.
Solution:   Set 'shellslash'. (Taro Muraoka)
2013-07-04 20:50:46 +02:00
Bram Moolenaar b72bb72d2a Added tag v7-3-1303 for changeset 6e611380b4cf 2013-07-04 20:25:41 +02:00
Bram Moolenaar 99ac251e8f updated for version 7.3.1303
Problem:    Undo is synced whenever CTRL-R = is called, breaking some plugins.
Solution:   Only break undo when calling setline() or append().
2013-07-04 20:25:41 +02:00
Bram Moolenaar a6665fdfec Added tag v7-3-1302 for changeset 5569d11ef585 2013-07-03 22:28:36 +02:00
Bram Moolenaar defd4cf362 updated for version 7.3.1302
Problem:    Test 17 fails on MS-Windows.  Includes line break in file name
	    everywhere.
Solution:   Fix 'fileformat'. Omit CR-LF from a line read from an included
	    file.
2013-07-03 22:28:36 +02:00
Bram Moolenaar cad9a83cfc Added tag v7-3-1301 for changeset 6cabac58f26f 2013-07-03 21:19:07 +02:00
Bram Moolenaar 824bf4094c updated for version 7.3.1301
Problem:    Some tests fail on MS-Windows.
Solution:   Fix path separators in test 89 and 96.  Omit test 97, escaping
	    works differently.  Make findfile() work on MS-Windows.
2013-07-03 21:19:07 +02:00
Bram Moolenaar 6d0f5a83ad Added tag v7-3-1300 for changeset 56bc3698f8c6 2013-07-03 19:52:53 +02:00
Bram Moolenaar 0887b28c50 updated for version 7.3.1300
Problem:    Mac: tiny and small build fails.
Solution:   Don't include os_macosx.m in tiny build. Include mouse support in
	    small build. (Kazunobu Kuriyama)
2013-07-03 19:52:53 +02:00
Bjorn Winckler e11dd5abe7 Merge branch 'vim' 2013-07-03 19:00:37 +02:00
Bram Moolenaar 3c2fb12c40 Added tag v7-3-1299 for changeset f063be86b632 2013-07-03 18:49:17 +02:00
Bram Moolenaar 0455ba8200 updated for version 7.3.1299
Problem:    Errors when doing "make proto".  Didn't do "make depend" for a
	    while.
Solution:   Add #ifdefs.  Update dependencies.  Update proto files.
2013-07-03 18:49:17 +02:00
Bram Moolenaar 72ff631ee5 Added tag v7-3-1298 for changeset dafd77a15d44 2013-07-03 17:51:17 +02:00
Bram Moolenaar 79ebd506e6 updated for version 7.3.1298
Problem:    Crash.
Solution:   Use STRCPY() instead of STRCAT() and allocate one more byte.
2013-07-03 17:51:17 +02:00
Bram Moolenaar a1e0a8e87e Added tag v7-3-1297 for changeset cb0a5c9c0f9b 2013-07-03 17:14:00 +02:00
Bram Moolenaar 8fea2201aa updated for version 7.3.1297
Problem:    findfile() directory matching does not work when a star follows
	    text. (Markus Braun)
Solution:   Make a wildcard work properly. (Christian Brabandt)
2013-07-03 17:14:00 +02:00
Bram Moolenaar d834eb536c Added tag v7-3-1296 for changeset c3a82208e143 2013-07-03 16:58:44 +02:00
Bram Moolenaar 7ebba3d4ce updated for version 7.3.1296
Problem:    Only MS-Windows limits the GUI window size to what fits on the
	    monitor.
Solution:   Limit the size for all systems. (Daniel Harding)
2013-07-03 16:58:44 +02:00
Bram Moolenaar 1c56689f6f Added tag v7-3-1295 for changeset 93cccad6a26b 2013-07-03 16:53:04 +02:00
Bram Moolenaar f1693041ff updated for version 7.3.1295
Problem:    glob() and globpath() do not handle escaped special characters
	    properly.
Solution:   Handle escaped characters differently. (Adnan Zafar)
2013-07-03 16:53:03 +02:00
Bram Moolenaar 41f2189bd2 Added tag v7-3-1294 for changeset 11d0c6df1d7b 2013-07-03 15:47:03 +02:00
Bram Moolenaar 47aee4e854 updated for version 7.3.1294
Problem:    ":diffoff" resets options.
Solution:   Save and restore option values. (Christian Brabandt)
2013-07-03 15:47:03 +02:00
Bram Moolenaar b10277d920 Added tag v7-3-1293 for changeset 18b43970fb7a 2013-07-03 14:19:54 +02:00
Bram Moolenaar 2f26176a4d updated for version 7.3.1293
Problem:    Put in empty buffer cannot be undone.
Solution:   Save one more line for undo. (Ozaki)
2013-07-03 14:19:54 +02:00
Bram Moolenaar 4cda9e6707 Added tag v7-3-1292 for changeset cad8d29b0bc0 2013-07-03 14:01:56 +02:00
Bram Moolenaar b27bd6d7d1 updated for version 7.3.1292
Problem:    Possibly using invalid pointer when searcing for window. (Raichoo)
Solution:   Use "firstwin" instead of "tp_firstwin" for current tab.
2013-07-03 14:01:56 +02:00
Bram Moolenaar 0dd29a1f31 Added tag v7-3-1291 for changeset a6ddcab6a240 2013-07-03 13:29:58 +02:00
Bram Moolenaar 2f095028e2 updated for version 7.3.1291
Problem:    Compiler warnings for uninitialized variables. (Tony Mechelynck)
Solution:   Initialize the variables.
2013-07-03 13:29:58 +02:00
Bram Moolenaar 949100da24 Added tag v7-3-1290 for changeset 08d4c11cdaed 2013-07-03 13:16:23 +02:00
Bram Moolenaar 603a10bf4e updated for version 7.3.1290
Problem:    CTRL-R = in Insert mode changes the start of the insert position.
	    (Ingo Karkat)
Solution:   Only break undo, don't start a new insert.
2013-07-03 13:16:23 +02:00
Bram Moolenaar 7f91e12005 Added tag v7-3-1289 for changeset 1ed945570d47 2013-07-03 13:04:28 +02:00
Bram Moolenaar 01a2136195 updated for version 7.3.1289
Problem:    Get GLIB warning when removing a menu item.
Solution:   Reference menu-id and also call gtk_container_remove().  (Ivan
	    Krasilnikov)
2013-07-03 13:04:27 +02:00
Bram Moolenaar e7246d8298 Added tag v7-3-1288 for changeset 8b7baf39a345 2013-07-03 12:45:31 +02:00
Bram Moolenaar 15cd15a31e updated for version 7.3.1288
Problem:    The first ":echo 'hello'" command output doesn't show.  Mapping
	    for <S-F3> gets triggered during startup.
Solution:   Add debugging code for the termresponse.  When receiving the "Co"
	    entry and when setting 'ambiwidth' redraw right away if possible.
	    Add redraw_asap().  Don't set 'ambiwidth' if it already had the
	    right value.  Do the 'ambiwidth' check in the second row to avoid
	    confusion with <S-F3>.
2013-07-03 12:45:31 +02:00
Bram Moolenaar 05c1e99eb7 Added tag v7-3-1287 for changeset 34c629c3b4ba 2013-07-01 22:03:04 +02:00
Bram Moolenaar 75b6a89dc8 updated for version 7.3.1287
Problem:    Python SystemExit exception is not handled properly.
Solution:   Catch the exception and give an error. (Yasuhiro Matsumoto, Ken
	    Takata)
2013-07-01 22:03:04 +02:00
Bram Moolenaar 3143d931d6 Added tag v7-3-1286 for changeset 6ddc1785c4ff 2013-07-01 21:43:09 +02:00
Bram Moolenaar 91e468a02c updated for version 7.3.1286
Problem:    Check for screen size missing for Athena and Motif.
Solution:   Add call to limit_screen_size().
2013-07-01 21:43:08 +02:00
Bram Moolenaar dde2b65ecd Added tag v7-3-1285 for changeset 14e7a115d54d 2013-07-01 21:25:25 +02:00
Bram Moolenaar c82da776d8 updated for version 7.3.1285
Problem:    No tests for picking a window when selecting an entry in a
	    location list.  Not picking the right window sometimes.
Solution:   Add test 96. Set usable_win appropriately. (Lech Lorens)
2013-07-01 21:25:25 +02:00
Bram Moolenaar 1624e8f881 Added tag v7-3-1284 for changeset 7b20dc804164 2013-07-01 21:08:48 +02:00
Bram Moolenaar b99896bb97 updated for version 7.3.1284
Problem:    Compiler warnings in MS-Windows clipboard handling.
Solution:   Add type casts. (Ken Takata)
2013-07-01 21:08:48 +02:00
Bram Moolenaar 1e7fc64c4f Added tag v7-3-1283 for changeset d6ceddc0be86 2013-07-01 21:00:35 +02:00
Bram Moolenaar f89fd4e1e5 updated for version 7.3.1283
Problem:    Test 71 fails on MS-Windows.
Solution:   Put the binary data in a separate file. (Ken Takata)
2013-07-01 21:00:35 +02:00
Bram Moolenaar c3508fca0a Added tag v7-3-1282 for changeset 22ac43fb6d30 2013-07-01 20:18:33 +02:00
Bram Moolenaar 9ffc75b443 updated for version 7.3.1282
Problem:    'cursorline' not drawn in any other window. (Charles Campbell)
Solution:   Do draw the cursor line in other windows.
2013-07-01 20:18:33 +02:00
Bram Moolenaar da30f18d75 Added tag v7-3-1281 for changeset 19ed30f7cef7 2013-07-01 20:06:19 +02:00
Bram Moolenaar f2c424cf8f updated for version 7.3.1281
Problem:    When 'ttymouse' is set to "xterm2" clicking in column 123 moves
	    the cursor to column 96. (Kevin Goodsell)
Solution:   Decode KE_CSI.
2013-07-01 20:06:19 +02:00
Bram Moolenaar a8fb3e5c06 Added tag v7-3-1280 for changeset 1cacf785299e 2013-06-30 23:24:08 +02:00
Bram Moolenaar 39fdf8972d updated for version 7.3.1280
Problem:    Reading memory already freed since patch 7.3.1247. (Simon
	    Ruderich, Dominique Pelle)
Solution:   Copy submatches before reallocating the state list.
2013-06-30 23:24:08 +02:00
Bram Moolenaar c91ec4835b Added tag v7-3-1279 for changeset cca600e60928 2013-06-30 22:43:27 +02:00
Bram Moolenaar 5d49f9cb13 updated for version 7.3.1279
Problem:    Compiler warning for variable uninitialized. (Tony Mechelynck)
Solution:   Add an init.
2013-06-30 22:43:27 +02:00
Bram Moolenaar 683008792a Added tag v7-3-1278 for changeset cf52d2a8c05c 2013-06-30 17:51:51 +02:00
Bram Moolenaar 8625042c3e updated for version 7.3.1278
Problem:    When someone sets the screen size to a huge value with "stty" Vim
	    runs out of memory before reducing the size.
Solution:   Limit Rows and Columns in more places.
2013-06-30 17:51:51 +02:00
Bram Moolenaar e4166dfff2 Added tag v7-3-1277 for changeset 6a7ae677d6a1 2013-06-30 17:24:16 +02:00
Bram Moolenaar ae892249db updated for version 7.3.1277
Problem:    In diff mode 'cursorline' also draws in the non-active window.
	    When 'nu' and 'sbr' are set the 'sbr' string is not underlined.
Solution:   Only draw the cursor line in the current window. Combine the
	    'cursorline' and other highlighting attributes. (Christian
	    Brabandt)
2013-06-30 17:24:16 +02:00
Bram Moolenaar dbc4421426 Added tag v7-3-1276 for changeset d2f9f67924e7 2013-06-30 15:01:23 +02:00
Bram Moolenaar b5ef08a505 updated for version 7.3.1276
Problem:    When using a cscope connection resizing the window may send
	    SIGWINCH to cscope and it quits.
Solution:   Call setpgid(0, 0) in the child process. (Narendran Gopalakrishnan)
2013-06-30 15:01:22 +02:00
Bram Moolenaar da17e9a4b3 Added tag v7-3-1275 for changeset 8875401008da 2013-06-30 14:46:53 +02:00
Bram Moolenaar f5401d66dc updated for version 7.3.1275
Problem:    "gn" does not work when the match is a single character.
Solution:   Fix it, add a test. (Christian Brabandt)
2013-06-30 14:46:53 +02:00
Bram Moolenaar 0938daa9c5 Added tag v7-3-1274 for changeset 761cef8f5d1d 2013-06-30 13:57:46 +02:00
Bram Moolenaar eb2da5f7bc updated for version 7.3.1274
Problem:    When selecting an entry from a location list it may pick an
	    arbitrary window or open a new one.
Solution:   Prefer using a window related to the location list. (Lech Lorens)
2013-06-30 13:57:45 +02:00
Bram Moolenaar c5e47ec1d9 Added tag v7-3-1273 for changeset 30910831e5b0 2013-06-30 13:33:58 +02:00
Bram Moolenaar b3c7d6ab51 updated for version 7.3.1273
Problem:    When copying a location list the index might be wrong.
Solution:   Set the index to one when using the first entry. (Lech Lorens)
2013-06-30 13:33:58 +02:00
Bram Moolenaar 1789dee1c3 Added tag v7-3-1272 for changeset a00cd1839ac4 2013-06-30 13:17:25 +02:00
Bram Moolenaar 2ae0271054 updated for version 7.3.1272
Problem:    Crash when editing Ruby file. (Aliaksandr Rahalevich)
Solution:   Reallocate the state list when necessary.
2013-06-30 13:17:24 +02:00
Bram Moolenaar 2932a1e35d Added tag v7-3-1271 for changeset 034abed357a1 2013-06-30 12:21:24 +02:00
Bram Moolenaar 7faece501f updated for version 7.3.1271
Problem:    Command line completion does not work.
Solution:   Move setting xp_line down. (Daniel Thau)
2013-06-30 12:21:24 +02:00
Bram Moolenaar 9e42be135b Updated runtime files. 2013-06-29 23:05:20 +02:00
Bram Moolenaar 3a9c9205d6 Added tag v7-3-1270 for changeset 35b6fc57a286 2013-06-29 17:19:28 +02:00
Bram Moolenaar a9e596293d updated for version 7.3.1270
Problem:    Using "Vp" in an empty buffer can't be undone. (Hauke Petersen)
Solution:   Save one line in an empty buffer. (Christian Brabandt)
2013-06-29 17:19:28 +02:00
Bram Moolenaar f025457f6f Added tag v7-3-1269 for changeset 350239b0e9eb 2013-06-29 16:21:58 +02:00
Bram Moolenaar dc2fc5fb1d updated for version 7.3.1269
Problem:    Insert completion keeps entry selected even though the list has
	    changed. (Olivier Teuliere)
Solution:   Reset compl_shown_match and compl_curr_match. (Christian Brabandt)
2013-06-29 16:21:58 +02:00
Bram Moolenaar 4ac7f30325 Added tag v7-3-1268 for changeset 72fcf674e545 2013-06-29 15:40:04 +02:00
Bram Moolenaar 5ecbeb9155 updated for version 7.3.1268
Problem:    ACL support doesn't work when when compiled with MingW.
Solution:   Support ACL on MingW. (Ken Takata)
2013-06-29 15:40:04 +02:00
Bram Moolenaar e7eceeb51b Added tag v7-3-1267 for changeset cabdcfe72dc3 2013-06-29 15:36:27 +02:00
Bram Moolenaar b0a38d7644 updated for version 7.3.1267
Problem:    MS-Windows ACL support doesn't work well.
Solution:   Implement more ACL support. (Ken Takata)
2013-06-29 15:36:26 +02:00
Bram Moolenaar b39aa95144 Added tag v7-3-1266 for changeset bbe4bd64c68c 2013-06-29 15:19:21 +02:00
Bram Moolenaar 604a1559ab updated for version 7.3.1266
Problem:    QNX: GUI fails to start.
Solution:   Remove the QNX-specific #ifdef. (Sean Boudreau)
2013-06-29 15:19:21 +02:00
Bram Moolenaar efb2ec864a Added tag v7-3-1265 for changeset 53c1b30632df 2013-06-29 15:07:22 +02:00
Bram Moolenaar 0815b367e7 updated for version 7.3.1265
Problem:    Accepting "Vim:" for a modeline causes errors too often.
Solution:   Require "Vim:" to be followed by "set".
2013-06-29 15:07:22 +02:00
Bram Moolenaar d7ef2280f6 Added tag v7-3-1264 for changeset 558c815e1a38 2013-06-29 14:47:22 +02:00
Bram Moolenaar 699a085245 updated for version 7.3.1264
Problem:    Missing m_nowait.
Solution:   Include missing part of the patch.
2013-06-29 14:47:22 +02:00
Bram Moolenaar 112231af47 Added tag v7-3-1263 for changeset a02575cd564a 2013-06-29 14:42:26 +02:00
Bram Moolenaar 938fdfc57b updated for version 7.3.1263
Problem:    Typo in short option name.
Solution:   Change "imse" to "imsf".
2013-06-29 14:42:26 +02:00
Bram Moolenaar ca75564255 Added tag v7-3-1262 for changeset 5e0b6a9282df 2013-06-29 14:17:02 +02:00
Bram Moolenaar 7c70ae5758 updated for version 7.3.1262
Problem:    Crash and compilation warnings with Cygwin.
Solution:   Check return value of XmbTextListToTextProperty(). Add type casts.
	    Adjust #ifdefs. (Lech Lorens)
2013-06-29 14:17:02 +02:00
Bram Moolenaar d2cb05892c Added tag v7-3-1261 for changeset 1cf89d38aa76 2013-06-29 13:58:32 +02:00
Bram Moolenaar 3ff7e9068f updated for version 7.3.1261
Problem:    A buffer-local language mapping from a keymap stops a global
	    insert mode mapping from working. (Ron Aaron)
Solution:   Do not wait for more characters to be typed only when the mapping
	    was defined with <nowait>.
2013-06-29 13:58:31 +02:00
Bram Moolenaar b5330e9f46 Added tag v7-3-1260 for changeset 7aa4e0822dec 2013-06-29 12:58:33 +02:00
Bram Moolenaar f92b434dda updated for version 7.3.1260
Problem:    User completion does not get the whole command line in the command
	    line window.
Solution:   Pass on the whole command line. (Daniel Thau)
2013-06-29 12:58:33 +02:00
Bram Moolenaar 5e0c0b320d Added tag v7-3-1259 for changeset 7ab94cb688be 2013-06-29 12:10:26 +02:00
Bram Moolenaar 2da94a1713 updated for version 7.3.1259
Problem:    No test for patch 7.3.1258
Solution:   Add a test entry.
2013-06-29 12:10:26 +02:00
Bram Moolenaar 033900d849 Added tag v7-3-1258 for changeset c9e2ccc53f2e 2013-06-28 23:04:42 +02:00
Bram Moolenaar a7ca08c1cf updated for version 7.3.1258
Problem:    Using submatch() may crash Vim. (Ingo Karkat)
Solution:   Restore the number of subexpressions used.
2013-06-28 23:04:42 +02:00
Bram Moolenaar 808cafec86 Added tag v7-3-1257 for changeset 5751284311f3 2013-06-28 20:36:31 +02:00
Bram Moolenaar 9349184891 updated for version 7.3.1257
Problem:    With GNU gettext() ":lang de_DE.utf8" does not always result in
	    German messages.
Solution:   Clear the $LANGUAGE environment variable.
2013-06-28 20:36:30 +02:00
Bram Moolenaar 03adc922d4 Added tag v7-3-1256 for changeset 322441058afc 2013-06-28 20:16:55 +02:00
Bram Moolenaar 46695c431d updated for version 7.3.1256
Problem:    Can't build without eval or autocmd feature.
Solution:   Add #ifdefs.
2013-06-28 20:16:55 +02:00
Bram Moolenaar 46da2a30a1 Update runtime files. Remove duplicate tags in help. 2013-06-28 18:44:48 +02:00
Bram Moolenaar 4983582930 Added tag v7-3-1255 for changeset f8d307ebd74a 2013-06-27 22:36:03 +02:00
Bram Moolenaar 1c1cd3dbea updated for version 7.3.1255
Problem:    Clang warnings when building with Athena.
Solution:   Add type casts. (Dominique Pelle)
2013-06-27 22:36:03 +02:00
Bram Moolenaar cea429e8a9 Added tag v7-3-1254 for changeset 5eff37e92f03 2013-06-27 22:29:38 +02:00
Bram Moolenaar d535349056 updated for version 7.3.1254
Problem:    Can't build without the multi-lang feature. (John Marriott)
Solution:   Add #ifdef.
2013-06-27 22:29:38 +02:00
Bram Moolenaar e5fdf9e2ea Added tag v7-3-1253 for changeset d6a7dea44a86 2013-06-27 22:21:24 +02:00
Bram Moolenaar e0d087d7eb updated for version 7.3.1253
Problem:    Still undo problem after using CTRL-R = setline(). (Hirohito
	    Higashi)
Solution:   Set the ins_need_undo flag.
2013-06-27 22:21:24 +02:00
Bram Moolenaar 398ccc6ae8 Added tag v7-3-1252 for changeset 875a0aeb301c 2013-06-27 22:02:02 +02:00
Bram Moolenaar 88e6ae9779 updated for version 7.3.1252
Problem:    Gvim does not find the toolbar bitmap files in ~/vimfiles/bitmaps
	    if the corresponding menu command contains additional characters
	    like the shortcut marker '&' or if you use a non-english locale.
Solution:   Use menu->en_dname or menu->dname. (Martin Gieseking)
2013-06-27 22:02:02 +02:00
Bjorn Winckler e02ab36a78 Merge branch 'vim' 2013-06-27 21:40:25 +02:00
Bram Moolenaar 28c3203dcb Added tag v7-3-1251 for changeset 788f48029677 2013-06-26 21:56:36 +02:00
Bram Moolenaar e10ab8f1da updated for version 7.3.1251
Problem:    Test 61 messes up viminfo.
Solution:   Specify a separate viminfo file.
2013-06-26 21:56:36 +02:00
Bram Moolenaar 6da669108f Added tag v7-3-1250 for changeset 6aecf486bb34 2013-06-26 21:49:51 +02:00
Bram Moolenaar 0c5ad6ed27 updated for version 7.3.1250
Problem:    Python tests fail on MS-Windows.
Solution:   Change backslashes to slashes. (Taro Muraoka)
2013-06-26 21:49:51 +02:00
Bram Moolenaar 398f55598b Added tag v7-3-1249 for changeset b614332f7df2 2013-06-26 20:04:35 +02:00
Bram Moolenaar e163ff415d updated for version 7.3.1249
Problem:    Modeline not recognized when using "Vim" instead of "vim".
Solution:   Also accept "Vim".
2013-06-26 20:04:35 +02:00
Bram Moolenaar 52ec1f447d Added tag v7-3-1248 for changeset 3717d569027d 2013-06-26 19:18:05 +02:00
Bram Moolenaar 2d34f2abbc updated for version 7.3.1248
Problem:    Still have old hacking code for Input Method.
Solution:   Add 'imactivatefunc' and 'imstatusfunc' as a generic solution to
	    Input Method activation. (Yukihiro Nakadaira)
2013-06-26 19:18:05 +02:00
Bram Moolenaar 5789a47460 Added tag v7-3-1247 for changeset f451d60ab8ec 2013-06-26 18:16:58 +02:00
Bram Moolenaar 428e6fb425 updated for version 7.3.1247
Problem:    New regexp engine: '[ ]\@!\p\%([ ]\@!\p\)*:' does not always match.
Solution:   When there is a PIM add a duplicate state that starts at another
	    position.
2013-06-26 18:16:58 +02:00
Bram Moolenaar 8fd9ab9013 Added tag v7-3-1246 for changeset a1b41dabc682 2013-06-26 14:04:47 +02:00
Bram Moolenaar 6cf38a055d updated for version 7.3.1246
Problem:    When setting 'winfixheight' and resizing the window causes the
	    window layout to be wrong.
Solution:   Add frame_check_height() and frame_check_width() (Yukihiro
	    Nakadaira)
2013-06-26 14:04:47 +02:00
Bram Moolenaar 564fb602a1 Updated runtime files. New version of TOhtml plugin. 2013-06-26 13:28:14 +02:00
Bram Moolenaar c8da850cf6 Added tag v7-3-1245 for changeset 43329b2b5b79 2013-06-26 13:16:20 +02:00
Bram Moolenaar 06572bfb8e updated for version 7.3.1245
Problem:    MS-Windows: confirm() dialog text may still not fit.
Solution:   Use GetTextWidthEnc() instead of GetTextWidth() in two more
	    places. (Yasuhiro Matsumoto)
2013-06-26 13:16:20 +02:00
Bram Moolenaar 3be3a71ecf Added tag v7-3-1244 for changeset b4a71dbdb787 2013-06-26 12:58:32 +02:00
Bram Moolenaar 2fdd7f1c92 updated for version 7.3.1244
Problem:    MS-Windows: confirm() dialog text may not fit.
Solution:   Use GetTextWidthEnc() instead of GetTextWidth(). (Yasuhiro
	    Matsumoto)
2013-06-26 12:58:32 +02:00
Bram Moolenaar 5a7e9744f8 Added tag v7-3-1243 for changeset 8a7d3a73adab 2013-06-26 12:42:45 +02:00
Bram Moolenaar c0579225cd updated for version 7.3.1243
Problem:    New regexp engine: back references in look-behind match don't
	    work. (Lech Lorens)
Solution:   Copy the submatches before a recursive match.
2013-06-26 12:42:44 +02:00
Bram Moolenaar 0195cfb3e5 Added tag v7-3-1242 for changeset b4a2eaf28b51 2013-06-24 22:33:30 +02:00
Bram Moolenaar e62a1c3009 updated for version 7.3.1242
Problem:    No failure when trying to use a number as a string.
Solution:   Give an error when StringToLine() is called with an instance of
	    the wrong type. (Jun Takimoto)
2013-06-24 22:33:30 +02:00
Bram Moolenaar 9bd6fbdcb1 Added tag v7-3-1241 for changeset c87476046967 2013-06-24 22:23:55 +02:00
Bram Moolenaar 4c28e5c51f updated for version 7.3.1241
Problem:    Some test files missing from the distribution.
Solution:   Update the list of files.
2013-06-24 22:23:55 +02:00
Bram Moolenaar db8bfcbe14 Update runtime files. 2013-06-24 22:22:18 +02:00
Bram Moolenaar 3a3617a4f5 Added tag v7-3-1240 for changeset bc9125136c69 2013-06-24 22:17:32 +02:00
Bram Moolenaar f15621e7d6 updated for version 7.3.1240
Problem:    Memory leak in findfile().
Solution:   Free the memory. (Christian Brabandt)
2013-06-24 22:17:32 +02:00
Bram Moolenaar d98075db1f Added tag v7-3-1239 for changeset e130cc3d17af 2013-06-24 21:21:58 +02:00
Bram Moolenaar 01d0a77bb2 updated for version 7.3.1239
Problem:    Can't build with Python and MSVC10.
Solution:   Move #if outside of macro. (Taro Muraoka)
2013-06-24 21:21:58 +02:00
Bram Moolenaar 8af8c32191 Added tag v7-3-1238 for changeset 048c69ebe8ee 2013-06-24 20:32:58 +02:00
Bram Moolenaar 03850cc98d updated for version 7.3.1238
Problem:    Crash in Python interface on 64 bit machines.
Solution:   Change argument type of PyString_AsStringAndSize. (Taro Muraoka,
	    Jun Takimoto)
2013-06-24 20:32:57 +02:00
Bram Moolenaar 09cd3090b7 Added tag v7-3-1237 for changeset 5b2c8f3b3906 2013-06-23 16:40:40 +02:00
Bram Moolenaar d5b2bf70d1 updated for version 7.3.1237
Problem:    Python: non-import errors not handled correctly.
Solution:   Let non-ImportError exceptions pass the finder. (ZyX)
2013-06-23 16:40:39 +02:00
Bram Moolenaar 23d0c918c2 Added tag v7-3-1236 for changeset 39980afcf54a 2013-06-23 16:35:47 +02:00
Bram Moolenaar 92bef72ef8 updated for version 7.3.1236
Problem:    Python: WindowSetattr() missing support for NUMBER_UNSIGNED.
Solution:   Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
2013-06-23 16:35:47 +02:00
Bram Moolenaar 794b3d62f6 Added tag v7-3-1235 for changeset 9ae0fe467776 2013-06-23 16:16:19 +02:00
Bram Moolenaar 6c80166a89 updated for version 7.3.1235
Problem:    In insert mode CTRL-] is not inserted, on the command-line it is.
Solution:   Don't insert CTRL-] on the command line. (Yukihiro Nakadaira)
2013-06-23 16:16:19 +02:00
Bram Moolenaar 57a498fde3 Added tag v7-3-1234 for changeset f4969f8f66e9 2013-06-23 16:04:08 +02:00
Bram Moolenaar c9152df986 updated for version 7.3.1234
Problem:    Python: Strings are not marked for translation.
Solution:   Add N_() where appropriate. (ZyX)
2013-06-23 16:04:08 +02:00
Bjorn Winckler ce999c0015 Merge branch 'vim' 2013-06-23 16:00:32 +02:00
Bjorn Winckler 3a9ba01c5c Ignore files in src/auto/ 2013-06-23 15:59:51 +02:00
Bjorn Winckler 81f35d1bf3 Restore 'src/configure' script from upstream
The 'src/configure' script got clobbered by 'src/auto/configure' a long
time ago by 'autoconf' being called manually in 'src/' instead of
calling 'make autoconf'.  This commit restores the proper src/configure
script.  (Patch suggested by gmn.)
2013-06-23 15:55:57 +02:00
Bram Moolenaar 427a1c6741 Added tag v7-3-1233 for changeset 4ed713442c51 2013-06-23 14:37:07 +02:00
Bram Moolenaar 6561c00337 updated for version 7.3.1233
Problem:    Various Python problems.
Solution:   Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory
	    leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
2013-06-23 14:37:07 +02:00
Bram Moolenaar 270e1b7795 Added tag v7-3-1232 for changeset a594ce86b5ea 2013-06-23 14:30:47 +02:00
Bram Moolenaar af7e16f1b3 updated for version 7.3.1232
Problem:    Python: inconsistencies in variable names.
Solution:   Rename variables. (ZyX)
2013-06-23 14:30:47 +02:00
Bram Moolenaar 0f6ddbd5b1 Added tag v7-3-1231 for changeset 537bbfff0c5c 2013-06-23 14:16:57 +02:00
Bram Moolenaar ce9a6dc7ae updated for version 7.3.1231
Problem:    Python: use of numbers not consistent.
Solution:   Add support for Number protocol. (ZyX)
2013-06-23 14:16:57 +02:00
Bram Moolenaar 8d5c9bef58 Added tag v7-3-1230 for changeset f5c822e5a0eb 2013-06-23 13:46:40 +02:00
Bram Moolenaar 83b5ab772c updated for version 7.3.1230
Problem:    Python: Exception messages are not clear.
Solution:   Make exception messages more verbose. (ZyX)
2013-06-23 13:46:40 +02:00
Bram Moolenaar 5163409008 Added tag v7-3-1229 for changeset b6e693e1f946 2013-06-23 13:28:17 +02:00
Bram Moolenaar a45c0ac616 updated for version 7.3.1229
Problem:    Python: not so easy to delete/restore translating.
Solution:   Make macros do translation of exception messages. (ZyX)
	    Note: this breaks translations!
2013-06-23 13:28:17 +02:00
Bram Moolenaar 4887e22aa8 Added tag v7-3-1228 for changeset 620d9b59d4ed 2013-06-23 13:11:18 +02:00
Bram Moolenaar 20ee11385a updated for version 7.3.1228
Problem:    Python: various inconsistencies and problems.
Solution:   StringToLine now supports both bytes() and unicode() objects.
	    Make function names consistant.  Fix memory leak fixed in
	    StringToLine. (ZyX)
2013-06-23 13:11:18 +02:00
Bram Moolenaar 33896b6370 Added tag v7-3-1227 for changeset 5cee875f3096 2013-06-23 13:00:44 +02:00
Bram Moolenaar d9a5c6902f updated for version 7.3.1227
Problem:    Inconsistent string conversion.
Solution:   Use 'encoding' instead of utf-8. Use METH_O in place of
	    METH_VARARGS where appropriate. (ZyX)
2013-06-23 13:00:44 +02:00
Bram Moolenaar 6e60fc4670 Added tag v7-3-1226 for changeset b34d719b13cd 2013-06-23 12:51:32 +02:00
Bram Moolenaar 83d8aa75d3 updated for version 7.3.1226
Problem:    Python: duplicate code.
Solution:   Share code between OutputWrite() and OutputWritelines(). (ZyX)
2013-06-23 12:51:32 +02:00
Bram Moolenaar bd9087fd48 Added tag v7-3-1225 for changeset 27b008d5b7ac 2013-06-22 13:00:16 +02:00
Bram Moolenaar e5857c8449 updated for version 7.3.1225
Problem:    Compiler warnings when building with Motif.
Solution:   Change set_label() argument. (Kazunobu Kuriyama)
2013-06-22 13:00:16 +02:00
Bram Moolenaar 80432ced82 Added tag v7-3-1224 for changeset 0a379dea13c9 2013-06-21 18:31:23 +02:00
Bram Moolenaar 8fd588fb4d updated for version 7.3.1224
Problem:    Clang gives warnings on xxd.
Solution:   Change how to use part of a string. (Dominique Pelle) Also avoid
	    warning for return not reached.
2013-06-21 18:31:23 +02:00
Bjorn Winckler 027c687862 Fix getfontname() 2013-06-21 15:52:31 +02:00
Bjorn Winckler 324a55231d Merge branch 'vim'
Conflicts:
	src/auto/configure
2013-06-20 22:42:36 +02:00
Bram Moolenaar 8e79fe23a7 Added tag v7-3-1223 for changeset 5cd32322154c 2013-06-19 21:17:31 +02:00
Bram Moolenaar 0af3ab2804 updated for version 7.3.1223
Problem:    Tests fail on MS-Windows.
Solution:   Avoid depending on OS version. Use DOS commands instead of Unix
	    commands. (Taro Muraoka, Ken Takata)
2013-06-19 21:17:31 +02:00
Bram Moolenaar 94587a5cdd Added tag v7-3-1222 for changeset 07831d280e90 2013-06-19 20:11:50 +02:00
Bram Moolenaar cec8537c3b updated for version 7.3.1222
Problem:    Cannot execute some tests from the src directoly.
Solution:   Add missing targets.
2013-06-19 20:11:50 +02:00
Bram Moolenaar c1e8fe3f7f Added tag v7-3-1221 for changeset 9f7b92f232d3 2013-06-18 23:31:56 +02:00
Bram Moolenaar 0e1fb0aaec updated for version 7.3.1221
Problem:    When build flags change "make distclean" run into a configure
	    error.
Solution:   When CFLAGS changes delete auto/config.cache.  Also avoid adding
	    duplicate text to flags.
2013-06-18 23:31:55 +02:00
Bram Moolenaar a7a5a051f7 Added tag v7-3-1220 for changeset ba7db05e1482 2013-06-17 22:43:25 +02:00
Bram Moolenaar 49f48d00a4 updated for version 7.3.1220
Problem:    MS-Windows: When using wide font italic and bold are not included.
Solution:   Support wide-bold, wide-italic and wide-bold-italic. (Ken Takata,
	    Taro Muraoka)
2013-06-17 22:43:25 +02:00
Bram Moolenaar 5487c2fc5a Added tag v7-3-1219 for changeset eb5c3508cd7d 2013-06-17 22:04:38 +02:00
Bram Moolenaar f0b3906147 updated for version 7.3.1219
Problem:    No test for using []] inside \%[].
Solution:   Add a test.
2013-06-17 22:04:38 +02:00
Bram Moolenaar 9460338252 Added tag v7-3-1218 for changeset d10ede931224 2013-06-17 21:53:37 +02:00
Bram Moolenaar 529ed4bcb1 updated for version 7.3.1218
Problem:    "make test" on MS-Windows does not clean all temporary files and
	    gives some unneccessary message.
Solution:   Clean the right files.  Create .failed files. (Ken Takata)
2013-06-17 21:53:37 +02:00
Bram Moolenaar 2ddd292712 Added tag v7-3-1217 for changeset 613651492c19 2013-06-17 21:33:41 +02:00
Bram Moolenaar 6fec7c72e1 updated for version 7.3.1217
Problem:    New regexp engine: Can't handle \%[[ao]]. (Yukihiro Nakadaira)
Solution:   Support nested atoms inside \%[].
2013-06-17 21:33:41 +02:00
Bram Moolenaar 76ee6e46f7 Added tag v7-3-1216 for changeset b89aa3374b7f 2013-06-17 20:27:18 +02:00
Bram Moolenaar c1c3ea54be updated for version 7.3.1216
Problem:    Configure can't find Motif on Ubuntu.
Solution:   Search for libXm in /usr/lib/*-linux-gnu.
2013-06-17 20:27:18 +02:00
Bram Moolenaar e85422489e Added tag v7-3-1215 for changeset 8bbd0ff486b3 2013-06-17 19:26:36 +02:00
Bram Moolenaar 66699c643b updated for version 7.3.1215
Problem:    Compiler warning for function not defined.
Solution:   Add #ifdef.
2013-06-17 19:26:36 +02:00
Bjorn Winckler 6fc791c663 Merge branch 'vim' 2013-06-17 17:29:40 +02:00
Bram Moolenaar 7fc98425ba Added tag v7-3-1214 for changeset bcb84438bb5b 2013-06-16 22:49:14 +02:00
Bram Moolenaar 275152c6ea updated for version 7.3.1214
Problem:    Missing declaration for init_users() and realloc_post_list().
	    (Salman Halim)
Solution:   Add the declarations.
2013-06-16 22:49:14 +02:00
Bram Moolenaar 9426fced8b Added tag v7-3-1213 for changeset ae05437a744a 2013-06-16 17:32:40 +02:00
Bram Moolenaar ef27b7c8cf updated for version 7.3.1213
Problem:    Can't build with small features and Python.
Solution:   Adjust #ifdefs.
2013-06-16 17:32:40 +02:00
Bram Moolenaar 8461c39b5a Added tag v7-3-1212 for changeset 81e623ff2e55 2013-06-16 16:57:46 +02:00
Bram Moolenaar 58e04e3026 updated for version 7.3.1212
Problem:    "make test" on MS-Windows does not report failure like Unix does.
Solution:   Make it work like on Unix. (Taro Muraoka)
2013-06-16 16:57:46 +02:00
Bram Moolenaar ef22aecae1 Added tag v7-3-1211 for changeset 1cf02fbe6281 2013-06-16 16:41:47 +02:00
Bram Moolenaar 61c2078e57 updated for version 7.3.1211
Problem:    MS-Windows: When 'encoding' differs from the current codepage
	    ":hardcopy" does not work properly.
Solution:   Use TextOutW() and SetDlgItemTextW(). (Ken Takata)
2013-06-16 16:41:47 +02:00
Bram Moolenaar 240f1424d4 Added tag v7-3-1210 for changeset 7155782d94fb 2013-06-16 16:34:57 +02:00
Bram Moolenaar 173817a3d8 updated for version 7.3.1210
Problem:    'backupcopy' default on MS-Windows is wrong when 'encoding' equals
	    the current codepage.
Solution:   Change the #else block. (Ken Takata)
2013-06-16 16:34:56 +02:00
Bram Moolenaar 90f42693e7 Added tag v7-3-1209 for changeset afb00cc8caac 2013-06-16 16:14:03 +02:00
Bram Moolenaar 3d5da9196a updated for version 7.3.1209
Problem:    No completion for ":tabdo".
Solution:   Add tabdo to the list of modifiers. (Dominique Pelle)
2013-06-16 16:14:03 +02:00
Bram Moolenaar 07db962593 Added tag v7-3-1208 for changeset 784e342ddcae 2013-06-16 16:01:26 +02:00
Bram Moolenaar 6a76b68a81 updated for version 7.3.1208
Problem:    Compiler warnings on MS-Windows.
Solution:   Add type cast.  Move variable declaration. (Mike Williams)
2013-06-16 16:01:25 +02:00
Bram Moolenaar 25532cd776 Added tag v7-3-1207 for changeset 6ae32a64e153 2013-06-16 15:43:50 +02:00
Bram Moolenaar 9c88724f7b updated for version 7.3.1207
Problem:    New regexp engine: no match found on "#if FOO". (Lech Lorens)
Solution:   When adding a state gets skipped don't adjust the index.
2013-06-16 15:43:50 +02:00
Bram Moolenaar 722eac0cb9 Added tag v7-3-1206 for changeset 8dd2769ab75c 2013-06-16 14:25:57 +02:00
Bram Moolenaar 3b4a2ebab4 updated for version 7.3.1206
Problem:    Inconsistent function argument declarations.
Solution:   Use ANSI style.
2013-06-16 14:25:57 +02:00
Bram Moolenaar 2e52d0e52f Added tag v7-3-1205 for changeset d02448031708 2013-06-16 14:20:14 +02:00
Bram Moolenaar a5636e2a39 updated for version 7.3.1205
Problem:    logtalk.dict is not removed on uninstall.
Solution:   Remove the file. (Kazunobu Kuriyama)
2013-06-16 14:20:13 +02:00
Bram Moolenaar a26e875fb9 Added tag v7-3-1204 for changeset 0792cc5133ce 2013-06-16 14:18:28 +02:00
Bram Moolenaar fa9d963b1e updated for version 7.3.1204
Problem:    Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito
	    Higashi)
Solution:   Don't always use goto_tabpage_tp().
2013-06-16 14:18:28 +02:00
Bram Moolenaar 6335d3f748 Added tag v7-3-1203 for changeset ba328b4a990e 2013-06-15 23:00:30 +02:00
Bram Moolenaar db7799f1f6 updated for version 7.3.1203
Problem:    Matches from matchadd() might be highlighted incorrectly when they
	    are at a fixed position and inserting lines. (John Szakmeister)
Solution:   Redraw all lines below a change if there are highlighted matches.
	    (idea by Christian Brabandt)
2013-06-15 23:00:30 +02:00
Bram Moolenaar 4069fc6d74 Added tag v7-3-1202 for changeset 1707ddb6f5ae 2013-06-15 22:26:52 +02:00
Bram Moolenaar d385f334d8 updated for version 7.3.1202
Problem:    Tags are not found in case-folded tags file. (Darren cole, Issue
	    90)
Solution:   Take into account that when case folding was used for the tags
	    file "!rm" sorts before the "!_TAG" header lines.
2013-06-15 22:26:52 +02:00
Bram Moolenaar e751294980 Added tag v7-3-1201 for changeset d8f65e6238fa 2013-06-15 21:54:16 +02:00
Bram Moolenaar bf04d0b241 updated for version 7.3.1201
Problem:    When a startup script creates a preview window, it probably
	    becomes the current window.
Solution:   Make another window the current one. (Christian Brabandt)
2013-06-15 21:54:16 +02:00
Bram Moolenaar 38a2d6a2ae Updated runtime files. 2013-06-15 21:39:51 +02:00
Bram Moolenaar 2386d6596c Added tag v7-3-1200 for changeset 2945fe016b93 2013-06-15 17:54:43 +02:00
Bram Moolenaar 5d1271e5c9 updated for version 7.3.1200
Problem:    When calling setline() from Insert mode, using CTRL-R =, undo does
	    not work properly. (Israel Chauca)
Solution:   Sync undo after evaluating the expression. (Christian Brabandt)
2013-06-15 17:54:43 +02:00
Bram Moolenaar 329c21dee6 Added tag v7-3-1199 for changeset be2973afe770 2013-06-15 17:06:37 +02:00
Bram Moolenaar ec3970cccb updated for version 7.3.1199
Problem:    When evaluating 'foldexpr' causes an error this is silently
	    ignored and evaluation is retried every time.
Solution:   Set emsg_silent instead of emsg_off. Stop evaluating 'foldexpr' is
	    it is causing errors.  (Christian Brabandt)
2013-06-15 17:06:36 +02:00
Bram Moolenaar 9f6a68282a Added tag v7-3-1198 for changeset 517fa1a34c7c 2013-06-15 16:47:36 +02:00
Bram Moolenaar 340eabfdb6 updated for version 7.3.1198
Problem:    Build error when using Perl 5.18.0 and dynamic loading.
Solution:   Change #ifdefs for Perl_croak_xs_usage. (Ike Devolder)
2013-06-15 16:47:35 +02:00
Bram Moolenaar b6d3a9115c Added tag v7-3-1197 for changeset 2fc1f3346bfb 2013-06-15 16:31:47 +02:00
Bram Moolenaar d9e38e9176 updated for version 7.3.1197
Problem:    ":wviminfo!" does not write history previously read from a viminfo
	    file.  (Roland Eggner)
Solution:   When not merging history write all entries.
2013-06-15 16:31:47 +02:00
Bram Moolenaar 7c52d7160a Added tag v7-3-1196 for changeset 56fbf60e9476 2013-06-15 15:09:50 +02:00
Bram Moolenaar a100ca1dd3 updated for version 7.3.1196
Problem:    Old regexp engine does not match pattern with backref correctly.
	    (Dominique Pelle)
Solution:   Fix setting status.  Test multi-line patterns better.
2013-06-15 15:09:50 +02:00
Bram Moolenaar 840a83068c Added tag v7-3-1195 for changeset 4837fd61be52 2013-06-14 22:48:54 +02:00
Bram Moolenaar 37fed06255 updated for version 7.3.1195
Problem:    Compiler warning for unitialized variable. (Tony Mechelynck)
Solution:   Set the length to the matching backref.
2013-06-14 22:48:54 +02:00
Bram Moolenaar ba48a726b9 Added tag v7-3-1194 for changeset 91136a41f83f 2013-06-14 22:33:52 +02:00
Bram Moolenaar d683e1bf30 updated for version 7.3.1194
Problem:    Yaml highlighting is slow.
Solution:   Tune the estimation of pattern failure chance.
2013-06-14 22:33:51 +02:00
Bjorn Winckler 946e219725 Merge branch 'vim'
Conflicts:
	src/auto/configure
2013-06-14 22:57:59 +03:00
Bram Moolenaar debd2cc961 Added tag v7-3-1193 for changeset 8b46c37c4b84 2013-06-14 21:22:39 +02:00
Bram Moolenaar 09cdb95d40 updated for version 7.3.1193
Problem:    fail_if_missing not used for Python 3.
Solution:   Give an error when Python 3 can't be configured. (Andrei Olsen)
2013-06-14 21:22:39 +02:00
Bram Moolenaar b9abfd7c9c Added tag v7-3-1192 for changeset 07b9c48a30e9 2013-06-14 21:15:25 +02:00
Bram Moolenaar 177c29c1ee updated for version 7.3.1192
Problem:    Valgrind reports errors when using backreferences. (Dominique
	    Pelle)
Solution:   Do not check the end of submatches.
2013-06-14 21:15:25 +02:00
Bram Moolenaar 6f5b46caa9 Added tag v7-3-1191 for changeset 4c42efb4c098 2013-06-14 20:31:28 +02:00
Bram Moolenaar 6cd03cb791 updated for version 7.3.1191
Problem:    Backreference to previous line doesn't work. (Lech Lorens)
Solution:   Implement looking in another line.
2013-06-14 20:31:28 +02:00
Bram Moolenaar 00ee0a5848 Added tag v7-3-1190 for changeset 25d64a4edc0b 2013-06-14 19:15:58 +02:00
Bram Moolenaar dffb25233a updated for version 7.3.1190
Problem:    Compiler warning for parentheses. (Christian Wellenbrock)
Solution:   Change #ifdef.
2013-06-14 19:15:58 +02:00
Bram Moolenaar cba304532a Added tag v7-3-1189 for changeset dc78a26f6f64 2013-06-13 22:59:30 +02:00
Bram Moolenaar d2f0cfa3d6 updated for version 7.3.1189
Problem:    Highlighting is still wrong sometimes. (Dominique Pelle)
Solution:   Also restore reginput properly.
2013-06-13 22:59:30 +02:00
Bram Moolenaar dfbbf0540c Added tag v7-3-1188 for changeset 6f7ed9b799a3 2013-06-13 21:57:20 +02:00
Bram Moolenaar c3ebb5dd9e updated for version 7.3.1188
Problem:    Newline characters messing up error message.
Solution:   Remove the newlines. (Kazunobu Kuriyama)
2013-06-13 21:57:20 +02:00
Bram Moolenaar 22d12f8307 Added tag v7-3-1187 for changeset fefd8d33a7ea 2013-06-13 21:24:06 +02:00
Bram Moolenaar f3c4610601 updated for version 7.3.1187
Problem:    "s:" is recognized but "<SID>" is not. (ZyX)
Solution:   Translate "<SID>" like "s:".
2013-06-13 21:24:06 +02:00
Bram Moolenaar 9aa6538155 Added tag v7-3-1186 for changeset 7b8991e084f9 2013-06-13 20:57:50 +02:00
Bram Moolenaar 795b1d6d63 updated for version 7.3.1186
Problem:    Python 3: test 87 may crash.
Solution:   Use _PyArg_Parse_SizeT instead of PyArg_Parse. (Jun Takimoto)
2013-06-13 20:57:50 +02:00
Bram Moolenaar 68e73ada78 Added tag v7-3-1185 for changeset 6d935f45c489 2013-06-13 20:19:40 +02:00
Bram Moolenaar 38388a218e updated for version 7.3.1185
Problem:    New regexp engine: no match with ^ after \n. (SungHyun Nam)
Solution:   Fix it, add a test.
2013-06-13 20:19:40 +02:00
Bjorn Winckler f72d696060 Merge branch 'vim'
Conflicts:
	runtime/doc/gui.txt
2013-06-13 21:13:21 +03:00
Bram Moolenaar 3d5b047a3a Added tag v7-3-1184 for changeset 9e36c6b1ebf4 2013-06-13 19:47:07 +02:00
Bram Moolenaar 8040318722 updated for version 7.3.1184
Problem:    Highlighting is sometimes wrong. (Axel Bender)
Solution:   Fetch regline again when returning from recursive regmatch.
2013-06-13 19:47:07 +02:00
Bram Moolenaar e3554fe9cd Add missing files from 7.3.1183. 2013-06-13 19:44:55 +02:00
Bram Moolenaar 30960e62af Added tag v7-3-1183 for changeset 044d23a64c17 2013-06-13 19:27:19 +02:00
Bram Moolenaar 4ccc8bf457 updated for version 7.3.1183
Problem:    Python tests 86 and 87 fail.
Solution:   Add "empty" files. (ZyX)
2013-06-13 19:27:18 +02:00
Bram Moolenaar 8eecc0418a Added tag v7-3-1182 for changeset fa98c2b030ed 2013-06-12 22:41:37 +02:00
Bram Moolenaar e11dff3b03 updated for version 7.3.1182
Problem:    'backupcopy' default on MS-Windows does not work for hard and soft
	    links.
Solution:   Check for links. (David Pope, Ken Takata)
2013-06-12 22:41:37 +02:00
Bram Moolenaar 608d9eab65 Added tag v7-3-1181 for changeset b7bb20390111 2013-06-12 22:08:58 +02:00
Bram Moolenaar 7c246748ff updated for version 7.3.1181
Problem:    Wrong error message for 1.0[0].
Solution:   Check for funcref and float separately. (Yasuhiro Matsumoto)
2013-06-12 22:08:58 +02:00
Bram Moolenaar a2e15c3767 Update runtime files. 2013-06-12 21:29:15 +02:00
Bram Moolenaar dc6acd9ec5 Added tag v7-3-1180 for changeset 04b8912a9c85 2013-06-12 21:25:23 +02:00
Bram Moolenaar 7c8de5e2b5 updated for version 7.3.1180
Problem:    When current directory changes, path from cscope may no longer be
	    valid. (AS Budden)
Solution:   Always store the absolute path. (Christian Brabandt)
2013-06-12 21:25:23 +02:00
Bram Moolenaar 0d48cab832 Added tag v7-3-1179 for changeset d84833983de7 2013-06-12 21:00:27 +02:00
Bram Moolenaar b7d79a75d7 updated for version 7.3.1179
Problem:    When a global mapping starts with the same characters as a
	    buffer-local mapping Vim waits for a character to be typed to find
	    out whether the global mapping is to be used. (Andy Wokula)
Solution:   Use the local mapping without waiting. (Michael Henry)
2013-06-12 21:00:26 +02:00
Bram Moolenaar e393ffd225 Added tag v7-3-1178 for changeset c4d4f0fc12b9 2013-06-12 20:35:58 +02:00
Bram Moolenaar f92cf4c956 updated for version 7.3.1178
Problem:    Can't put all Vim config files together in one directory.
Solution:   Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens)
2013-06-12 20:35:58 +02:00
Bram Moolenaar 6d40ff3cc0 Added tag v7-3-1177 for changeset e79a20f07daa 2013-06-12 19:52:15 +02:00
Bram Moolenaar 88bdcf7947 updated for version 7.3.1177
Problem:    Wasting memory on padding.
Solution:   Reorder struct fields. (Dominique Pelle)
2013-06-12 19:52:15 +02:00
Bram Moolenaar 26445c290d Added tag v7-3-1176 for changeset e48cabe98453 2013-06-12 18:13:38 +02:00
Bram Moolenaar 05f9f263fb updated for version 7.3.1176
Problem:    Compiler warnings on 64 bit system.
Solution:   Add type casts. (Mike Williams)
2013-06-12 18:13:38 +02:00
Bram Moolenaar cae3256a70 Added tag v7-3-1175 for changeset 84a8d1ba81c3 2013-06-12 17:12:24 +02:00
Bram Moolenaar fcecb7f5ce updated for version 7.3.1175
Problem:    Using isalpha() and isalnum() can be slow.
Solution:   Use range checks. (Mike Williams)
2013-06-12 17:12:24 +02:00
Bram Moolenaar 013656f2e9 Added tag v7-3-1174 for changeset 52850ef928f8 2013-06-12 14:41:04 +02:00
Bram Moolenaar efe66fefd5 updated for version 7.3.1174
Problem:    Python 2 and 3 use different ways to load modules.
Solution:   Use the same method. (ZyX)
2013-06-12 14:41:04 +02:00
Bram Moolenaar 79bcd874a6 Added tag v7-3-1173 for changeset b584d361e746 2013-06-12 14:26:26 +02:00
Bram Moolenaar cbb260d64b updated for version 7.3.1173
Problem:    Python 2 tests don't have the same output everywhere.
Solution:   Make the Python 2 tests more portable. (ZyX)
2013-06-12 14:26:26 +02:00
Bram Moolenaar 76c700a3bb Added tag v7-3-1172 for changeset 96e154e825a7 2013-06-12 14:20:36 +02:00
Bram Moolenaar 4ea2fec7aa updated for version 7.3.1172
Problem:    Python 2: loading modules doesn't work well.
Solution:   Fix the code. Add more tests. (ZyX)
2013-06-12 14:20:36 +02:00
Bram Moolenaar 9755abb493 Added tag v7-3-1171 for changeset fc7f985df537 2013-06-12 14:10:27 +02:00
Bram Moolenaar ed7ffe3784 updated for version 7.3.1171
Problem:    Check for digits and ascii letters can be faster.
Solution:   Use a trick with one comparison. (Dominique Pelle)
2013-06-12 14:10:26 +02:00
Bram Moolenaar 56feb8d75f Added tag v7-3-1170 for changeset 14c2e63caec6 2013-06-12 13:37:43 +02:00
Bram Moolenaar 606c4e4d31 updated for version 7.3.1170
Problem:    Patch 7.3.1058 breaks backwards compatibility, not possible to use
	    a function reference as a string. (lilydjwg)
Solution:   Instead of translating the function name only translate "s:".
2013-06-12 13:37:43 +02:00
Bram Moolenaar bbadbd63a9 Added tag v7-3-1169 for changeset a83fb2bd8c8e 2013-06-11 22:44:09 +02:00
Bram Moolenaar 269bd3dab9 updated for version 7.3.1169
Problem:    New regexp engine: some work is done while executing a pattern,
	    even though the result is predictable.
Solution:   Do the work while compiling the pattern.
2013-06-11 22:44:09 +02:00
Bjorn Winckler 67d2e5b2d0 Merge branch 'vim'
Conflicts:
	src/auto/configure
	src/if_python.c
2013-06-11 22:11:16 +02:00
Bram Moolenaar a4341a3116 Added tag v7-3-1168 for changeset ed47632fd149 2013-06-11 20:53:28 +02:00
Bram Moolenaar 83b7c9573f updated for version 7.3.1168
Problem:    Python "sane" configure checks give a warning message.
Solution:   Use single quotes intead of escaped double quotes. (Ben Fritz)
2013-06-11 20:53:28 +02:00
Bram Moolenaar b39ee674d4 Added tag v7-3-1167 for changeset 81dedcd64821 2013-06-11 19:53:45 +02:00
Bram Moolenaar be0607e19d updated for version 7.3.1167
Problem:    Python configure check doesn't reject Python 2 when requesting
	    Python 3.  Some systems need -pthreads instead of -pthread.
Solution:   Adjust configure accordingly. (Andrei Olsen)
2013-06-11 19:53:45 +02:00
Bram Moolenaar 7d406c332f Added tag v7-3-1166 for changeset d59ff2114733 2013-06-11 18:48:22 +02:00
Bram Moolenaar da92dfc155 updated for version 7.3.1166
Problem:    Loading Python modules is not tested.
Solution:   Enable commented-out tests, add missing files. (ZyX)
2013-06-11 18:48:21 +02:00
Bram Moolenaar 865eb415e5 Added tag v7-3-1165 for changeset 05b8436873d4 2013-06-11 18:42:36 +02:00
Bram Moolenaar 5d884c78e5 updated for version 7.3.1165
Problem:    HP-UX compiler can't handle zero size array. (Charles Cooper)
Solution:   Make the array one item big.
2013-06-11 18:42:36 +02:00
Bram Moolenaar 88c2210334 Added tag v7-3-1164 for changeset 4db0bf9f1b44 2013-06-11 18:40:13 +02:00
Bram Moolenaar e4a19e5556 updated for version 7.3.1164
Problem:    Can't test what is actually displayed on screen.
Solution:   Add the screenchar() and screenattr() functions.
2013-06-11 18:40:13 +02:00
Bram Moolenaar ced8b1e6ee Added tag v7-3-1163 for changeset 70b1178dec79 2013-06-10 21:27:29 +02:00
Bram Moolenaar fe75785d8e updated for version 7.3.1163
Problem:    Not easy to load Python modules.
Solution:   Search "python2", "python3" and "pythonx" directories in
	    'runtimepath' for Python modules. (ZyX)
2013-06-10 21:27:29 +02:00
Bram Moolenaar 6ac15d6fab Added tag v7-3-1162 for changeset b8eabb6a9687 2013-06-10 20:47:37 +02:00
Bram Moolenaar 9579fa5689 updated for version 7.3.1162
Problem:    Python: Memory leaks
Solution:   Add more Py_DECREF(). (ZyX)
2013-06-10 20:47:36 +02:00
Bram Moolenaar fe4be39694 Added tag v7-3-1161 for changeset ff3935926449 2013-06-10 20:39:03 +02:00
Bram Moolenaar 6428a98399 updated for version 7.3.1161
Problem:    Python: PyList_SetItem() is inefficient.
Solution:   Use PyList_SET_ITEM() (ZyX)
2013-06-10 20:39:03 +02:00
Bram Moolenaar 50d6c734ab Added tag v7-3-1160 for changeset 60301d4d1682 2013-06-10 20:25:10 +02:00
Bram Moolenaar c573162dc9 updated for version 7.3.1160
Problem:    Mixing long and pointer doesn't always work.
Solution:   Avoid cast to pointer.
2013-06-10 20:25:10 +02:00
Bram Moolenaar 2f77d5a12b Added tag v7-3-1159 for changeset 208a6c04e6b8 2013-06-10 20:10:44 +02:00
Bram Moolenaar d07f0db64c updated for version 7.3.1159
Problem:    The round() function is not always available. (Christ van
	    Willegen)
Solution:   Use the solution from f_round().
2013-06-10 20:10:44 +02:00
Bram Moolenaar 86481c77a1 Added tag v7-3-1158 for changeset 46077370bc60 2013-06-10 18:36:24 +02:00
Bram Moolenaar 202c057bc5 updated for version 7.3.1158
Problem:    Crash when running test 86. (Jun Takimoto)
Solution:   Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
2013-06-10 18:36:24 +02:00
Bram Moolenaar f8b6ff99c9 Added tag v7-3-1157 for changeset 2f1ee97f5f23 2013-06-10 16:35:18 +02:00
Bram Moolenaar 9d356a0c36 updated for version 7.3.1157
Problem:    New regexp engine fails on "\(\<command\)\@<=.*"
Solution:   Fix rule for postponing match.  Further tune estimating whether
	    postponing works better.  Add test.
2013-06-10 16:35:18 +02:00
Bjorn Winckler 1d6e44ce20 Merge branch 'vim' 2013-06-10 16:03:24 +02:00
Bram Moolenaar ac5226e173 Added tag v7-3-1156 for changeset 8c4324e6f477 2013-06-09 20:51:00 +02:00
Bram Moolenaar 7d9002caba updated for version 7.3.1156
Problem:    Compiler warnings. (dv1445)
Solution:   Initialize variables, even when the value isn't really used.
2013-06-09 20:51:00 +02:00
Bram Moolenaar 1cde7d1b0a Added tag v7-3-1155 for changeset bf1e6326df11 2013-06-09 17:52:46 +02:00
Bram Moolenaar 7064a9556d updated for version 7.3.1155
Problem:    MS-DOS: "make test" uses external rmdir command.
Solution:   Rename "rmdir" to "rd". (Taro Muraoka)
2013-06-09 17:52:46 +02:00
Bram Moolenaar bb0a041c66 Added tag v7-3-1154 for changeset 6419ee8098c8 2013-06-09 17:25:34 +02:00
Bram Moolenaar c52e2b3e69 updated for version 7.3.1154
Problem:    New regexp_nfa engine: Uneccessary code.
Solution:   Remove uneccessary code.
2013-06-09 17:25:34 +02:00
Bram Moolenaar 05951a5591 Added tag v7-3-1153 for changeset bc3f4804cf47 2013-06-09 16:24:45 +02:00
Bram Moolenaar 443f3f84f4 updated for version 7.3.1153
Problem:    New regexp engine: Some look-behind matches are very expensive.
Solution:   Pospone invisible matches further, until a match is almost found.
2013-06-09 16:24:45 +02:00
Bjorn Winckler 3d8e6c3288 Fix hollow cursor drawing on Retina display
This fixes a problem where the hollow cursor was asymmetrical on a
Retina display.
2013-06-09 16:23:36 +02:00
Bjorn Winckler 798c96e2af Respond to backing properties changes
This fixes a bug which caused the window to be white after moving it
between a Retina and normal display.
2013-06-09 15:44:46 +02:00
Bjorn Winckler 871611e305 Cache Core Text fonts
This fixes a bug which caused slowdowns whenever 'listchars' contained
Unicode characters.
2013-06-09 15:44:41 +02:00
Bram Moolenaar 4fbcedbbaf Added tag v7-3-1152 for changeset 9909e44879b9 2013-06-08 23:30:04 +02:00
Bram Moolenaar 3520a82374 updated for version 7.3.1152
Problem:    In tiny build ireg_icombine is undefined. (Tony Mechelynck)
Solution:   Add #ifdef.
2013-06-08 23:30:04 +02:00
Bram Moolenaar 59ddbc5091 Added tag v7-3-1151 for changeset 4d7e3df04256 2013-06-08 23:26:27 +02:00
Bram Moolenaar 5dbc3a05d9 updated for version 7.3.1151
Problem:    New regexp engine: Slow when a look-behind match is followed by a
	    zero-width match.
Solution:   Postpone the look-behind match more often.
2013-06-08 23:26:27 +02:00
Bram Moolenaar 1c77ffba4c Added tag v7-3-1150 for changeset 3dbd251777de 2013-06-08 22:30:03 +02:00
Bram Moolenaar e5cabe1904 updated for version 7.3.1150
Problem:    New regexpengine: Slow when a look-behind match does not have a
	    width specified.
Solution:   Try to compute the maximum width.
2013-06-08 22:30:03 +02:00
Bram Moolenaar 4f85e6fbca Added tag v7-3-1149 for changeset 66803af09906 2013-06-08 18:19:48 +02:00
Bram Moolenaar 324ec4ad3e updated for version 7.3.1149
Problem:    New regexp engine: Matching plain text could be faster.
Solution:   Detect a plain text match and handle it specifically.  Add
	    vim_regfree().
2013-06-08 18:19:48 +02:00
Bjorn Winckler 3e20bda243 Merge branch 'vim'
Conflicts:
	src/auto/configure
	src/configure.in
	src/vim.h
2013-06-08 15:36:15 +02:00
Bram Moolenaar 20101dc890 Added tag v7-3-1148 for changeset 220bdea4f579 2013-06-08 15:24:49 +02:00
Bram Moolenaar 103c0d5271 updated for version 7.3.1148
Problem:    No command line completion for ":syntime".
Solution:   Implement the completion. (Dominique Pelle)
2013-06-08 15:24:48 +02:00
Bram Moolenaar 964f021c03 Added tag v7-3-1147 for changeset 3cd3cc1e9119 2013-06-08 14:38:27 +02:00
Bram Moolenaar 26f29bcec6 updated for version 7.3.1147
Problem:    New regexp engine: regstart is only used to find the first match.
Solution:   Use regstart whenever adding the start state.
2013-06-08 14:38:27 +02:00
Bram Moolenaar e48d620e68 Added tag v7-3-1146 for changeset e3f9e33fb28c 2013-06-08 13:33:37 +02:00
Bram Moolenaar b17653340b updated for version 7.3.1146
Problem:    New regexp engine: look-behind match not checked when followed by
	    zero-width match.
Solution:   Do the look-behind match before adding the zero-width state.
2013-06-08 13:33:37 +02:00
Bram Moolenaar 97346227a2 Added tag v7-3-1145 for changeset a30e3762957d 2013-06-07 22:39:40 +02:00
Bram Moolenaar 0e1b2883e1 updated for version 7.3.1145
Problem:    New regexp engine: addstate() is called very often.
Solution:   Optimize adding the start state.
2013-06-07 22:39:40 +02:00
Bram Moolenaar f1aa5dcf95 Added tag v7-3-1144 for changeset 8360a59aa04b 2013-06-07 20:17:11 +02:00
Bram Moolenaar 16d1baf365 updated for version 7.3.1144
Problem:    "RO" is not translated everywhere.
Solution:   Put inside _(). (Sergey Alyoshin)
2013-06-07 20:17:11 +02:00
Bram Moolenaar 6d78d8e99e Added tag v7-3-1143 for changeset 66e849c4558a 2013-06-07 19:53:10 +02:00
Bram Moolenaar 524baf94df updated for version 7.3.1143
Problem:    When mapping NUL it is displayed as an X.
Solution:   Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto)
2013-06-07 19:53:10 +02:00
Bram Moolenaar 749b131096 Added tag v7-3-1142 for changeset 65cef998f860 2013-06-07 19:48:39 +02:00
Bram Moolenaar f3af630b3a updated for version 7.3.1142
Problem:    Memory leak in ":syntime report".
Solution:   Clear the grow array. (Dominique Pelle)
2013-06-07 19:48:39 +02:00
Bram Moolenaar ae680a8467 Added tag v7-3-1141 for changeset 10673b3531eb 2013-06-07 19:17:14 +02:00
Bram Moolenaar d144caa518 updated for version 7.3.1141
Problem:    Win32: Check for available memory is not reliable and adds
	    overhead.
Solution:   Remove mch_avail_mem(). (Mike Williams)
2013-06-07 19:17:14 +02:00
Bram Moolenaar 6fc95f805d Added tag v7-3-1140 for changeset 7fde662e1db2 2013-06-07 17:31:29 +02:00
Bram Moolenaar 0eefa5d9e4 updated for version 7.3.1140
Problem:    New regexp engine: trying expensive match while the result is not
	    going to be used.
Solution:   Check for output state already being in the state list.
2013-06-07 17:31:29 +02:00
Bram Moolenaar 1dd7e59ec5 Added tag v7-3-1139 for changeset 3b5a023a4543 2013-06-07 16:31:50 +02:00
Bram Moolenaar 43bb4eec58 updated for version 7.3.1139
Problem:    New regexp engine: negated flag is hardly used.
Solution:   Add separate _NEG states, remove negated flag.
2013-06-07 16:31:50 +02:00
Bram Moolenaar 931798d481 Added tag v7-3-1138 for changeset 47222d8b1e94 2013-06-07 14:59:18 +02:00
Bram Moolenaar 177e3d007f updated for version 7.3.1138
Problem:    New regexp engine: neglist no longer used.
Solution:   Remove the now unused neglist.
2013-06-07 14:59:18 +02:00
Bram Moolenaar ebd714e823 Added tag v7-3-1137 for changeset c02c7df9bdc9 2013-06-07 14:08:30 +02:00
Bram Moolenaar 69fc84687b updated for version 7.3.1137
Problem:    New regexp engine: collections are slow.
Solution:   Handle all characters in one go.
2013-06-07 14:08:30 +02:00
Bram Moolenaar 2bee54ed30 Updated runtime files. 2013-06-06 21:36:40 +02:00
Bram Moolenaar 9664d0447b Added tag v7-3-1136 for changeset 343d09006056 2013-06-06 21:31:06 +02:00
Bram Moolenaar bc920d5a2e updated for version 7.3.1136
Problem:    ":func Foo" does not show attributes.
Solution:   Add "abort", "dict" and "range". (Yasuhiro Matsumoto)
2013-06-06 21:31:06 +02:00
Bram Moolenaar ca0edda91e Added tag v7-3-1135 for changeset e4bc21965079 2013-06-06 21:19:51 +02:00
Bram Moolenaar 1504e3b779 updated for version 7.3.1135
Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.
2013-06-06 21:19:51 +02:00
Bram Moolenaar 6be9b3217f Added tag v7-3-1134 for changeset 531e598651fc 2013-06-06 18:55:49 +02:00
Bram Moolenaar 3325c37931 updated for version 7.3.1134
Problem:    Running test 49 takes a long time.
Solution:   Don't have it grep all files.
2013-06-06 18:55:49 +02:00
Bram Moolenaar 1641900751 Added tag v7-3-1133 for changeset 03375ccf28a2 2013-06-06 18:46:06 +02:00
Bram Moolenaar b8a07356fe updated for version 7.3.1133
Problem:    New regexp engine is a bit slow.
Solution:   Skip ahead to a character that must match.  Don't try matching a
	    "^" patter past the start of line.
2013-06-06 18:46:06 +02:00
Bram Moolenaar 203b1bcae8 Added tag v7-3-1132 for changeset b20dbf3a5370 2013-06-06 18:04:51 +02:00
Bram Moolenaar a013812795 updated for version 7.3.1132
Problem:    Crash when debugging regexp.
Solution:   Do not try to dump subexpr that were not set.  Skip over count of
	    \% items.
2013-06-06 18:04:51 +02:00
Bram Moolenaar 44cbc9ae82 Added tag v7-3-1131 for changeset 82e6588762e4 2013-06-06 16:22:06 +02:00
Bram Moolenaar 1293a274ba updated for version 7.3.1131
Problem:    New regexp engine is a bit slow.
Solution:   Do not clear the state list.  Don't copy syntax submatches when
	    not used.
2013-06-06 16:22:06 +02:00
Bram Moolenaar 963f8e0381 Added tag v7-3-1130 for changeset ec24ff78a79c 2013-06-06 14:55:19 +02:00
Bram Moolenaar 80f1cd3dd4 updated for version 7.3.1130
Problem:    Can't build with anything but huge features.
Solution:   Check for FEAT_PROFILE. (Yasuhiro Matsumoto)
2013-06-06 14:55:19 +02:00
Bram Moolenaar 92aec3ad0d Added tag v7-3-1129 for changeset f824cb97eb92 2013-06-06 14:01:46 +02:00
Bram Moolenaar 6f64877532 updated for version 7.3.1129
Problem:    Can't see what pattern in syntax highlighting is slow.
Solution:   Add the ":syntime" command.
2013-06-06 14:01:46 +02:00
Bram Moolenaar 88491062ad Added tag v7-3-1128 for changeset 47906f888725 2013-06-05 21:42:53 +02:00
Bram Moolenaar ac840c9532 updated for version 7.3.1128
Problem:    Now that the NFA engine handles everything every failure is a
	    syntax error.
Solution:   Remove the syntax_error flag.
2013-06-05 21:42:53 +02:00
Bram Moolenaar 8693a99fdb Added tag v7-3-1127 for changeset 532a9855bd30 2013-06-05 21:30:37 +02:00
Bram Moolenaar 085f7c3ba8 updated for version 7.3.1127
Problem:    No error for using empty \%[].
Solution:   Give error message.
2013-06-05 21:30:37 +02:00
Bram Moolenaar 9551757252 Added tag v7-3-1126 for changeset b25a1b2e3175 2013-06-05 21:23:39 +02:00
Bram Moolenaar 803ea5b338 updated for version 7.3.1126
Problem:    Compiler warning for unitialized variable. (Tony Mechelynck)
Solution:   Assign something to the variable.
2013-06-05 21:23:39 +02:00
Bram Moolenaar 74e59fdb7f Added tag v7-3-1125 for changeset 96f3348f9f11 2013-06-05 21:10:59 +02:00
Bram Moolenaar 714bb4d32a updated for version 7.3.1125
Problem:    Error for using \%V in a pattern in tiny Vim.
Solution:   Allow using \%V but never match. (Dominique Pelle)
2013-06-05 21:10:59 +02:00
Bram Moolenaar 82d65edb0e Added tag v7-3-1124 for changeset be1e4acb30ca 2013-06-05 20:34:15 +02:00
Bram Moolenaar 6cea87076d updated for version 7.3.1124
Problem:    Python: Crash on MS-Windows when os.fchdir() is not available.
Solution:   Check for _chdir to be NULL. (Ken Takata)
2013-06-05 20:34:15 +02:00
Bram Moolenaar 0fbf9ecf23 Added tag v7-3-1123 for changeset 77ecab3bb207 2013-06-05 19:35:38 +02:00
Bram Moolenaar 2a66bec2ad updated for version 7.3.1123
Problem:    Can't build tiny Vim on MS-Windows.
Solution:   Adjust #ifdef around using modif_fname(). (Mike Williams)
2013-06-05 19:35:38 +02:00
Bram Moolenaar 999c18a87f Added tag v7-3-1122 for changeset 7793e737ec87 2013-06-05 18:52:41 +02:00
Bram Moolenaar 252cc901de updated for version 7.3.1122
Problem:    New regexp engine: \%> not supported.
Solution:   Implement \%>.
2013-06-05 18:52:40 +02:00
Bram Moolenaar 39df6e02da Added tag v7-3-1121 for changeset 4b9503f0c7d3 2013-06-05 16:51:57 +02:00
Bram Moolenaar 954eab2787 updated for version 7.3.1121
Problem:    New regexp engine: adding states that are not used.
Solution:   Don't add the states.
2013-06-05 16:51:57 +02:00
Bram Moolenaar 0a2f8c37a1 Added tag v7-3-1120 for changeset d1376091d18b 2013-06-05 16:33:10 +02:00
Bram Moolenaar 86ec7cfa09 updated for version 7.3.1120
Problem:    Crash when regexp logging is enabled.
Solution:   Avoid using NULL pointers. Advance over count argument.
2013-06-05 16:33:10 +02:00
Bram Moolenaar f99c45c110 Added tag v7-3-1119 for changeset a62695305e03 2013-06-05 12:43:09 +02:00
Bram Moolenaar 2b7e479bc8 updated for version 7.3.1119
Problem:    Flags in 'cpo' are search for several times.
Solution:   Store the result and re-use the flags.
2013-06-05 12:43:09 +02:00
Bram Moolenaar f9bd94d0d7 Added tag v7-3-1118 for changeset 6a706ca7a889 2013-06-05 11:46:26 +02:00
Bram Moolenaar 71e4a17950 updated for version 7.3.1118
Problem:    Match failure rate is not very specific.
Solution:   Tune the failure rate for match items.
2013-06-05 11:46:25 +02:00
Bram Moolenaar 1ba2595a70 Added tag v7-3-1117 for changeset 97560c16ca99 2013-06-05 11:05:17 +02:00
Bram Moolenaar 98477d0e60 updated for version 7.3.1117
Problem:    New regexp engine: \%[abc] not supported.
Solution:   Implement \%[abc].  Add tests.
2013-06-05 11:05:17 +02:00
Bram Moolenaar 7541ad0af3 Added tag v7-3-1116 for changeset 66a9e8fa6f45 2013-06-05 11:02:06 +02:00
Bram Moolenaar 88ab96a298 updated for version 7.3.1116
Problem:    Can't build without Visual mode.
Solution:   Add #ifdefs.
2013-06-05 11:02:05 +02:00
Bram Moolenaar e3d5640cd8 Added tag v7-3-1115 for changeset 3f2319a953b3 2013-06-04 22:13:50 +02:00
Bram Moolenaar 48032fa741 updated for version 7.3.1115
Problem:    Many users don't like the cursor line number when 'relativenumber'
	    is set.
Solution:   Have four combinations with 'number' and 'relativenumber'.
	    (Christian Brabandt)
2013-06-04 22:13:50 +02:00
Bram Moolenaar 6830fb4062 Added tag v7-3-1114 for changeset 532c31f9e92f 2013-06-04 21:42:22 +02:00
Bram Moolenaar 2ccb439a6f updated for version 7.3.1114
Problem:    Can't build without the syntax feature.
Solution:   Add #ifdefs. (Erik Falor)
2013-06-04 21:42:22 +02:00
Bram Moolenaar 6fdf5b9133 Added tag v7-3-1113 for changeset 0798b096bab3 2013-06-04 21:27:38 +02:00
Bram Moolenaar 0b8f8fbf49 updated for version 7.3.1113
Problem:    New regexp engine: \%'m not supported.
Solution:   Implement \%'m.  Add tests.
2013-06-04 21:27:38 +02:00
Bram Moolenaar 6d1cc1142e Added tag v7-3-1112 for changeset 749e2b2755d5 2013-06-04 18:28:48 +02:00
Bram Moolenaar b8e1042b82 updated for version 7.3.1112
Problem:    New regexp engine: \%V not supported.
Solution:   Implement \%V.  Add tests.
2013-06-04 18:28:48 +02:00
Bram Moolenaar 9268b23e61 Added tag v7-3-1111 for changeset 43de4ebbe7ad 2013-06-04 17:47:05 +02:00
Bram Moolenaar 7e40161ca0 updated for version 7.3.1111
Problem:    nfa_recognize_char_class() implementation is inefficient.
Solution:   Use bits in an int instead of chars in a string. (Dominique Pelle)
2013-06-04 17:47:05 +02:00
Bram Moolenaar 449d27b652 Added tag v7-3-1110 for changeset 3849c811cc0b 2013-06-04 14:23:05 +02:00
Bram Moolenaar 67f5f9a85f updated for version 7.3.1110
Problem:    New regexp matching: Using \@= and the like can be slow.
Solution:   Decide whether to first try matching the zero-wdith part or what
	    follows, whatever is more likely to fail.
2013-06-04 14:23:05 +02:00
Bram Moolenaar 665038f171 Added tag v7-3-1109 for changeset 450e13fe1621 2013-06-03 20:12:51 +02:00
Bram Moolenaar acf58b95a6 updated for version 7.3.1109
Problem:    Building on MS-Windows doesn't see changes in if_py_both.h.
Solution:   Add a dependency. (Ken Takata)
2013-06-03 20:12:51 +02:00
Bram Moolenaar cf0f76009b Added tag v7-3-1108 for changeset 3534e9b4fa42 2013-06-03 20:04:48 +02:00
Bram Moolenaar c42233d591 updated for version 7.3.1108
Problem:    Error message for os.fchdir() (Charles Peacech)
Solution:   Clear the error. (ZyX)
2013-06-03 20:04:48 +02:00
Bram Moolenaar f24669592c Added tag v7-3-1107 for changeset bd6bef0bd0fb 2013-06-03 19:41:07 +02:00
Bram Moolenaar 6198e64ea6 updated for version 7.3.1107
Problem:    Compiler warnings for unused variables.
Solution:   Put the variables inside #ifdef.
2013-06-03 19:41:06 +02:00
Bram Moolenaar 8cd6609c80 Added tag v7-3-1106 for changeset ec72bb4a0fc2 2013-06-03 12:17:05 +02:00
Bram Moolenaar 6c51d1a31a updated for version 7.3.1106
Problem:    New regexp engine: saving and restoring lastlist in the states
	    takes a lot of time.
Solution:   Use a second lastlist value for the first recursive call.
2013-06-03 12:17:04 +02:00
Bram Moolenaar ac0e6d96dc Added tag v7-3-1105 for changeset a804309e7327 2013-06-02 22:37:42 +02:00
Bram Moolenaar 96769bed70 updated for version 7.3.1105
Problem:    New regexp engine: too much code in one function.  Dead code.
Solution:   Move the recursive nfa_regmatch call to a separate function.
	    Remove the dead code.
2013-06-02 22:37:42 +02:00
Bram Moolenaar 17516d9f49 Added tag v7-3-1104 for changeset fc4d7f02ea3a 2013-06-02 22:08:04 +02:00
Bram Moolenaar eddc8b7dee updated for version 7.3.1104
Problem:    New regexp engine does not handle "~".
Solution:   Add support for "~".
2013-06-02 22:08:03 +02:00
Bram Moolenaar fe9af21b78 Added tag v7-3-1103 for changeset 832bf8136d86 2013-06-02 21:30:04 +02:00
Bram Moolenaar d85690daf5 updated for version 7.3.1103
Problem:    New regexp engine: overhead in saving and restoring.
Solution:   Make saving and restoring list IDs faster.  Don't copy or check \z
	    subexpressions when they are not used.
2013-06-02 21:30:04 +02:00
Bram Moolenaar 488794e69e Added tag v7-3-1102 for changeset 1c5da99d1b70 2013-06-02 19:22:13 +02:00
Bram Moolenaar 07ab6e77a5 updated for version 7.3.1102
Problem:    Completion of ":py3do" and ":py3file" does not work after ":py3".
Solution:   Make completion work. (Taro Muraoka)
2013-06-02 19:22:13 +02:00
Bram Moolenaar 58ffbcd0ef Added tag v7-3-1101 for changeset 761e42cc79c2 2013-06-02 19:14:17 +02:00
Bram Moolenaar 984ca4ba80 updated for version 7.3.1101
Problem:    Configure doesn't find Python 3 on Ubuntu 13.04.
Solution:   First try distutils.sysconfig. Also fix some indents.  (Ken
	    Takata)
2013-06-02 19:14:17 +02:00
Bram Moolenaar 649d328057 Added tag v7-3-1100 for changeset bf917ee1fad2 2013-06-02 18:54:21 +02:00
Bram Moolenaar 6acf77deca updated for version 7.3.1100
Problem:    Python: a few more memory problems.
Solution:   Add and remove Py_XDECREF(). (ZyX)
2013-06-02 18:54:21 +02:00
Bram Moolenaar 8b2c96575b Added tag v7-3-1099 for changeset 542af01979be 2013-06-02 18:20:17 +02:00
Bram Moolenaar cf79adffda updated for version 7.3.1099
Problem:    Python: Changing directory with os.chdir() causes problems for
	    Vim's notion of directories.
Solution:   Add vim.chdir() and vim.fchdir(). (ZyX)
2013-06-02 18:20:17 +02:00
Bram Moolenaar 06ab75af95 Added tag v7-3-1098 for changeset 26f2dbea7443 2013-06-02 18:07:37 +02:00
Bram Moolenaar 685562a5da updated for version 7.3.1098
Problem:    Python: Possible memory leaks
Solution:   Add Py_XDECREF() calls. (ZyX)
2013-06-02 18:07:37 +02:00
Bram Moolenaar b73c0ad52a Added tag v7-3-1097 for changeset 0c25fa1dfd97 2013-06-02 17:46:40 +02:00
Bram Moolenaar 54d00921e5 updated for version 7.3.1097
Problem:    Python: a few recently added items are not documented.
Solution:   Update the documentation. (ZyX)
2013-06-02 17:46:40 +02:00
Bram Moolenaar 729461e1a4 Added tag v7-3-1096 for changeset 2db005052371 2013-06-02 17:41:54 +02:00
Bram Moolenaar adc48016b0 updated for version 7.3.1096
Problem:    Python: popitem() was not defined in a standard way.
Solution:   Remove the argument from popitem(). (ZyX)
2013-06-02 17:41:54 +02:00
Bram Moolenaar f6969f616a Added tag v7-3-1095 for changeset ed4e689bbea1 2013-06-02 16:40:55 +02:00
Bram Moolenaar 62a0720120 updated for version 7.3.1095
Problem:    Compiler warnings for shadowed variables. (Christian Brabandt)
Solution:   Rename new_state() to alloc_state().  Remove unnecessary
	    declaration.
2013-06-02 16:40:55 +02:00
Bram Moolenaar 687e7adf93 Added tag v7-3-1094 for changeset efc4fb311d5d 2013-06-02 16:34:21 +02:00
Bram Moolenaar f2f5dbc487 updated for version 7.3.1094
Problem:    New regexp engine: Attempts to match "^" at every character.
Solution:   Only try "^" at the start of a line.
2013-06-02 16:34:21 +02:00
Bram Moolenaar 490e6e6d66 Added tag v7-3-1093 for changeset 08fbb1ce1bc5 2013-06-02 16:07:11 +02:00
Bram Moolenaar fd01cdb87c updated for version 7.3.1093
Problem:    New regexp engine: When a sub expression is empty \1 skips a
	    character.
Solution:   Make \1 try the current position when the match is emtpy.
2013-06-02 16:07:10 +02:00
Bram Moolenaar a6c56049b4 Added tag v7-3-1092 for changeset 9d97a0c045ef 2013-06-02 15:55:55 +02:00
Bram Moolenaar 1a573ad366 updated for version 7.3.1092
Problem:    Can't build with regexp debugging.  NFA debug output shows wrong
	    pattern.
Solution:   Fix debugging code for recent changes.  Add the pattern to the
	    program.
2013-06-02 15:55:55 +02:00
Bram Moolenaar 398201470d Added tag v7-3-1091 for changeset 371cc0c44097 2013-06-02 15:01:57 +02:00
Bram Moolenaar 8766e508ea updated for version 7.3.1091
Problem:    New regexp engine: no error when using \z1 or \z( where it does
	    not work.
Solution:   Give an error message.
2013-06-02 15:01:57 +02:00
Bram Moolenaar 50b58c389a Added tag v7-3-1090 for changeset 8db697ae406a 2013-06-01 23:02:55 +02:00
Bram Moolenaar 0d3d7a2d00 updated for version 7.3.1090
Problem:    New regexp engine does not support \z1 .. \z9 and \z(.
Solution:   Implement the syntax submatches.
2013-06-01 23:02:54 +02:00
Bram Moolenaar e21e1f44ff Added tag v7-3-1089 for changeset 79522bb17125 2013-06-01 20:32:13 +02:00
Bram Moolenaar 065695c91a updated for version 7.3.1089
Problem:    Tests 86 and 87 fail on MS-Windows. (Ken Takata)
Solution:   Fix platform-specific stuff. (ZyX)
2013-06-01 20:32:12 +02:00
Bram Moolenaar 9ac4a23511 Added tag v7-3-1088 for changeset 2f51ee8825db 2013-06-01 19:54:43 +02:00
Bram Moolenaar 65d28ef25e updated for version 7.3.1088
Problem:    New regexp engine: \@<= and \@<! are not implemented.
Solution:   Implement look-behind matching.  Fix off-by-one error in old
	    regexp engine.
2013-06-01 19:54:43 +02:00
Bram Moolenaar e0086714bc Updated runtime files and translations. 2013-06-01 14:50:56 +02:00
Bram Moolenaar b69a632590 Added tag v7-3-1087 for changeset 4d92b873acef 2013-06-01 14:42:56 +02:00
Bram Moolenaar 7f4952c7a9 updated for version 7.3.1087
Problem:    A leading star is not seen as a normal char when \{} follows.
Solution:   Save and restore the parse state properly.
2013-06-01 14:42:56 +02:00
Bram Moolenaar 5e7a30a6ad Added tag v7-3-1086 for changeset c1622ff9ed8d 2013-06-01 13:24:24 +02:00
Bram Moolenaar d9c98ff69b updated for version 7.3.1086
Problem:    Old regexp engine accepts illegal range, new one doesn't.
Solution:   Also accept the illegal range with the new engine.
2013-06-01 13:24:24 +02:00
Bram Moolenaar f709cfbf3d Added tag v7-3-1085 for changeset 811a4c9b51d8 2013-06-01 12:40:20 +02:00
Bram Moolenaar 6ba87d0a18 updated for version 7.3.1085
Problem:    New regexp engine: Non-greedy multi doesn't work.
Solution:   Implement \{-}.
2013-06-01 12:40:20 +02:00
Bram Moolenaar a17039e496 Added tag v7-3-1084 for changeset 05d57d7c2d55 2013-05-31 23:18:00 +02:00
Bram Moolenaar 0f969b31b4 updated for version 7.3.1084
Problem:    New regexp engine: only accepts up to \{,10}.
Solution:   Remove upper limit.  Remove dead code with NFA_PLUS.
2013-05-31 23:18:00 +02:00
Bram Moolenaar 4317654e97 Added tag v7-3-1083 for changeset b3c59716e700 2013-05-31 22:14:52 +02:00
Bram Moolenaar 4aa7379e47 updated for version 7.3.1083
Problem:    New regexp engine: Does not support \%^ and \%$.
Solution:   Support matching start and end of file.
2013-05-31 22:14:52 +02:00
Bram Moolenaar 36f8cb77ff Added tag v7-3-1082 for changeset 2d15582e132f 2013-05-31 21:45:09 +02:00
Bram Moolenaar c3fcbaca15 updated for version 7.3.1082
Problem:    New regexp engine: Problem with \@= matching.
Solution:   Save and restore nfa_match.
2013-05-31 21:45:09 +02:00
Bram Moolenaar 038f382f4c Added tag v7-3-1081 for changeset 9e7ef781d494 2013-05-31 20:49:31 +02:00
Bram Moolenaar 9ac0d7c179 updated for version 7.3.1081
Problem:    Compiler warnings on 64-bit Windows.
Solution:   Change variable types. (Mike Williams)
2013-05-31 20:49:31 +02:00
Bram Moolenaar 9634e68376 Added tag v7-3-1080 for changeset 7a35419393c3 2013-05-31 19:01:17 +02:00
Bram Moolenaar 085dc70e23 updated for version 7.3.1080
Problem:    Test 86 fails.
Solution:   Comment out the parts that don't work.  Make it pass on 32 bit
	    systems.
2013-05-31 19:01:16 +02:00
Bram Moolenaar 93388bd72f Added tag v7-3-1079 for changeset bce2051173f0 2013-05-31 18:46:11 +02:00
Bram Moolenaar 47c02ded69 updated for version 7.3.1079
Problem:    Test 87 fails.
Solution:   Fix the test for Python 3.3. (ZyX)  Make it pass on 32 bit systems.
2013-05-31 18:46:11 +02:00
Bram Moolenaar d4993e76e2 Added tag v7-3-1078 for changeset 0dce3d812e7a 2013-05-30 22:44:02 +02:00
Bram Moolenaar f7a3190af2 updated for version 7.3.1078
Problem:    New regexp engine: \@! doesn't work.
Solution:   Implement the negated version of \@=.
2013-05-30 22:44:02 +02:00
Bram Moolenaar 3f040cc8c8 Added tag v7-3-1077 for changeset 80b0081824fa 2013-05-30 22:06:33 +02:00
Bram Moolenaar 4024f55c56 updated for version 7.3.1077
Problem:    Python: Allocating dict the wrong way, causing a crash.
Solution:   Use py_dict_alloc(). Fix some exception problems. (ZyX)
2013-05-30 22:06:33 +02:00
Bram Moolenaar 1655d4a3cb Added tag v7-3-1076 for changeset 93b7ed814bec 2013-05-30 21:42:13 +02:00
Bram Moolenaar 612c5addb9 updated for version 7.3.1076
Problem:    New regexp engine: \@= and \& don't work.
Solution:   Make these items work.  Add column info to logging.
2013-05-30 21:42:13 +02:00
Bram Moolenaar 04a69d883d Added tag v7-3-1075 for changeset 779ca415f8e1 2013-05-30 19:18:31 +02:00
Bram Moolenaar c1e1e21e13 updated for version 7.3.1075
Problem:    Compiler warning for storing a long_u in an int.
Solution:   Declare the number as an int. (Mike Williams)
2013-05-30 19:18:31 +02:00
Bram Moolenaar 4a750e219e Added tag v7-3-1074 for changeset b943fd24c351 2013-05-30 19:01:24 +02:00
Bram Moolenaar b7fea86789 updated for version 7.3.1074
Problem:    Compiler warning for printf format. (Manuel Ortega)
Solution:   Add type casts.
2013-05-30 19:01:24 +02:00
Bram Moolenaar ebccfebcae Added tag v7-3-1073 for changeset f10f63aaec5c 2013-05-30 18:45:23 +02:00
Bram Moolenaar 498cc6dfac updated for version 7.3.1073
Problem:    New regexp engine may run out of states.
Solution:   Allocate states dynamically.  Also make the test report errors.
2013-05-30 18:45:23 +02:00
Bram Moolenaar a4c7f4990f Added tag v7-3-1072 for changeset 9f502d8d5165 2013-05-30 17:49:24 +02:00
Bram Moolenaar 897394c80e updated for version 7.3.1072
Problem:    Compiler warning for unitialized variable.
Solution:   Initialize it.
2013-05-30 17:49:24 +02:00
Bram Moolenaar a43eab94e5 Added tag v7-3-1071 for changeset 857f6c53f117 2013-05-30 17:05:39 +02:00
Bram Moolenaar 18116ac6b6 updated for version 7.3.1071
Problem:    New regexp engine: backreferences don't work correctly.
Solution:   Add every possible start/end position on the state stack.
2013-05-30 17:05:39 +02:00
Bram Moolenaar 0bfbf45953 Added tag v7-3-1070 for changeset c316a30a8892 2013-05-30 15:38:24 +02:00
Bram Moolenaar c818b080e4 updated for version 7.3.1070
Problem:    Vim crashes in Python tests. Compiler warning for unused function.
Solution:   Disable the tests for now. Move the function.
2013-05-30 15:38:24 +02:00
Bram Moolenaar d90023ed63 Added tag v7-3-1069 for changeset 6ec3dada4ad3 2013-05-30 14:52:37 +02:00
Bram Moolenaar d280a8b43c updated for version 7.3.1069
Problem:    Python: memory leaks.
Solution:   Python patch 28: Purge out DICTKEY_CHECK_EMPTY macros. (ZyX)
2013-05-30 14:52:37 +02:00
Bram Moolenaar d1e67cc434 Added tag v7-3-1068 for changeset 59e6c2bd68e3 2013-05-30 13:37:28 +02:00
Bram Moolenaar 44c08ff9d5 updated for version 7.3.1068
Problem:    Python: Script is auto-loaded on function creation.
Solution:   Python patch 27. (ZyX)
2013-05-30 13:37:28 +02:00
Bram Moolenaar de41e47814 Added tag v7-3-1067 for changeset 52a4f66ae1f5 2013-05-30 13:32:30 +02:00
Bram Moolenaar dbda8a0f8f updated for version 7.3.1067
Problem:    Python: documentation lags behind.
Solution:   Python patch 26. (ZyX)
2013-05-30 13:32:30 +02:00
Bram Moolenaar 230cca8eaf Added tag v7-3-1066 for changeset 4c46e1487c63 2013-05-30 13:28:41 +02:00
Bram Moolenaar d53444a80a updated for version 7.3.1066
Problem:    Python: Insufficient exception and error testing.
Solution:   Python patch 25. (ZyX)
2013-05-30 13:28:41 +02:00
Bram Moolenaar ebd83fcd20 Added tag v7-3-1065 for changeset 07c534fe9b6c 2013-05-30 13:22:13 +02:00
Bram Moolenaar 613c897391 updated for version 7.3.1065
Problem:    Python: key mapping is not standard.
Solution:   Puthon patch 24: use PyMapping_Keys. (ZyX)
2013-05-30 13:22:13 +02:00
Bram Moolenaar 19f8df7224 Added tag v7-3-1064 for changeset 3857d399ab41 2013-05-30 13:17:17 +02:00
Bram Moolenaar a7b16ed088 updated for version 7.3.1064
Problem:    Python: insufficient error checking.
Solution:   Python patch 23. (ZyX)
2013-05-30 13:17:17 +02:00
Bram Moolenaar 294df8387e Added tag v7-3-1063 for changeset 4157fef7b950 2013-05-30 13:14:13 +02:00
Bram Moolenaar 1567612671 updated for version 7.3.1063
Problem:    Python: Function is not standard.
Solution:   Python patch 22: make Function subclassable. (ZyX)
2013-05-30 13:14:13 +02:00
Bram Moolenaar fd547bc8a0 Added tag v7-3-1062 for changeset e4e48d4ee040 2013-05-30 13:05:59 +02:00
Bram Moolenaar 638d481a3e updated for version 7.3.1062
Problem:    Python: List is not standard.
Solution:   Python patch 21: Add standard methods and fields. (ZyX)
2013-05-30 13:05:58 +02:00
Bram Moolenaar 186aa83a76 Added tag v7-3-1061 for changeset 18ba89e06fab 2013-05-30 13:01:19 +02:00
Bram Moolenaar fc673598a6 updated for version 7.3.1061
Problem:    Python: Dictionary is not standard.
Solution:   Python patch 20: Add standard methods and fields. (ZyX)
2013-05-30 13:01:18 +02:00
Bram Moolenaar 9f7ba62c76 Added tag v7-3-1060 for changeset cb5c1e37ad4d 2013-05-30 12:43:54 +02:00
Bram Moolenaar ccace1c876 updated for version 7.3.1060
Problem:    Python: can't repr() a function.
Solution:   Python patch 19: add FunctionRepr(). (ZyX)
2013-05-30 12:43:54 +02:00
Bram Moolenaar 6743fdbe2b Added tag v7-3-1059 for changeset 548b889fe3cf 2013-05-30 12:40:39 +02:00
Bram Moolenaar 6c0ae9ee0c updated for version 7.3.1059
Problem:    Python: Using fixed size buffers.
Solution:   Python patch 18: Use python's own formatter. (ZyX)
2013-05-30 12:40:39 +02:00
Bram Moolenaar 9311c21a01 Added tag v7-3-1058 for changeset 66e615ce7f61 2013-05-30 12:35:52 +02:00
Bram Moolenaar 92da84fca7 updated for version 7.3.1058
Problem:    Call of funcref does not succeed in other script.
Solution:   Python patch 17: add get_expanded_name(). (ZyX)
2013-05-30 12:35:52 +02:00
Bram Moolenaar ff58f74727 Added tag v7-3-1057 for changeset 90beab957ba9 2013-05-30 12:26:58 +02:00
Bram Moolenaar e6501768d3 updated for version 7.3.1057
Problem:    Python: not enough compatibilty.
Solution:   Python patch 16: Make OutputWritelines support any sequence object
	    (ZyX) Note: tests fail
2013-05-30 12:26:58 +02:00
Bram Moolenaar f7b657d196 Added tag v7-3-1056 for changeset 21a99611149b 2013-05-30 12:14:49 +02:00
Bram Moolenaar 56f4aca10c updated for version 7.3.1056
Problem:    Python: possible memory leaks.
Solution:   Python patch 15. (ZyX) Fix will follow later.
2013-05-30 12:14:49 +02:00
Bram Moolenaar 921fe6e096 Added tag v7-3-1055 for changeset 5679b8ddd8cc 2013-05-30 11:51:08 +02:00
Bram Moolenaar 4eec86c5dd updated for version 7.3.1055
Problem:    Negated collection does not match newline.
Solution:   Handle newline differently. (Hiroshi Shirosaki)
2013-05-30 11:51:08 +02:00
Bram Moolenaar 5c2702101c Added tag v7-3-1054 for changeset 219b2fcad60d 2013-05-30 11:43:15 +02:00
Bram Moolenaar 2e19ea070d updated for version 7.3.1054
Problem:    Can't build without the +autocmd feature. (Elimar Riesebieter)
Solution:   Fix use of buf and curbuf.
2013-05-30 11:43:15 +02:00
Bram Moolenaar e35062dff3 Added tag v7-3-1053 for changeset 49f0fcd9762c 2013-05-29 22:58:32 +02:00
Bram Moolenaar 9b80dbb481 updated for version 7.3.1053
Problem:    Python: no flag for types with tp_traverse+tp_clear.
Solution:   Python patch 14: Add Py_TPFLAGS_HAVE_GC. (ZyX)
2013-05-29 22:58:32 +02:00
Bram Moolenaar 12d4e56765 Added tag v7-3-1052 for changeset 12421d8a45d5 2013-05-29 22:52:32 +02:00
Bram Moolenaar c9332e79ac updated for version 7.3.1052
Problem:    Python: possible SEGV and negative refcount.
Solution:   Python patch 13: Fix IterIter function. (ZyX)
2013-05-29 22:52:32 +02:00
Bram Moolenaar b267ee8638 Added tag v7-3-1051 for changeset 70600448f9e7 2013-05-29 22:49:26 +02:00
Bram Moolenaar 4cce192f2a updated for version 7.3.1051
Problem:    Python: possible memory leaks.
Solution:   Python patch 12: fix the leaks (ZyX)
2013-05-29 22:49:26 +02:00
Bram Moolenaar 04ae5e9d11 Added tag v7-3-1050 for changeset 38276cfe40b2 2013-05-29 22:46:26 +02:00
Bram Moolenaar 05b0b70b91 updated for version 7.3.1050
Problem:    Python: Typo in pyiter_to_tv.
Solution:   Python patch 11. (ZyX)
2013-05-29 22:46:26 +02:00
Bram Moolenaar d1c3a43913 Added tag v7-3-1049 for changeset 074491a83571 2013-05-29 22:43:37 +02:00
Bram Moolenaar b94857371c updated for version 7.3.1049
Problem:    Python: no consistent naming
Solution:   Python patch 10: Rename DICTKEY_GET_NOTEMPTY to DICTKEY_GET. (ZyX)
2013-05-29 22:43:37 +02:00
Bram Moolenaar 3331dae178 Added tag v7-3-1048 for changeset 19d406a8509d 2013-05-29 22:39:52 +02:00
Bram Moolenaar e12287ef25 updated for version 7.3.1048
Problem:    Python: no consistent naming.
Solution:   Python patch 9: Rename d to dict and lookupDict to lookup_dict.
	    (ZyX)
2013-05-29 22:39:52 +02:00
Bram Moolenaar 04ebe40f32 Added tag v7-3-1047 for changeset 89bec74fd793 2013-05-29 22:36:10 +02:00
Bram Moolenaar 21f1ef098b updated for version 7.3.1047
Problem:    Python: dir() does not work properly.
Solution:   Python patch 8.  Add __dir__ method to all objects with custom
	    tp_getattr supplemented by __members__ attribute for at least
	    python-2* versions.  __members__ is not mentioned in python-3*
	    dir() output even if it is accessible. (ZyX)
2013-05-29 22:36:10 +02:00
Bram Moolenaar e56e3cf2eb Added tag v7-3-1046 for changeset 00eecb2f8e3e 2013-05-29 22:26:18 +02:00
Bram Moolenaar ae82d0b057 updated for version 7.3.1046
Problem:    Python: Using Py_BuildValue for building strings.
Solution:   Python patch 7 and 7.5: Replace Py_BuildValue with
	    PyString_FromString. (ZyX)
2013-05-29 22:26:18 +02:00
Bram Moolenaar 593acdae5d Added tag v7-3-1045 for changeset 29b2be2bba0d 2013-05-29 22:20:01 +02:00
Bram Moolenaar 3c168c1ba6 updated for version 7.3.1045
Problem:    Python: No error handling for VimToPython function.
Solution:   Python patch 6. (ZyX)
2013-05-29 22:20:01 +02:00
Bram Moolenaar dd92b1b14f Added tag v7-3-1044 for changeset 0cf552b325b5 2013-05-29 22:15:30 +02:00
Bram Moolenaar 34d0b4e7af updated for version 7.3.1044
Problem:    Python: No {Buffer,TabPage,Window}.valid attributes.
Solution:   Python patch 5: add .valid (ZyX)
2013-05-29 22:15:30 +02:00
Bram Moolenaar b1c5986a50 Added tag v7-3-1043 for changeset 1e8952a5a726 2013-05-29 22:05:55 +02:00
Bram Moolenaar 85eb82dbd2 updated for version 7.3.1043
Problem:    Python: Dynamic compilation with 2.3 fails.
Solution:   Python patch 4. (ZyX)
2013-05-29 22:05:55 +02:00
Bram Moolenaar e7c894a7d6 Added tag v7-3-1042 for changeset fa39483a1363 2013-05-29 22:02:22 +02:00
Bram Moolenaar d6562c2815 updated for version 7.3.1042
Problem:    Python: can't assign to vim.Buffer.name.
Solution:   Python patch 3. (ZyX)
2013-05-29 22:02:22 +02:00
Bram Moolenaar 7d5332dcef Added tag v7-3-1041 for changeset 63c9b681c3db 2013-05-29 21:37:35 +02:00
Bram Moolenaar 3a2fe685aa updated for version 7.3.1041
Problem:    Python: Invalid read valgrind errors.
Solution:   Python patch 2: defer DICTKEY_UNREF until key is no longer needed.
	    (ZyX)
2013-05-29 21:37:35 +02:00
Bram Moolenaar 5a8deaa837 Added tag v7-3-1040 for changeset b9f87487d935 2013-05-29 21:33:39 +02:00
Bram Moolenaar 727d1c0029 updated for version 7.3.1040
Problem:    Python: Problems with debugging dynamic build.
Solution:   Python patch 1. (ZyX)
2013-05-29 21:33:39 +02:00
Bram Moolenaar dda0c9f2f4 Added tag v7-3-1039 for changeset 321cfbef9431 2013-05-29 21:14:42 +02:00
Bram Moolenaar 4499d77f77 updated for version 7.3.1039
Problem:    New regexp engine does not support \%23c, \%<23c and the like.
Solution:   Implement them. (partly by Yasuhiro Matsumoto)
2013-05-29 21:14:42 +02:00
Bram Moolenaar 19fd3e2fa5 Added tag v7-3-1038 for changeset 6a73ac422c67 2013-05-29 19:18:00 +02:00
Bram Moolenaar 2392b874a8 updated for version 7.3.1038
Problem:    Crash when using Cscope.
Solution:   Avoid negative argument to vim_strncpy(). (Narendran
	    Gopalakrishnan)
2013-05-29 19:18:00 +02:00
Bram Moolenaar ed14956d48 Added tag v7-3-1037 for changeset 7a2be4a39423 2013-05-29 18:45:11 +02:00
Bram Moolenaar 13efbd076d updated for version 7.3.1037
Problem:    Look-behind matching is very slow on long lines.
Solution:   Add a byte limit to how far back an attempt is made.
2013-05-29 18:45:11 +02:00
Bram Moolenaar f7e0ea9217 Added tag v7-3-1036 for changeset b22bff1a6af8 2013-05-28 22:52:17 +02:00
Bram Moolenaar 0075c35b27 updated for version 7.3.1036
Problem:    Can't build on HP-UX.
Solution:   Give the union a name. (John Marriott)
2013-05-28 22:52:16 +02:00
Bram Moolenaar c56e3e23d4 Added tag v7-3-1035 for changeset 626e9ccb7c48 2013-05-28 22:31:46 +02:00
Bram Moolenaar 69a8d528b6 updated for version 7.3.1035
Problem:    Compiler warning on 64 bit windows.
Solution:   Add type cast. (Mike Williams)
2013-05-28 22:31:46 +02:00
Bram Moolenaar 293d8d5558 Added tag v7-3-1034 for changeset 37e444aeb33b 2013-05-28 22:30:35 +02:00
Bram Moolenaar 4058d5acb7 updated for version 7.3.1034
Problem:    New regexp code using strange multi-byte code.
Solution:   Use the normal code to advance and backup pointers.
2013-05-28 22:30:35 +02:00
Bram Moolenaar e13afb6a04 Added tag v7-3-1033 for changeset b2a8e3a66f8c 2013-05-28 22:03:20 +02:00
Bram Moolenaar 05bde05d1d updated for version 7.3.1033
Problem:    "\1" .. "\9" are not supported in the new regexp engine.
Solution:   Implement them.  Add a few more tests.
2013-05-28 22:03:20 +02:00
Bram Moolenaar 0182c7c6db Added tag v7-3-1032 for changeset f262fb02889d 2013-05-27 20:10:50 +02:00
Bram Moolenaar 54cc0ea19b updated for version 7.3.1032
Problem:    "\ze" is not supported by the new regexp engine.
Solution:   Make "\ze" work.
2013-05-27 20:10:50 +02:00
Bram Moolenaar 9a12c5f875 Added tag v7-3-1031 for changeset 96c1a7850097 2013-05-27 11:22:04 +02:00
Bram Moolenaar f748fdf650 updated for version 7.3.1031
Problem:    Compiler warnings for shadowed variable. (John Little)
Solution:   Move the variable declarations to the scope where they are used.
2013-05-27 11:22:04 +02:00
Bram Moolenaar 1714f03975 Added tag v7-3-1030 for changeset d1f3c77159f9 2013-05-26 23:13:07 +02:00
Bram Moolenaar bd32586601 updated for version 7.3.1030
Problem:    Can't build for debugging.
Solution:   Fix struct member names.
2013-05-26 23:13:07 +02:00
Bram Moolenaar 5b4085b948 Added tag v7-3-1029 for changeset e7016af0cbf9 2013-05-26 22:56:19 +02:00
Bram Moolenaar 6838b73123 updated for version 7.3.1029
Problem:    New regexp performance: Unused position state being copied.
Solution:   Keep track of which positions are actually valid.
2013-05-26 22:56:19 +02:00
Bram Moolenaar 34ad85d96d Added tag v7-3-1028 for changeset 4d81fdda8f35 2013-05-26 21:47:28 +02:00
Bram Moolenaar 3f44d6d1a0 updated for version 7.3.1028
Problem:    New regexp performance: Copying a lot of position state.
Solution:   Only copy the sub-expressions that are being used.
2013-05-26 21:47:28 +02:00
Bram Moolenaar f695b1cdc5 Added tag v7-3-1027 for changeset 04086e297563 2013-05-26 19:19:52 +02:00
Bram Moolenaar 1a4a867beb updated for version 7.3.1027
Problem:    New regexp performance: Calling no_Magic() very often.
Solution:   Remove magicness inline.
2013-05-26 19:19:52 +02:00
Bram Moolenaar c4593571d2 Added tag v7-3-1026 for changeset 888c12c899e5 2013-05-26 18:40:14 +02:00
Bram Moolenaar 1d0833ab49 updated for version 7.3.1026
Problem:    New regexp: pattern that includs a new-line matches too early.
	    (john McGowan)
Solution:   Do not start searching in the second line.
2013-05-26 18:40:14 +02:00
Bram Moolenaar f81b639ba4 Added tag v7-3-1025 for changeset b2946c06d1b6 2013-05-26 17:45:50 +02:00
Bram Moolenaar 3c701e36cc updated for version 7.3.1025
Problem:    New regexp: not matching newline in string. (Marc Weber)
Solution:   Check for "\n" character.
2013-05-26 17:45:49 +02:00
Bram Moolenaar 37e60a50a0 Added tag v7-3-1024 for changeset 7b835b2969af 2013-05-26 16:57:28 +02:00
Bram Moolenaar 3efc4d5ff8 updated for version 7.3.1024
Problem:    New regexp: End of matching pattern not set correctly. (Cesar
	    Romani)
Solution:   Quit the loop after finding the match.  Store nfa_has_zend in the
	    program.
2013-05-26 16:57:28 +02:00
Bram Moolenaar fdc6803061 Added tag v7-3-1023 for changeset f0c37f5cf4ea 2013-05-26 15:14:55 +02:00
Bram Moolenaar 01a98314a9 updated for version 7.3.1023
Problem:    Searching for composing char only and using \Z has different
	    results.
Solution:   Make it match the composing char, matching everything is not
	    useful.
2013-05-26 15:14:55 +02:00
Bram Moolenaar 61654dc63b Added tag v7-3-1022 for changeset 849180347ac3 2013-05-26 14:54:12 +02:00
Bram Moolenaar 1a11131788 updated for version 7.3.1022
Problem:    Compiler warning for shadowed variable. (John Little)
Solution:   Move declaration, rename variables.
2013-05-26 14:54:12 +02:00
Bram Moolenaar e89aaa674c Added tag v7-3-1021 for changeset fc997f05cbc7 2013-05-26 14:32:05 +02:00
Bram Moolenaar c94fe4aed2 updated for version 7.3.1021
Problem:    New regexp engine does not ignore order of composing chars.
Solution:   Ignore composing chars order.
2013-05-26 14:32:05 +02:00
Bjorn Winckler 411115c18a Merge branch 'vim' 2013-05-26 10:46:25 +02:00
Bram Moolenaar 97f430661a Added tag v7-3-1020 for changeset f7944ce459ac 2013-05-25 23:15:27 +02:00
Bram Moolenaar 6207bb0b72 updated for version 7.3.1020
Problem:    Not all patterns are tested with auto / old / new engine.
Solution:   Test patterns with three values of 'regexpengine'.
2013-05-25 23:15:27 +02:00
Bram Moolenaar 9fda4274d2 Added tag v7-3-1019 for changeset 08ac46980953 2013-05-25 22:04:23 +02:00
Bram Moolenaar 440b097c49 updated for version 7.3.1019
Problem:    These do not work with the new regexp engine: \%o123, \%x123,
	    \%d123, \%u123 and \%U123.
Solution:   Implement these items.
2013-05-25 22:04:23 +02:00
Bram Moolenaar 350d2534b5 Added tag v7-3-1018 for changeset 80170d61a85c 2013-05-25 21:18:34 +02:00
Bram Moolenaar 695d699ffd updated for version 7.3.1018
Problem:    New regexp engine wastes memory.
Solution:   Allocate prog with actual number of states, not estimated maximum
	    number of sates.
2013-05-25 21:18:34 +02:00
Bram Moolenaar 94a8d0dfd9 Added tag v7-3-1017 for changeset 532c2e850256 2013-05-25 20:19:50 +02:00
Bram Moolenaar 1db6a5f683 updated for version 7.3.1017
Problem:    Zero width match changes length of match.
Solution:   For a zero width match put new states in the current position in
	    the state list.
2013-05-25 20:19:50 +02:00
Bram Moolenaar bbe5b7e3c2 Added tag v7-3-1016 for changeset 5cc98a5898cf 2013-05-25 15:31:05 +02:00
Bram Moolenaar 75fc6dc59b updated for version 7.3.1016
Problem:    Unused field in nfa_state.
Solution:   Remove lastthread.
2013-05-25 15:31:05 +02:00
Bram Moolenaar 357fed54b3 Added tag v7-3-1015 for changeset 45f97c349537 2013-05-25 14:42:03 +02:00
Bram Moolenaar e8ead96f62 updated for version 7.3.1015
Problem:    New regexp engine: Matching composing characters is wrong.
Solution:   Fix matching composing characters.
2013-05-25 14:42:03 +02:00
Bram Moolenaar 702d6facee Added tag v7-3-1014 for changeset 6a2005efa02b 2013-05-25 12:28:11 +02:00
Bram Moolenaar 9b3f436e22 updated for version 7.3.1014
Problem:    New regexp state dump is hard to read.
Solution:   Make the state dump more pretty. (Taro Muraoka)
2013-05-25 12:28:11 +02:00
Bram Moolenaar 55c47a98b2 Added tag v7-3-1013 for changeset 1be43c095aff 2013-05-25 12:18:39 +02:00
Bram Moolenaar 0e95629923 updated for version 7.3.1013
Problem:    New regexp logging is a bit messy.
Solution:   Consistently use #defines, add explanatory comment. (Taro Muraoka)
2013-05-25 12:18:39 +02:00
Bram Moolenaar a79394bca6 Added tag v7-3-1012 for changeset 432a6b8c7d93 2013-05-24 23:10:50 +02:00
Bram Moolenaar d450f3b08c updated for version 7.3.1012
Problem:    \Z does not work properly with the new regexp engine.
Solution:   Make \Z work.  Add tests.
2013-05-24 23:10:50 +02:00
Bram Moolenaar a71de2fd6f Added tag v7-3-1011 for changeset 55bcaa1d2749 2013-05-24 21:59:54 +02:00
Bram Moolenaar 29dc131a34 updated for version 7.3.1011
Problem:    New regexp engine is inefficient with multi-byte characters.
Solution:   Handle a character at a time instead of a byte at a time.  Also
	    make \Z partly work.
2013-05-24 21:59:54 +02:00
Bram Moolenaar b688203220 Added tag v7-3-1010 for changeset 36ddcf4cecbc 2013-05-24 20:25:33 +02:00
Bram Moolenaar 2e78b60d9a updated for version 7.3.1010
Problem:    New regexp: adding \Z makes every character match.
Solution:   Only apply ireg_icombine for composing characters.
	    Alsl add missing change from patch 1008. (Ken Takata)
2013-05-24 20:25:33 +02:00
Bram Moolenaar fdd3f6f0bf Added tag v7-3-1009 for changeset 57393dc4b811 2013-05-24 18:58:43 +02:00
Bram Moolenaar 47a6b43137 updated for version 7.3.1009
Problem:    Compiler warning for ambiguous else.
Solution:   Add curly braces.
2013-05-24 18:58:43 +02:00
Bjorn Winckler 9a7a0eefd4 Merge branch 'vim'
Conflicts:
	src/feature.h
2013-05-24 15:42:40 +02:00
Bram Moolenaar d7d358c02c Added tag v7-3-1008 for changeset 8cb14f59a327 2013-05-23 22:43:08 +02:00
Bram Moolenaar d3108d3f41 updated for version 7.3.1008
Problem:    Test 95 fails on MS-Windows.
Solution:   Set 'nomore'. Change \i to \f.  Change multi-byte character to
	    something that is not matching \i. (Ken Takata)
2013-05-23 22:43:08 +02:00
Bram Moolenaar 6ac574e6e5 Added tag v7-3-1007 for changeset fba9c0f86f77 2013-05-23 22:27:04 +02:00
Bram Moolenaar 39fec1cdb4 updated for version 7.3.1007
Problem:    Can't build on Minix 3.2.1.
Solution:   Add a condition to an #ifdef. (Gautam Tirumala)
2013-05-23 22:27:03 +02:00
Bram Moolenaar 3c2d6bd9f6 Added tag v7-3-1006 for changeset 9a2183bd8295 2013-05-23 22:25:15 +02:00
Bram Moolenaar 7b23a12cdd updated for version 7.3.1006
Problem:    NFA engine not used for "\_[0-9]".
Solution:   Enable this, fixed in patch 1005.
2013-05-23 22:25:15 +02:00
Bram Moolenaar 21dd8b2154 Added tag v7-3-1005 for changeset 90e9917d4114 2013-05-22 23:00:40 +02:00
Bram Moolenaar 604ac1d1fe updated for version 7.3.1005
Problem:    Get stuck on regexp "\n*" and on "%s/^\n\+/\r".
Solution:   Fix handling of matching a line break. (idea by Hirohito Higashi)
2013-05-22 23:00:40 +02:00
Bram Moolenaar 5546661c12 Added tag v7-3-1004 for changeset cadb57fbb781 2013-05-21 22:38:18 +02:00
Bram Moolenaar 6fa4d2d615 updated for version 7.3.1004
Problem:    No error when option could not be set.
Solution:   Report an error. (ZyX)
2013-05-21 22:38:18 +02:00
Bram Moolenaar 17902c0ff8 Added tag v7-3-1003 for changeset ce94a870b59b 2013-05-21 22:23:56 +02:00
Bram Moolenaar b7a3dee113 updated for version 7.3.1003
Problem:    Python interface does not compile with Python 2.2
Solution:   Fix thread issues and True/False. (ZyX)
2013-05-21 22:23:56 +02:00
Bram Moolenaar 623aabf566 Added tag v7-3-1002 for changeset b498224f5b41 2013-05-21 22:13:41 +02:00
Bram Moolenaar 14b92edb46 updated for version 7.3.1002
Problem:    Valgrind errors for Python interface.
Solution:   Fix memory leaks when running tests. (ZyX)
2013-05-21 22:13:41 +02:00
Bram Moolenaar 0405338bff Added tag v7-3-1001 for changeset 9dbbddb2ed10 2013-05-21 22:00:51 +02:00
Bram Moolenaar 4ad5e74176 updated for version 7.3.1001
Problem:    Duplicate condition in if.
Solution:   Remove one condition.
2013-05-21 22:00:51 +02:00
Bram Moolenaar f769e1db4f Added tag v7-3-1000 for changeset d037b9cbdaaa 2013-05-21 21:37:20 +02:00
Bram Moolenaar 310615ea90 updated for version 7.3.1000
Problem:    Typo in char value causes out of bounds access.
Solution:   Fix character value.  (Klemens Baum)
2013-05-21 21:37:20 +02:00
Bram Moolenaar dd8535b4a0 Added tag v7-3-999 for changeset e6e60d9da892 2013-05-21 21:20:20 +02:00
Bram Moolenaar 0028282203 updated for version 7.3.999
Problem:    New regexp engine sets curbuf temporarily.
Solution:   Use reg_buf instead, like the old engine.
2013-05-21 21:20:20 +02:00
Bram Moolenaar 6cdc3c1d50 Updated runtime files, language files and translations. 2013-05-21 21:01:10 +02:00
Bram Moolenaar 3cefe27330 Added tag v7-3-998 for changeset 47e6dec5ce3c 2013-05-21 20:51:59 +02:00
Bram Moolenaar 301a84a841 updated for version 7.3.998
Problem:    Python: garbage collection issues.
Solution:   Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative
	    refcounts, use PyObject_GC_* for objects with tp_traverse and
	    tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some
	    places. (ZyX)
2013-05-21 20:51:59 +02:00
Bram Moolenaar 5e272c8ce4 Added tag v7-3-997 for changeset ef02f32d8e53 2013-05-21 20:40:40 +02:00
Bram Moolenaar 6bcf71ccc1 updated for version 7.3.997
Problem:    Vim and Python exceptions are different.
Solution:   Make Vim exceptions be Python exceptions. (ZyX)
2013-05-21 20:40:40 +02:00
Bram Moolenaar 64cadac2d2 Added tag v7-3-996 for changeset ebd94eabfd80 2013-05-21 19:50:34 +02:00
Bram Moolenaar e45878722f updated for version 7.3.996
Problem:    Python: Can't check types of what is returned by bindeval().
Solution:   Add vim.List, vim.Dictionary and vim.Function types. (ZyX)
2013-05-21 19:50:34 +02:00
Bram Moolenaar 9a79825b24 Added tag v7-3-995 for changeset 6d517f6e5f0b 2013-05-21 19:11:01 +02:00
Bram Moolenaar 23f669a506 updated for version 7.3.995
Problem:    Python: Module initialization is duplicated.
Solution:   Move to shared file. (ZyX)
2013-05-21 19:11:01 +02:00
Bram Moolenaar 00568f124e Added tag v7-3-994 for changeset f74611bfb1b7 2013-05-21 19:01:56 +02:00
Bram Moolenaar b026a41005 updated for version 7.3.994
Problem:    Python: using magic constants.
Solution:   Use descriptive values for ml_flags. (ZyX)
2013-05-21 19:01:55 +02:00
Bram Moolenaar c2230f907a Added tag v7-3-993 for changeset dff1542e64f9 2013-05-21 18:47:21 +02:00
Bram Moolenaar 100b7304fe updated for version 7.3.993
Problem:    Python: Later patch does things slightly differently.
Solution:   Adjusted argument type changes. (ZyX)
2013-05-21 18:47:21 +02:00
Bram Moolenaar 22245b9553 Added tag v7-3-992 for changeset 89ea7593fc0c 2013-05-21 18:30:34 +02:00
Bram Moolenaar 6c56b21428 updated for version 7.3.992
Problem:    Python: Too many type casts.
Solution:   Change argument types. (ZyX)
2013-05-21 18:30:34 +02:00
Bram Moolenaar 63cc27a6ab Added tag v7-3-991 for changeset 8fe768bc1234 2013-05-21 18:19:38 +02:00
Bram Moolenaar 140009284c updated for version 7.3.991
Problem:    More can be shared by Python 2 and 3.
Solution:   Move more stuff to if_py_both. (ZyX)
2013-05-21 18:19:38 +02:00
Bram Moolenaar acb5b665c8 Added tag v7-3-990 for changeset 9a1d78f82826 2013-05-21 16:28:11 +02:00
Bram Moolenaar c3d37c5963 updated for version 7.3.990
Problem:    Memory leak in new regexp engine.
Solution:   Jump to end of function to free memory. (Dominique Pelle)
2013-05-21 16:28:11 +02:00
Bram Moolenaar 0b50908fcf Added tag v7-3-989 for changeset cd005ab15ef3 2013-05-21 15:33:41 +02:00
Bram Moolenaar d2ed488d5d updated for version 7.3.989
Problem:    New regexp engine compares negative numbers to character.
Solution:   Add missing case statements.
2013-05-21 15:33:41 +02:00
Bram Moolenaar f486b8abe5 Added tag v7-3-988 for changeset 035fb0d5e7ce 2013-05-21 14:03:00 +02:00
Bram Moolenaar d925009e9f updated for version 7.3.988
Problem:    New regexp engine is slow.
Solution:   Break out of the loop when the state list is empty.
2013-05-21 14:03:00 +02:00
Bram Moolenaar 9f6775395b Added tag v7-3-987 for changeset 032c9f916f25 2013-05-21 13:30:22 +02:00
Bram Moolenaar db8df55318 updated for version 7.3.987
Problem:    No easy to run an individual test.  Tests 64 fails when
	    'encoding' is not utf-8.
Solution:   Add individual test targets to the Makefile.  Move some lines from
	    test 64 to 95.
2013-05-21 13:30:21 +02:00
Bram Moolenaar ff776df2a6 Added tag v7-3-986 for changeset 3cc2dca142a0 2013-05-21 13:05:15 +02:00
Bram Moolenaar af63ee14be updated for version 7.3.986
Problem:    Test 95 doesn't pass when 'encoding' isn't utf-8. (Yasuhiro
	    Matsumoto)
Solution:   Force 'encoding' to be utf-8.
2013-05-21 13:05:15 +02:00
Bram Moolenaar 8905ece42b Added tag v7-3-985 for changeset 0c940b6f2828 2013-05-21 12:52:04 +02:00
Bram Moolenaar 6654109319 updated for version 7.3.985
Problem:    GTK vim not started as gvim doesn't set WM_CLASS property to a
	    useful value.
Solution:   Call g_set_prgname() on startup. (James McCoy)
2013-05-21 12:52:04 +02:00
Bram Moolenaar ae653b8b50 Added tag v7-3-984 for changeset 94c5441984cc 2013-05-21 12:46:03 +02:00
Bram Moolenaar 66b6de6c43 updated for version 7.3.984
Problem:    A Visual mapping that uses CTRL-G works differently when started
	    from Insert mode. (Ein Brown)
Solution:   Reset old_mapped_len when handling typed text in Select mode.
2013-05-21 12:46:02 +02:00
Bram Moolenaar 42753c38b8 Added tag v7-3-983 for changeset ab5154170c3d 2013-05-21 12:43:56 +02:00
Bram Moolenaar 9272ea15aa updated for version 7.3.983
Problem:    Uneccessary temp variable.
Solution:   Remove the variable.
2013-05-21 12:43:56 +02:00
Bram Moolenaar 939332307d Added tag v7-3-982 for changeset dde1cf311be6 2013-05-21 12:34:17 +02:00
Bram Moolenaar 33a4365025 updated for version 7.3.982
Problem:    In the new regexp engine \p does not work on multi-byte
	    characters.
Solution:   Don't point to an integer but the characters.
2013-05-21 12:34:17 +02:00
Bram Moolenaar 38a3bddd55 Added tag v7-3-981 for changeset 4ff8fa416a0d 2013-05-21 00:03:02 +02:00
Bram Moolenaar 8a7fb1fe1f updated for version 7.3.981
Problem:    In the old regexp engine \i, \I, \f and \F don't work on
	    multi-byte characters.
Solution:   Dereference pointer properly.
2013-05-21 00:03:02 +02:00
Bram Moolenaar 026083b893 Added tag v7-3-980 for changeset c83656c9745a 2013-05-20 22:20:02 +02:00
Bram Moolenaar 08f3d30e3e updated for version 7.3.980
Problem:    Regexp logs may contain garbage. Character classes don't work
	    correctly for multi-byte characters.
Solution:   Check for end of post list.  Only use "is" functions for
	    characters up to 255. (Ken Takata)
2013-05-20 22:20:02 +02:00
Bram Moolenaar accb0f17b2 Added tag v7-3-979 for changeset a63361b90979 2013-05-20 21:57:04 +02:00
Bram Moolenaar df544c7cf8 updated for version 7.3.979
Problem:    Complex NFA regexp doesn't work.
Solution:   Set actual state stack end instead of using an arbitrary number.
	    (Yasuhiro Matsumoto)
2013-05-20 21:57:03 +02:00
Bram Moolenaar 61bad21d01 Added tag v7-3-978 for changeset fe8a0a6a1c2a 2013-05-20 21:49:13 +02:00
Bram Moolenaar e3ec75f918 updated for version 7.3.978
Problem:    Regexp debug logs don't have a good name.
Solution:   Use clear names and make it possible to write logs for the old and
	    new engines separately. (Taro Muraoka)
2013-05-20 21:49:13 +02:00
Bram Moolenaar a1a51003dc Added tag v7-3-977 for changeset 21e13403140a 2013-05-20 21:26:33 +02:00
Bram Moolenaar 42afe649d6 updated for version 7.3.977
Problem:    Compiler warnings on 64 bit Windows.
Solution:   Add type casts. (Mike Williams)  Also fix some white space and
	    uncomment what was commented-out for testing.
2013-05-20 21:26:33 +02:00
Bram Moolenaar 52f5b55cbc Added tag v7-3-976 for changeset 015a8fabf900 2013-05-20 13:55:21 +02:00
Bram Moolenaar 8f0a12d3dd updated for version 7.3.976
Problem:    Can't build on HP-UX.
Solution:   Remove modern initialization. (John Marriott)
2013-05-20 13:55:21 +02:00
Bram Moolenaar 9df2e17397 Added tag v7-3-975 for changeset 44b89b025cdf 2013-05-20 13:44:29 +02:00
Bram Moolenaar 5d4460b6ae updated for version 7.3.975
Problem:    Crash in regexp parsing.
Solution:   Correctly compute the end of allocated memory.
2013-05-20 13:44:29 +02:00
Bram Moolenaar 6f8120ea4b Added tag v7-3-974 for changeset 92fec4b83be5 2013-05-20 12:52:30 +02:00
Bram Moolenaar e5d03a1966 updated for version 7.3.974
Problem:    Can't build with ruby 1.8.5.
Solution:   Only use ruby_init_stack() when RUBY_INIT_STACK is defined.
	    (Yukihiro Nakadaira)
2013-05-20 12:52:29 +02:00
Bram Moolenaar fb19520b31 Added tag v7-3-973 for changeset 09e1e574a52d 2013-05-19 22:31:18 +02:00
Bram Moolenaar 20949b7101 updated for version 7.3.973
Problem:    Compiler warnings. Crash on startup. (Tony Mechelynck)
Solution:   Change EMSG2 to EMSGN. Make array one character longer.
2013-05-19 22:31:18 +02:00
Bram Moolenaar 1af5ea1ff2 Added tag v7-3-972 for changeset ba53304245f0 2013-05-19 21:15:15 +02:00
Bram Moolenaar b16635bee3 updated for version 7.3.972
Problem:    Cursor not restored after InsertEnter autocommand if it moved to
	    another line.
Solution:   Also restore if the saved line number is still valid.  Allow
	    setting v:char to skip restoring.
2013-05-19 21:15:15 +02:00
Bram Moolenaar 259b11c074 Added tag v7-3-971 for changeset 8d6bb2338a58 2013-05-19 21:03:54 +02:00
Bram Moolenaar f5c68d04d4 updated for version 7.3.971
Problem:    No support for VS2012 static code analysis.
Solution:   Add the ANALYZE option. (Mike Williams)
2013-05-19 21:03:54 +02:00
Bram Moolenaar 36337a21ce Added tag v7-3-970 for changeset ccecb03e5e8b 2013-05-19 19:40:29 +02:00
Bram Moolenaar 5f37cdb4b1 updated for version 7.3.970
Problem:    Syntax highlighting can be slow.
Solution:   Include the NFA regexp engine.  Add the 'regexpengine' option to
	    select which one is used. (various authors, including Ken Takata,
	    Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young)
2013-05-19 19:40:29 +02:00
Bram Moolenaar 4ed139ab26 Added tag v7-3-969 for changeset 137f9d41f508 2013-05-18 20:55:35 +02:00
Bram Moolenaar 6d463886bd updated for version 7.3.969
Problem:    Can't built with Python 3 and without Python 2.
Solution:   Adjust #ifdef. (Xavier de Gaye)
2013-05-18 20:55:35 +02:00
Bram Moolenaar 09b5a96233 Added tag v7-3-968 for changeset dfbe53a54c79 2013-05-18 20:45:59 +02:00
Bram Moolenaar 5ae5a8cbbb updated for version 7.3.968
Problem:    Multi-byte support is only available when compiled with "big"
	    features.
Solution:   Include multi-byte by default, with "normal" features.
2013-05-18 20:45:59 +02:00
Bjorn Winckler 11b2e90995 Merge branch 'vim'
Conflicts:
	runtime/syntax/vim.vim
	src/auto/configure
	src/eval.c
	src/if_ruby.c
	src/misc1.c
	src/normal.c
2013-05-18 16:18:54 +02:00
Bram Moolenaar 3bb9bec040 Added tag v7-3-967 for changeset 20e30e31bd86 2013-05-17 21:20:17 +02:00
Bram Moolenaar b671311165 updated for version 7.3.967
Problem:    Build fails on Mac OSX. (Greg Novack)
Solution:   Undefine clear().
2013-05-17 21:20:17 +02:00
Bram Moolenaar 78e9d3f7e2 Update runtime files. 2013-05-17 18:14:19 +02:00
Bram Moolenaar f0da16faee Added tag v7-3-966 for changeset 9b800f0a757f 2013-05-17 16:40:06 +02:00
Bram Moolenaar 89f9ffa420 updated for version 7.3.966
Problem:    There is ":py3do" but no ":pydo".
Solution:   Add the ":pydo" command. (Lilydjwg)
2013-05-17 16:40:06 +02:00
Bram Moolenaar 1607275647 Added tag v7-3-965 for changeset 8a3ca4adb5d8 2013-05-17 16:24:32 +02:00
Bram Moolenaar 0cea63f084 updated for version 7.3.965
Problem:    Python garbage collection not working properly.
Solution:   Add support for garbage collection. (ZyX)
2013-05-17 16:24:32 +02:00
Bram Moolenaar b75132a7b3 Added tag v7-3-964 for changeset 7d81f4e96728 2013-05-17 16:18:34 +02:00
Bram Moolenaar 18b6d2ab41 updated for version 7.3.964
Problem:    Python: not so easy to access tab pages.
Solution:   Add window.tabpage, make window.number work with non-current tab
	    pages. (ZyX)
2013-05-17 16:18:33 +02:00
Bram Moolenaar f6a0139a68 Added tag v7-3-963 for changeset 7eafa576528e 2013-05-17 16:03:58 +02:00
Bram Moolenaar b4af40af94 updated for version 7.3.963
Problem:    Setting curbuf without curwin causes trouble.
Solution:   Add switch_buffer() and restore_buffer().  Block autocommands to
	    avoid trouble.
2013-05-17 16:03:57 +02:00
Bram Moolenaar a0bb9e657a Added tag v7-3-962 for changeset 0a94ac379769 2013-05-17 13:38:04 +02:00
Bram Moolenaar c65db5cb5f updated for version 7.3.962
Problem:    Python tests are not portable.
Solution:   Use shiftwidth instead of iminsert. (ZyX)
2013-05-17 13:38:04 +02:00
Bram Moolenaar 9d6823d538 Added tag v7-3-961 for changeset d5177d5ece0c 2013-05-16 20:47:56 +02:00
Bram Moolenaar 8233d03ee4 updated for version 7.3.961
Problem:    Tests 86 and 87 fail when using another language than English.
Solution:   Set the language to C in the test. (Dominique Pelle)
2013-05-16 20:47:56 +02:00
Bram Moolenaar 5469d507e3 Added tag v7-3-960 for changeset e67522c4f566 2013-05-15 23:13:10 +02:00
Bram Moolenaar 981a9947ea updated for version 7.3.960
Problem:    Compiler warning for unused variable.
Solution:   Put declaration in #ifdef.
2013-05-15 23:13:10 +02:00
Bram Moolenaar f21ef21f36 Added tag v7-3-959 for changeset ef6b11bb183d 2013-05-15 19:44:40 +02:00
Bram Moolenaar 8fd7f26ecc updated for version 7.3.959
Problem:    Missing error number.
Solution:   Assign an error number.
2013-05-15 19:44:39 +02:00
Bram Moolenaar cfe934e26b Added tag v7-3-958 for changeset 58b74ab7f29d 2013-05-15 19:07:47 +02:00
Bram Moolenaar 46c643d0b7 updated for version 7.3.958
Problem:    Python: Iteration destructor not set.
Solution:   Put IterDestructor to use. (ZyX)
2013-05-15 19:07:47 +02:00
Bram Moolenaar 0f583b9287 Added tag v7-3-957 for changeset c16602758d84 2013-05-15 18:28:13 +02:00
Bram Moolenaar 8cf01de2b6 updated for version 7.3.957
Problem:    Python does not have a "do" command like Perl or Lua.
Solution:   Add the ":py3do" command. (Lilydjwg)
2013-05-15 18:28:13 +02:00
Bram Moolenaar f0175a787c Added tag v7-3-956 for changeset 0bbacb6a83bd 2013-05-15 17:49:05 +02:00
Bram Moolenaar 469a16b25e updated for version 7.3.956
Problem:    Python vim.bindeval() causes SIGABRT.
Solution:   Make pygilstate a local variable. (Yukihiro Nakadaira)
2013-05-15 17:49:05 +02:00
Bram Moolenaar bc76f61d4e Added tag v7-3-955 for changeset fa90ebf2c8f3 2013-05-15 16:27:37 +02:00
Bram Moolenaar 9d9b2453ec updated for version 7.3.955
Problem:    Python: Not enough tests.
Solution:   Add tests for vim.{current,window*,tabpage*}. (ZyX)
2013-05-15 16:27:37 +02:00
Bram Moolenaar c21cee9b3e Added tag v7-3-954 for changeset 1afdb7d21c14 2013-05-15 16:11:50 +02:00
Bram Moolenaar d653c11f3d updated for version 7.3.954
Problem:    No check if PyObject_IsTrue fails.
Solution:   Add a check for -1 value. (ZyX)
2013-05-15 16:11:50 +02:00
Bram Moolenaar f7d8bdb223 Added tag v7-3-953 for changeset 7b789d337820 2013-05-15 16:04:40 +02:00
Bram Moolenaar 34c9ca1102 updated for version 7.3.953
Problem:    Python: string exceptions are deprecated.
Solution:   Make vim.error an Exception subclass. (ZyX)
2013-05-15 16:04:40 +02:00
Bram Moolenaar 4959681186 Added tag v7-3-952 for changeset 2a166caf8709 2013-05-15 15:51:08 +02:00
Bram Moolenaar bc72314608 updated for version 7.3.952
Problem:    Python: It's not easy to change window/buffer/tabpage.
Solution:   Add ability to assign to vim.current.{tabpage,buffer,window}.
	    (ZyX)
2013-05-15 15:51:08 +02:00
Bram Moolenaar d20fc73180 Added tag v7-3-951 for changeset 907b1f035ee7 2013-05-15 15:44:28 +02:00
Bram Moolenaar 4ca5875815 updated for version 7.3.951
Problem:    Python exceptions have problems.
Solution:   Change some IndexErrors to TypeErrors. Make “line number out of
	    range” an IndexError.  Make “unable to get option value” a
	    RuntimeError. Make all PyErr_SetString messages start with
	    lowercase letter and use _(). (ZyX)
2013-05-15 15:44:28 +02:00
Bram Moolenaar 92fa0aa0ee Added tag v7-3-950 for changeset d4816e7c3328 2013-05-15 15:35:09 +02:00
Bram Moolenaar 36ff1a0017 updated for version 7.3.950
Problem:    Python: Stack trace printer can't handle messages.
Solution:   Make KeyErrors use PyErr_SetObject. (ZyX)
2013-05-15 15:35:09 +02:00
Bram Moolenaar 8b425343e2 Added tag v7-3-949 for changeset cfd76908da25 2013-05-15 15:12:29 +02:00
Bram Moolenaar e100baa455 updated for version 7.3.949
Problem:    Python: no easy access to tabpages.
Solution:   Add vim.tabpages and vim.current.tabpage. (ZyX)
2013-05-15 15:12:29 +02:00
Bram Moolenaar 40413d319b Added tag v7-3-948 for changeset a6f0544df95e 2013-05-15 14:51:35 +02:00
Bram Moolenaar 2d8401eccc updated for version 7.3.948
Problem:    Cannot build with Python 2.2
Solution:   Make Python interface work with Python 2.2
	    Make 2.2 the first supported version. (ZyX)
2013-05-15 14:51:35 +02:00
Bram Moolenaar 283ab61ff8 Added tag v7-3-947 for changeset a84f21892563 2013-05-15 14:39:52 +02:00
Bram Moolenaar 9936ba050f updated for version 7.3.947
Problem:    Python: No iterator for vim.list and vim.bufferlist.
Solution:   Add the iterators. Also fix name of FunctionType. Add tests for
	    vim.buffers.  (ZyX)
2013-05-15 14:39:52 +02:00
Bram Moolenaar bfba1a6921 Added tag v7-3-946 for changeset 113768420756 2013-05-15 14:22:41 +02:00
Bram Moolenaar 442cf5643a updated for version 7.3.946
Problem:    Sometimes get stuck in waiting for cursor position report,
	    resulting in keys starting with <Esc>[ not working.
Solution:   Only wait for more characters after <Esc>[ if followed by '?', '>'
	    or a digit.
2013-05-15 14:22:41 +02:00
Bram Moolenaar 927f4abb27 Added tag v7-3-945 for changeset 80eea7a9d6b9 2013-05-15 13:38:47 +02:00
Bram Moolenaar f73743182a updated for version 7.3.945
Problem:    Python: List of buffers is not very useful.
Solution:   Make vim.buffers a map. No iterator yet. (ZyX)
2013-05-15 13:38:47 +02:00
Bram Moolenaar 66dc7c145c Added tag v7-3-944 for changeset 71fa86c8fd4a 2013-05-13 20:26:53 +02:00
Bram Moolenaar 2765f06d6f updated for version 7.3.944
Problem:    External program receives the termrespone.
Solution:   Insert a delay and discard input. (Hayaki Saito)
2013-05-13 20:26:53 +02:00
Bram Moolenaar feede28659 Added tag v7-3-943 for changeset 736b8e18a3bc 2013-05-12 21:16:23 +02:00
Bram Moolenaar 59b328883a updated for version 7.3.943
Problem:    Python: Negative indices were failing.
Solution:   Fix negative indices. Add tests. (ZyX)
2013-05-12 21:16:23 +02:00
Bram Moolenaar bfc7c8e6c7 Added tag v7-3-942 for changeset 358c10968c7f 2013-05-12 20:36:14 +02:00
Bram Moolenaar c5ce83a8ab updated for version 7.3.942
Problem:    Python: SEGV in Buffer functions.
Solution:   Call CheckBuffer() at the right time. (ZyX)
2013-05-12 20:36:14 +02:00
Bram Moolenaar ec6bc7afb8 Added tag v7-3-941 for changeset da71e66dc1d4 2013-05-12 19:45:36 +02:00
Bram Moolenaar 61b1fe8326 updated for version 7.3.941
Problem:    Stuff in if_py_both.h is ordered badly.
Solution:   Reorder by type. (ZyX)
2013-05-12 19:45:35 +02:00
Bram Moolenaar cc32e7f070 Added tag v7-3-940 for changeset e2db42528a5b 2013-05-12 19:30:31 +02:00
Bram Moolenaar e5bf4affc4 updated for version 7.3.940
Problem:    Python: Can't get position of window.
Solution:   Add window.row and window.col. (ZyX)
2013-05-12 19:30:31 +02:00
Bram Moolenaar ac2bf33b5d Added tag v7-3-939 for changeset 48a22f36ff45 2013-05-12 19:09:51 +02:00
Bram Moolenaar e82adc1af7 updated for version 7.3.939
Problem:    Using Py_BuildValue is inefficient sometimes.
Solution:   Use PyLong_FromLong(). (ZyX)
2013-05-12 19:09:51 +02:00
Bram Moolenaar 83b8f11bbf Added tag v7-3-938 for changeset a2f03b41dca7 2013-05-12 19:00:41 +02:00
Bram Moolenaar a0b0fbec7f updated for version 7.3.938
Problem:    Python: not easy to get to window number.
Solution:   Add vim.window.number. (ZyX)
2013-05-12 19:00:41 +02:00
Bram Moolenaar 2903ca0e74 Added tag v7-3-937 for changeset 8ec7323f417d 2013-05-12 18:44:48 +02:00
Bram Moolenaar 204ca0bb29 updated for version 7.3.937
Problem:    More can be shared between Python 2 and 3.
Solution:   Move code to if_py_both.h. (ZyX)
2013-05-12 18:44:48 +02:00
Bram Moolenaar 3d1dd32ede Added tag v7-3-936 for changeset e7361b2d8136 2013-05-12 14:11:17 +02:00
Bram Moolenaar 5bb36ed7e2 updated for version 7.3.936
Problem:    Ruby 1.8: Missing piece for static linking on 64 bit systems.
Solution:   Define ruby_init_stack() (Hiroshi Shirosaki)
	    Also fix preprocessor indents.
2013-05-12 14:11:17 +02:00
Bram Moolenaar 8715bb575d Added tag v7-3-935 for changeset c42e130ebf36 2013-05-11 17:45:48 +02:00
Bram Moolenaar b504a2e283 updated for version 7.3.935
Problem:    Init stack works differently on 64 bit systems.
Solution:   Handle 64 bit systems and also static library. (Yukihiro
	    Nakadaira)
2013-05-11 17:45:48 +02:00
Bram Moolenaar c4b1e03894 Added tag v7-3-934 for changeset 000bb500208d 2013-05-11 15:50:33 +02:00
Bram Moolenaar c44abc4292 updated for version 7.3.934
Problem:    E381 and E380 make the user think nothing happened.
Solution:   Display the message indicating what error list is now active.
	    (Christian Brabandt)
2013-05-11 15:50:33 +02:00
Bram Moolenaar d42077c883 Added tag v7-3-933 for changeset c9820396afb9 2013-05-11 13:56:18 +02:00
Bram Moolenaar f0923815c7 updated for version 7.3.933
Problem:    Ruby on Mac crashes due to GC failure.
Solution:   Init the stack from main(). (Hiroshi Shirosaki)
2013-05-11 13:56:18 +02:00
Bram Moolenaar 3c4b16aefe Added tag v7-3-932 for changeset b7f2d97ae2b7 2013-05-11 13:45:05 +02:00
Bram Moolenaar ea71cff8b9 updated for version 7.3.932
Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize the variable.
2013-05-11 13:45:05 +02:00
Bram Moolenaar 5fc932a075 Added tag v7-3-931 for changeset fe0c7437ae8b 2013-05-07 05:18:20 +02:00
Bram Moolenaar cde671d1df updated for version 7.3.931
Problem:    No completion for :xmap and :smap. (Yukihiro Nakadaira)
Solution:   Add the case statements. (Christian Brabandt)
2013-05-07 05:18:20 +02:00
Bram Moolenaar deb36fe886 Added tag v7-3-930 for changeset d85196defe0d 2013-05-07 05:11:17 +02:00
Bram Moolenaar fdc8aedd64 updated for version 7.3.930
Problem:    MSVC 2012 update is not recognized.
Solution:   Update the version in the makefile. (Raymond Ko)
2013-05-07 05:11:17 +02:00
Bram Moolenaar 59e42be98c Added tag v7-3-929 for changeset 94aa0d30a3ea 2013-05-06 06:45:47 +02:00
Bram Moolenaar f88f430f65 updated for version 7.3.929
Problem:    Compiler warning for unused variable. Not freeing unused string.
Solution:   Remove the variable. Clear the options.
2013-05-06 06:45:47 +02:00
Bram Moolenaar d14327dc4d Added tag v7-3-928 for changeset 6d45e6f97415 2013-05-06 06:26:15 +02:00
Bram Moolenaar 9a584e22dc updated for version 7.3.928
Problem:    Can't build with strict C compiler.
Solution:   Move declaration to start of block. (Taro Muraoka)
2013-05-06 06:26:15 +02:00
Bram Moolenaar f257d3eb7f Updated runtime files. 2013-05-06 05:58:55 +02:00
Bram Moolenaar 5fb1670415 Added tag v7-3-927 for changeset d67e292af6f9 2013-05-06 05:50:28 +02:00
Bram Moolenaar 829c378e09 updated for version 7.3.927
Problem:    Missing combining characters when putting text in a register.
Solution:   Include combining characters. (David Bürgin)
2013-05-06 05:50:28 +02:00
Bram Moolenaar 3376c92cce Added tag v7-3-926 for changeset c80838526eeb 2013-05-06 04:50:35 +02:00
Bram Moolenaar b472e685e9 updated for version 7.3.926
Problem:    Autocommands are triggered by setwinvar() et al. Missing BufEnter
	    on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of
	    events for :tablose and :tabnew.
Solution:   Fix these autocommand events. (Zyx)
2013-05-06 04:50:35 +02:00
Bram Moolenaar 9e746397b6 Added tag v7-3-925 for changeset 04736b4030ec 2013-05-06 04:24:17 +02:00
Bram Moolenaar 76e5f82bfe updated for version 7.3.925
Problem:    Typos in source files.
Solution:   Fix the typos. (Ken Takata)
2013-05-06 04:24:17 +02:00
Bram Moolenaar e1de03d47a Added tag v7-3-924 for changeset 7eaccdaa5304 2013-05-06 03:52:55 +02:00
Bram Moolenaar 90f9d857c3 updated for version 7.3.924
Problem:    Python interface can't easily access options.
Solution:   Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
2013-05-06 03:52:55 +02:00
Bram Moolenaar 4f6979f2f5 Added tag v7-3-923 for changeset 6ecb80dc6521 2013-05-04 04:40:15 +02:00
Bram Moolenaar 781556bc1d updated for version 7.3.923
Problem:    Check for X11 header files fails on Solaris.
Solution:   Only use -Werror for gcc. (Laurent Blume)
2013-05-04 04:40:15 +02:00
Bram Moolenaar a9487f5208 Added tag v7-3-922 for changeset 1d56e5dfa08e 2013-05-04 04:11:07 +02:00
Bram Moolenaar bf429e07ec updated for version 7.3.922
Problem:    No test for what 7.3.918 fixes.
Solution:   Add a test. (David Bürgin)
2013-05-04 04:11:07 +02:00
Bram Moolenaar f53bdaa53c Added tag v7-3-921 for changeset 97474f967eec 2013-05-04 03:42:34 +02:00
Bram Moolenaar 34aae14104 updated for version 7.3.921
Problem:    Trying to create a fontset handle when 'guifontset' is not set.
Solution:   Add curly braces around the code block. (Max Kirillov)
2013-05-04 03:42:34 +02:00
Bram Moolenaar d9d2989ffa Added tag v7-3-920 for changeset 923277a9cce4 2013-05-04 03:40:27 +02:00
Bram Moolenaar 04064ae4c7 updated for version 7.3.920
Problem:    Compiler warning for size_t to int.
Solution:   Add a type cast. (Mike Williams)
2013-05-04 03:40:27 +02:00
Bram Moolenaar a1f777046b Added tag v7-3-919 for changeset 12636b824816 2013-05-04 03:37:11 +02:00
Bram Moolenaar 197b219cc5 updated for version 7.3.919
Problem:    An empty nl.po file does not work with an old msgfmt.
Solution:   Put a single # in the file. (Laurent Blume)
2013-05-04 03:37:10 +02:00
Bram Moolenaar 8c23801004 Updated runtime files. 2013-04-24 18:51:19 +02:00
Bram Moolenaar 4ec494f9cd Added tag v7-3-918 for changeset 6a8ffaf05856 2013-04-24 18:34:45 +02:00
Bram Moolenaar f83d7a26fb updated for version 7.3.918
Problem:    Repeating an Ex command after using a Visual motion does not work.
Solution:   Check for an Ex command being used. (David Bürgin)
2013-04-24 18:34:45 +02:00
Bram Moolenaar 8413f97c21 Added tag v7-3-917 for changeset 3887b02953ce 2013-04-24 17:34:20 +02:00
Bram Moolenaar 0331847950 updated for version 7.3.917
Problem:    When a path ends in a backslash appending a comma has the wrong
	    effect.
Solution:   Replace a trailing backslash with a slash. (Nazri Ramliy)
2013-04-24 17:34:20 +02:00
Bram Moolenaar 552df2b618 Added tag v7-3-916 for changeset f39af3419570 2013-04-24 16:52:36 +02:00
Bram Moolenaar 0c0f6ffd98 updated for version 7.3.916
Problem:    Using freed memory when pasting with the mouse (Issue 130).
Solution:   Get the byte value early. (hint by Dominique Pelle)
2013-04-24 16:52:36 +02:00
Bram Moolenaar e2c35d807b Added tag v7-3-915 for changeset d8053e6bf72a 2013-04-24 16:34:02 +02:00
Bram Moolenaar 35dffc8507 updated for version 7.3.915
Problem:    When reading a file with encoding conversion fails at the end the
	    next encoding in 'fencs' is not used.
Solution:   Retry with another encoding when possible. (Taro Muraoka)
2013-04-24 16:34:02 +02:00
Bram Moolenaar 4c1224604e Added tag v7-3-914 for changeset 9f642ac84df9 2013-04-24 15:47:15 +02:00
Bram Moolenaar 8e4ef1a6d7 updated for version 7.3.914
Problem:    ~/.viminfo is messed up when running tests.
Solution:   Set the viminfo filename.
2013-04-24 15:47:15 +02:00
Bram Moolenaar 569bcb6748 Added tag v7-3-913 for changeset 0d3573091d42 2013-04-24 15:39:11 +02:00
Bram Moolenaar 5f50918eaf updated for version 7.3.913
Problem:    Still a crash when writing viminfo.
Solution:   Add checks for NULL pointers. (Ron Aaron)
2013-04-24 15:39:11 +02:00
Bram Moolenaar ff1c603f6a Added tag v7-3-912 for changeset 62eadd7de409 2013-04-24 15:12:32 +02:00
Bram Moolenaar 40edc03840 updated for version 7.3.912
Problem:    Typing a ":" command at the hit-enter dialog does not work if the
	    "file changed" dialog happens next.
Solution:   Check for changed files before giving the hit-enter dialog.
2013-04-24 15:12:32 +02:00
Bram Moolenaar b18546db8a Added tag v7-3-911 for changeset f1eab4f77a6f 2013-04-24 14:07:45 +02:00
Bram Moolenaar 5e5ba1d9ef updated for version 7.3.911
Problem:    Python: Access to Vim variables is not so easy.
Solution:   Define vim.vars and vim.vvars. (ZyX)
2013-04-24 14:07:45 +02:00
Bram Moolenaar 2627e52524 Added tag v7-3-910 for changeset d8d9c591c50f 2013-04-24 13:47:45 +02:00
Bram Moolenaar 47ed369f91 updated for version 7.3.910
Problem:    Python code in #ifdef branches with only minor differences.
Solution:   Merge the #ifdef branches. (ZyX)
2013-04-24 13:47:45 +02:00
Bram Moolenaar 2f58a055f9 Added tag v7-3-909 for changeset b79f3c3a584c 2013-04-24 13:39:15 +02:00
Bram Moolenaar f7de925840 updated for version 7.3.909
Problem:    Duplicate Python code.
Solution:   Move more items to if_py_both.h. (ZyX)  Also avoid compiler
	    warnings for missing initializers.
2013-04-24 13:39:15 +02:00
Bram Moolenaar 4369c7d988 Added tag v7-3-908 for changeset 4281875776fb 2013-04-24 13:10:41 +02:00
Bram Moolenaar 613581371d updated for version 7.3.908
Problem:    Possible crash when using a list in Python.
Solution:   Return early if the list is NULL. (ZyX)
2013-04-24 13:10:41 +02:00
Bram Moolenaar 1b65869205 Added tag v7-3-907 for changeset 9f3da1dea7c0 2013-04-24 13:04:26 +02:00
Bram Moolenaar ac94621d1d updated for version 7.3.907
Problem:    Python uses IndexError when a dict key is not found.
Solution:   Use KeyError instead. (ZyX)
2013-04-24 13:04:26 +02:00
Bram Moolenaar 8cf13bc383 Added tag v7-3-906 for changeset ff1f3e42df08 2013-04-24 12:56:19 +02:00
Bram Moolenaar dbbe9337aa updated for version 7.3.906
Problem:    The "sleep .2" for running tests does not work on Solaris.
Solution:   Fall back to using "sleep 1". (Laurent Blume)
2013-04-24 12:56:19 +02:00
Bram Moolenaar 5a0b2dc033 Added tag v7-3-905 for changeset 8e1d1da398b3 2013-04-15 22:22:58 +02:00
Bram Moolenaar c7c77af213 updated for version 7.3.905
Problem:    Crash when writing viminfo. (Ron Aaron)
Solution:   Prevent freed history info to be used.
2013-04-15 22:22:57 +02:00
Bram Moolenaar 4892d92cae Added tag v7-3-904 for changeset bdab73bf24a8 2013-04-15 18:25:59 +02:00
Bram Moolenaar 8f92747be8 updated for version 7.3.904
Problem:    Using memory freed by the garbage collector.
Solution:   Mark items in aucmd_win as used.
2013-04-15 18:25:59 +02:00
Bram Moolenaar c93d0ac31a Added tag v7-3-903 for changeset 166b3df562ea 2013-04-15 16:14:22 +02:00
Bram Moolenaar d13f8ce613 updated for version 7.3.903
Problem:    Crash on exit writing viminfo. (Ron Aaron)
Solution:   Check for the history to be empty.
2013-04-15 16:14:22 +02:00
Bram Moolenaar 60b061e971 Added tag v7-3-902 for changeset b01e3cff9253 2013-04-15 15:55:19 +02:00
Bram Moolenaar 0bb8c5f622 updated for version 7.3.902
Problem:    When deleting last buffer in other tab the tabline is not updated.
Solution:   Set the redraw_tabline flag. (Yukihiro Nakadaira)
2013-04-15 15:55:19 +02:00
Bram Moolenaar f9e45ed0fc Added tag v7-3-901 for changeset 790238e5a46c 2013-04-15 15:47:13 +02:00
Bram Moolenaar 1f73adf977 updated for version 7.3.901
Problem:    Outdated comment, ugly condition.
Solution:   Update a few comments, break line.
2013-04-15 15:47:12 +02:00
Bram Moolenaar 1c7dcd9f2d Added tag v7-3-900 for changeset b53fa3b43193 2013-04-15 15:40:33 +02:00
Bram Moolenaar 1a0d13b49a updated for version 7.3.900
Problem:    Not obvious that some mouse features are mutual-exclusive.
Solution:   Add a comment.
2013-04-15 15:40:33 +02:00
Bram Moolenaar 30e9a83d60 Added tag v7-3-899 for changeset bb3cfdb62607 2013-04-15 15:32:25 +02:00
Bram Moolenaar e84e373b69 updated for version 7.3.899
Problem:    #if indents are off.
Solution:   Fix the indents.
2013-04-15 15:32:25 +02:00
Bram Moolenaar 6232475237 Added tag v7-3-898 for changeset aca1886102bd 2013-04-15 15:15:36 +02:00
Bram Moolenaar 1c48edaa53 updated for version 7.3.898
Problem:    Memory leak reported by valgrind in test 91.
Solution:   Only use default argument when needed.
2013-04-15 15:15:35 +02:00
Bram Moolenaar 8760fc5a10 Added tag v7-3-897 for changeset 5aa74a2f8f9d 2013-04-15 14:44:58 +02:00
Bram Moolenaar b9479f833f updated for version 7.3.897
Problem:    Configure doesn't always find the shared library.
Solution:   Change the configure script. (Ken Takata)
2013-04-15 14:44:57 +02:00
Bram Moolenaar e5bd58a05c Added tag v7-3-896 for changeset af3a3680fc75 2013-04-15 13:49:21 +02:00
Bram Moolenaar 91be375bac updated for version 7.3.896
Problem:    Memory leaks in Lua interface.
Solution:   Fix the leaks, add tests. (Yukihiro Nakadaira)
2013-04-15 13:49:21 +02:00
Bram Moolenaar 912982d303 Added tag v7-3-895 for changeset 11007e80829c 2013-04-15 13:06:21 +02:00
Bram Moolenaar b8d217d92f updated for version 7.3.895
Problem:    Valgrind error in test 91. (Issue 128)
Solution:   Pass scope name to find_var_in_ht().
2013-04-15 13:06:21 +02:00
Bram Moolenaar 9025ffd165 Added tag v7-3-894 for changeset 52e946d654e0 2013-04-15 12:36:18 +02:00
Bram Moolenaar 51b743ce9d updated for version 7.3.894
Problem:    Using wrong RUBY_VER causing Ruby build to break.
Solution:   Correct the RUBY_VER value. (Yongwei Wu)
2013-04-15 12:36:18 +02:00
Bram Moolenaar 7540de4352 Added tag v7-3-893 for changeset dc3efb6d5a08 2013-04-15 12:27:36 +02:00
Bram Moolenaar 9bef826d5a updated for version 7.3.893
Problem:    Crash when using b:, w: or t: after closing the buffer, window or
	    tabpage.
Solution:   Allocate the dictionary instead of having it part of the
	    buffer/window/tabpage struct. (Yukihiro Nakadaira)
2013-04-15 12:27:36 +02:00
Bram Moolenaar 39c3e3307b Added tag v7-3-892 for changeset 6c2e8074ea25 2013-04-14 23:19:36 +02:00
Bram Moolenaar 586baeafd9 updated for version 7.3.892
Problem:    Still mering problems for viminfo history.
Solution:   Do not merge lines when writing, don't write old viminfo lines.
2013-04-14 23:19:36 +02:00
Bram Moolenaar 5a95cce118 Added tag v7-3-891 for changeset 1dc160bf2488 2013-04-14 16:26:15 +02:00
Bram Moolenaar 80fede1b91 updated for version 7.3.891
Problem:    Merging viminfo history doesn't work well.
Solution:   Don't stop when one type of history is empty. Don't merge history
	    when writing viminfo.
2013-04-14 16:26:15 +02:00
Bram Moolenaar f2f7837498 Added tag v7-3-890 for changeset 89bdd6d57510 2013-04-14 16:21:41 +02:00
Bram Moolenaar c6b28c28f3 updated for version 7.3.890
Problem:    Test 79 fails on Windows. (Michael Soyka)
Solution:   Add comment below line causing an error.
2013-04-14 16:21:41 +02:00
Bram Moolenaar fdbdfe65ac Added tag v7-3-889 for changeset cb0c694517a0 2013-04-14 16:19:03 +02:00
Bram Moolenaar 2f1d3f9fb7 updated for version 7.3.889
Problem:    Can't build with Ruby 2.0 on a 64 bit system.
Solution:   Define rb_fix2int and rb_num2int. (Kohei Suzuki)
2013-04-14 16:19:03 +02:00
Bram Moolenaar 9c5ad6b26d Updated runtime files. 2013-04-12 15:09:51 +02:00
Bram Moolenaar 5e78389c83 Added tag v7-3-888 for changeset b0b253898cf9 2013-04-12 14:42:39 +02:00
Bram Moolenaar 10d6c26682 updated for version 7.3.888
Problem:    Filename completion with 'fileignorecase' does not work for
	    multi-byte characters.
Solution:   Make 'fileignorecase' work properly. (Hirohito Higashi)
2013-04-12 14:42:39 +02:00
Bram Moolenaar 2dd0be6210 Added tag v7-3-887 for changeset 015e53d99787 2013-04-12 13:45:03 +02:00
Bram Moolenaar 7b380f5111 updated for version 7.3.887
Problem:    No tests for Visual mode operators, what 7.3.879 fixes.
Solution:   Add a new test file. (David Bürgin)
2013-04-12 13:45:02 +02:00
Bram Moolenaar f76149ad74 Added tag v7-3-886 for changeset 902d6ab377ee 2013-04-12 12:27:30 +02:00
Bram Moolenaar 72109994f7 updated for version 7.3.886
Problem:    Can't build with multi-byte on Solaris 10.
Solution:   Add #ifdef X_HAVE_UTF8_STRING. (Laurent Blume)
2013-04-12 12:27:30 +02:00
Bram Moolenaar e56a0c092e Added tag v7-3-885 for changeset c5eab656ec51 2013-04-12 12:18:49 +02:00
Bram Moolenaar b764814708 updated for version 7.3.885
Problem:    Double free for list and dict in Lua. (Shougo Matsu)
Solution:   Do not unref list and dict. (Yasuhiro Matsumoto)
2013-04-12 12:18:49 +02:00
Bram Moolenaar 0a7bf116c1 Move redif syntax file to the right directory.
Disable recognizing .rdf as a redif file.
2013-04-06 17:26:26 +02:00
Bram Moolenaar 1951ee400e Added tag v7-3-884 for changeset 22adc26aaa9f 2013-04-06 14:30:40 +02:00
Bram Moolenaar fc8fda0f37 updated for version 7.3.884
Problem:    Compiler warning for variable shadowing another. (John Little)
Solution:   Rename the variable. (Christian Brabandt)
2013-04-06 14:30:40 +02:00
Bram Moolenaar eb00b4ca8f Added tag v7-3-883 for changeset 76aa34cef80f 2013-04-06 14:29:00 +02:00
Bram Moolenaar 3197d376a4 updated for version 7.3.883
Problem:    Can't build with some combination of features.
Solution:   Adjust #ifdefs.
2013-04-06 14:29:00 +02:00
Bram Moolenaar 42f4ed080b Updated runtime files. 2013-04-05 22:26:15 +02:00
Bram Moolenaar 05a1444fac Added tag v7-3-882 for changeset 8653c39b85ea 2013-04-05 19:50:17 +02:00
Bram Moolenaar e7d678bcaa updated for version 7.3.882
Problem:    CursorHold may trigger after receiving the termresponse.
Solution:   Set the did_cursorhold flag. (Hayaki Saito)
2013-04-05 19:50:17 +02:00
Bram Moolenaar b5723ea8ea Added tag v7-3-881 for changeset d8acfc49d94e 2013-04-05 19:32:37 +02:00
Bram Moolenaar f823ccccb0 updated for version 7.3.881
Problem:    Python list does not work correctly.
Solution:   Fix it and add a test. (Yukihiro Nakadaira)
2013-04-05 19:32:36 +02:00
Bram Moolenaar 74557fb60e Added tag v7-3-880 for changeset 9945fe0536a3 2013-04-05 18:58:48 +02:00
Bram Moolenaar 83800dab4b updated for version 7.3.880
Problem:    When writing viminfo, old history lines may replace lines written
	    more recently by another Vim instance.
Solution:   Mark history entries that were read from viminfo and overwrite
	    them when merging with the current viminfo.
2013-04-05 18:58:47 +02:00
Bram Moolenaar 29d2d7ece1 Added tag v7-3-879 for changeset 79176b78969c 2013-04-05 17:43:14 +02:00
Bram Moolenaar 35a11ceea8 updated for version 7.3.879
Problem:    When using an ex command in operator pending mode, using Esc to
	    abort the command still executes the operator. (David Bürgin)
Solution:   Clear the operator when the ex command fails. (Christian Brabandt)
2013-04-05 17:43:14 +02:00
Bram Moolenaar 9b85a71753 Added tag v7-3-878 for changeset 97a5ce76cb7d 2013-04-05 15:41:05 +02:00
Bram Moolenaar 34e5bbf2ed updated for version 7.3.878
Problem:    'fileignorecase' is missing in options window and quickref.
Solution:   Add the option.
2013-04-05 15:41:05 +02:00
Bram Moolenaar ea096982d0 Added tag v7-3-877 for changeset 96f478b812b1 2013-04-03 21:14:29 +02:00
Bram Moolenaar 4a3b55d34d updated for version 7.3.877
Problem:    Forward searching with search() is broken.
Solution:   Fix it and add tests. (Sung Pae)
2013-04-03 21:14:29 +02:00
Bram Moolenaar fc02645d95 Added tag v7-3-876 for changeset 787df0fc6539 2013-04-03 21:11:39 +02:00
Bram Moolenaar 6c6a969ea9 updated for version 7.3.876
Problem:    #if indents are off.
Solution:   Insert a space where appropriate. (Taro Muraoka)
2013-04-03 21:11:39 +02:00
Bram Moolenaar 61e8f0742f Added tag v7-3-875 for changeset beab15a2ef14 2013-03-21 22:53:50 +01:00
Bram Moolenaar 9952bb6bdd updated for version 7.3.875
Problem:    Build problem with some combination of features.
Solution:   Use FEAT_XCLIPBOARD instead of FEAT_CLIPBOARD.
2013-03-21 22:53:50 +01:00
Bram Moolenaar 16f54b5b13 Added tag v7-3-874 for changeset 4d0b39bcec20 2013-03-19 18:31:49 +01:00
Bram Moolenaar 466f9e9dd7 updated for version 7.3.874
Problem:    Comparing file names does not handle multi-byte characters
	    properly.
Solution:   Implement multi-byte handling.
2013-03-19 18:31:49 +01:00
Bram Moolenaar 37146e8b9d Added tag v7-3-873 for changeset 7faeece39228 2013-03-19 17:42:15 +01:00
Bram Moolenaar 5b00edb40a updated for version 7.3.873
Problem:    Cannot easily use :s to make title case.
Solution:   Have "\L\u" result in title case. (James McCoy)
2013-03-19 17:42:15 +01:00
Bram Moolenaar eab418dea2 Added tag v7-3-872 for changeset edd0bc1f26bd 2013-03-19 16:49:16 +01:00
Bram Moolenaar ed09796c5b updated for version 7.3.872
Problem:    On some systems case of file names is always ignored, on others
	    never.
Solution:   Add the 'fileignorecase' option to control this at runtime.
	    Implies 'wildignorecase'.
2013-03-19 16:49:16 +01:00
Bram Moolenaar 4fa5b752cd Added tag v7-3-871 for changeset d52c45b35fb0 2013-03-19 15:27:48 +01:00
Bram Moolenaar 13e4900efe updated for version 7.3.871
Problem:    search('^$', 'c') does not use the empty match under the cursor.
Solution:   Special handling of the 'c' flag. (Christian Brabandt)
	    Add tests.
2013-03-19 15:27:48 +01:00
Bram Moolenaar 7e5550e0ba Added tag v7-3-870 for changeset 26e59a39fdd9 2013-03-19 14:48:29 +01:00
Bram Moolenaar c97f0d3551 updated for version 7.3.870
Problem:    Compiler warnings when using MingW 4.5.3.
Solution:   Do not use MAKEINTRESOURCE. Adjust #if. (Ken Takata)
2013-03-19 14:48:29 +01:00
Bram Moolenaar 806142c767 Added tag v7-3-869 for changeset 23ce9a61bdc2 2013-03-19 14:25:54 +01:00
Bram Moolenaar 53e9598ee5 updated for version 7.3.869
Problem:    bufwinnr() matches buffers in other tabs.
Solution:   For bufwinnr() and ? only match buffers in the current tab.
	    (Alexey Radkov)
2013-03-19 14:25:54 +01:00
Bram Moolenaar f80d15fafd Added tag v7-3-868 for changeset b31989e2b058 2013-03-19 13:56:08 +01:00
Bram Moolenaar 1951b34038 updated for version 7.3.868
Problem:    When at the hit-return prompt and using "k" while no text has
	    scrolled off screen, then using "j", an empty line is displayed.
Solution:   Only act on "k" when text scrolled off screen.  Also accept
	    page-up and page-down.  (cptstubing)
2013-03-19 13:56:08 +01:00
Bram Moolenaar b1845b86a1 Added tag v7-3-867 for changeset 0fcb050fd79d 2013-03-19 13:33:23 +01:00
Bram Moolenaar 7273c99019 updated for version 7.3.867
Problem:    Matchparen does not update match when using auto-indenting.
	    (Marc Aldorasi)
Solution:   Add the TextChanged and TextChangedI autocommand events.
2013-03-19 13:33:23 +01:00
Bram Moolenaar 15b7f64e7f Added tag v7-3-866 for changeset 90d72df431e5 2013-03-19 12:35:42 +01:00
Bram Moolenaar 92c5024c22 updated for version 7.3.866
Problem:    Not serving the X selection during system() isn't nice.
Solution:   When using fork() do not loose the selection, keep serving it.
	    Add a loop similar to handling I/O. (Yukihiro Nakadaira)
2013-03-19 12:35:42 +01:00
Bram Moolenaar 4c0f497180 Update runtime files. 2013-03-19 11:35:58 +01:00
Bram Moolenaar ab6594b62c Added tag v7-3-865 for changeset 94342b0605fb 2013-03-16 21:42:16 +01:00
Bram Moolenaar 58cec0a699 updated for version 7.3.865
Problem:    Mouse position may be wrong.
Solution:   Let vungetc() restore the mouse position.
2013-03-16 21:42:16 +01:00
Bram Moolenaar 66b1b9453a Added tag v7-3-864 for changeset a82ef37d38c0 2013-03-16 21:35:33 +01:00
Bram Moolenaar 3ca813161f updated for version 7.3.864
Problem:    Can't build without the mouse feature.
Solution:   Add an #ifdef. (Ike Devolder)
2013-03-16 21:35:33 +01:00
Bram Moolenaar 2e6b124498 Added tag v7-3-863 for changeset 5c0652f455c9 2013-03-16 14:33:36 +01:00
Bram Moolenaar 509ab2faeb updated for version 7.3.863
Problem:    Problem with 'ambiwidth' detection for ANSI terminal.
Solution:   Work around not recognizing a term response. (Hayaki Saito)
2013-03-16 14:33:36 +01:00
Bram Moolenaar 72b41a82aa Added tag v7-3-862 for changeset dd4f3ceb5d86 2013-03-16 14:20:51 +01:00
Bram Moolenaar 03b298bd20 updated for version 7.3.862
Problem:    Dragging the status line can be slow.
Solution:   Look ahead and drop the drag event if there is a next one.
2013-03-16 14:20:51 +01:00
Bram Moolenaar 30c76cb95d Added tag v7-3-861 for changeset 6fe728bf165e 2013-03-13 20:42:32 +01:00
Bram Moolenaar 1670720400 updated for version 7.3.861
Problem:    ":setlocal number" clears global value of 'relativenumber'.
Solution:   Do it properly. (Markus Heidelberg)
2013-03-13 20:42:32 +01:00
Bram Moolenaar 81d54b3e31 Added tag v7-3-860 for changeset 6ce32844727d 2013-03-13 20:23:22 +01:00
Bram Moolenaar 53d319d990 updated for version 7.3.860
Problem:    When using --remote-expr try/catch does not work. (Andrey Radev)
Solution:   Set emsg_silent instead of emsg_off.
2013-03-13 20:23:22 +01:00
Bram Moolenaar b39f419e8d Added tag v7-3-859 for changeset ecf21be84def 2013-03-13 19:29:29 +01:00
Bram Moolenaar 68bcdc6ea9 updated for version 7.3.859
Problem:    'ambiwidth' must be set by the user.
Solution:   Detects East Asian ambiguous width (UAX #11) state of the terminal
	    at the start-up time and 'ambiwidth' accordingly.  (Hayaki Saito)
2013-03-13 19:29:28 +01:00
Bram Moolenaar 1eb364e41a Added tag v7-3-858 for changeset 0a3fab86f34d 2013-03-13 19:02:41 +01:00
Bram Moolenaar 7dabae12dc updated for version 7.3.858
Problem:    "gv" selects the wrong area after some operators.
Solution:   Save and restore the type of selection. (Christian Brabandt)
2013-03-13 19:02:41 +01:00
Bram Moolenaar 484a6a16ae Added tag v7-3-857 for changeset 4905e038b105 2013-03-13 18:30:43 +01:00
Bram Moolenaar 9178241ac0 updated for version 7.3.857
Problem:    The QuitPre autocommand event does not trigger for :qa and :wq.
Solution:   Trigger the event. (Tatsuro Fujii)
2013-03-13 18:30:43 +01:00
Bram Moolenaar 0770126684 Added tag v7-3-856 for changeset fb533fb6c015 2013-03-13 17:50:25 +01:00
Bram Moolenaar b10be2eece updated for version 7.3.856
Problem:    When calling system() multi-byte clipboard contents is garbled.
Solution:   Save and restore the clipboard contents.  (Yukihiro Nakadaira)
2013-03-13 17:50:25 +01:00
Bram Moolenaar ad4c169899 Added tag v7-3-855 for changeset 6604853dd822 2013-03-13 17:01:52 +01:00
Bram Moolenaar 3f65b8e2e6 updated for version 7.3.855
Problem:    Compiler warnings.
Solution:   Add type casts. (Mike Williams)
2013-03-13 17:01:52 +01:00
Bram Moolenaar ef3f8c659c Added tag v7-3-854 for changeset 14cdb6e4d5b8 2013-03-07 19:38:54 +01:00
Bram Moolenaar 88081da75d updated for version 7.3.854
Problem:    After using backspace in insert mode completion, CTRL-N and CTRL-P
	    do not highlight the right entry. (Olivier Teuliere)
Solution:   Set the current item to the shown item after using backspace.
2013-03-07 19:38:54 +01:00
Bram Moolenaar 31ffd9cd94 Added tag v7-3-853 for changeset eea32254940f 2013-03-07 18:50:57 +01:00
Bram Moolenaar beca80a34c updated for version 7.3.853
Problem:    Using "ra" in multiple lines on multi-byte characters leaves a few
	    characters not replaced.
Solution:   Adjust the end column only in the last line. (Yasuhiro Matsumoto)
2013-03-07 18:50:57 +01:00
Bram Moolenaar ec1a5fc063 Added tag v7-3-852 for changeset 3fd805ca2a6a 2013-03-07 18:02:31 +01:00
Bram Moolenaar 6c3e6e05e1 updated for version 7.3.852
Problem:    system() breaks clipboard text. (Yukihiro Nakadaira)
Solution:   Use Xutf8TextPropertyToTextList(). (Christian Brabandt)
	    Also do not put the text in the clip buffer if conversion fails.
2013-03-07 18:02:30 +01:00
Bram Moolenaar 3c780a4b0a Added tag v7-3-851 for changeset dd669f296568 2013-03-07 16:41:30 +01:00
Bram Moolenaar b89802836b updated for version 7.3.851
Problem:    Using an empty pattern with :sort silently continues when there is
	    no previous search pattern.
Solution:   Give an error message.
2013-03-07 16:41:30 +01:00
Bram Moolenaar 81e98e72fe Added tag v7-3-850 for changeset 07fef68eb018 2013-03-07 16:32:54 +01:00
Bram Moolenaar 502c2a5531 updated for version 7.3.850
Problem:    ":vimgrep //" matches everywhere.
Solution:   Make it use the previous search pattern. (David Bürgin)
2013-03-07 16:32:54 +01:00
Bram Moolenaar 0dba29a2ee Added tag v7-3-849 for changeset dc77c2a14a05 2013-03-07 16:08:35 +01:00
Bram Moolenaar faf3185a47 updated for version 7.3.849
Problem:    ":g//" gives "Pattern not found error" with E486.  Should not use
	    the error number, it's not a regular error message.
Solution:   Use a normal message. (David Bürgin)
2013-03-07 16:08:35 +01:00
Bram Moolenaar 0f564d46e7 Added tag v7-3-848 for changeset e49b80f267dc 2013-03-07 15:16:21 +01:00
Bram Moolenaar 53026be864 updated for version 7.3.848
Problem:    Can't build with Ruby 2.0 when using MinGW x64 or MSVC10.
Solution:   Fix it. Also detect RUBY_PLATFORM and RUBY_INSTALL_NAME for x64.
	    (Ken Takata)
2013-03-07 15:16:21 +01:00
Bram Moolenaar ac53d286c3 Added tag v7-3-847 for changeset 4dd43d6b3df7 2013-03-07 14:50:34 +01:00
Bram Moolenaar 1602902b16 updated for version 7.3.847
Problem:    Test 55 fails when messages are translated.
Solution:   Set language to C. (Ken Takata)
2013-03-07 14:50:34 +01:00
Bram Moolenaar 55cbb32d17 Added tag v7-3-846 for changeset b06bb07d906b 2013-03-07 13:32:36 +01:00
Bram Moolenaar a6b33ca1ee updated for version 7.3.846
Problem:    Missing proto files.
Solution:   Add the files.
2013-03-07 13:32:36 +01:00
Bram Moolenaar 1830f25ca9 Added tag v7-3-845 for changeset 171234e02b1e 2013-03-07 13:21:32 +01:00
Bram Moolenaar 3c5ad265da updated for version 7.3.845
Problem:    Enum indenting is not tested.
Solution:   Add tests. (Hong Xu)
2013-03-07 13:21:32 +01:00
Bram Moolenaar 90cb083c4c Updated runtime files. 2013-03-07 13:20:54 +01:00
Bram Moolenaar 317578d707 Added tag v7-3-844 for changeset eccc0e8a82fb 2013-03-07 13:13:52 +01:00
Bram Moolenaar ce9a2c7e7e updated for version 7.3.844
Problem:    Enum is not indented correctly with "public" etc.
Solution:   Skip "public", "private" and "protected". (Hong Xu)
2013-03-07 13:13:52 +01:00
Bram Moolenaar 04f440c373 Added tag v7-3-843 for changeset f4960ddda07c 2013-02-26 22:54:11 +01:00
Bram Moolenaar 742cf6ce1e updated for version 7.3.843
Problem:    Missing test file changes.
Solution:   Change the tests.
2013-02-26 22:54:11 +01:00
Bram Moolenaar 9c46a37e3d Added tag v7-3-842 for changeset 78321dcaa8e2 2013-02-26 21:43:32 +01:00
Bram Moolenaar 4a3231112f updated for version 7.3.842
Problem:    Compiler warning for signed/unsigned pointer.
Solution:   Add type cast. (Christian Brabandt)
2013-02-26 21:43:32 +01:00
Bram Moolenaar 8980ad619d Added tag v7-3-841 for changeset b40e6a47ee53 2013-02-26 19:36:15 +01:00
Bram Moolenaar a2be53238e updated for version 7.3.841
Problem:    When a "cond ? one : two" expression has a subscript it is not
	    parsed correctly. (Andy Wokula)
Solution:   Handle a subscript also when the type is unknown. (Christian
	    Brabandt)
2013-02-26 19:36:15 +01:00
Bram Moolenaar 36f8f31fa0 Added tag v7-3-840 for changeset 1778d51fcbc3 2013-02-26 18:46:01 +01:00
Bram Moolenaar f33715cb9f updated for version 7.3.840
Problem:    "\@<!" in regexp does not work correctly with multi-byte
	    characters, especially cp932.
Solution:   Move column to start of multi-byte character. (Yasuhiro Matsumoto)
2013-02-26 18:46:01 +01:00
Bram Moolenaar 3ca4c44096 Added tag v7-3-839 for changeset 2030aca407ed 2013-02-26 17:59:43 +01:00
Bram Moolenaar bdbd1be4b1 updated for version 7.3.839
Problem:    Some files missing in the list of distributed files.
Solution:   Add lines for new files.
2013-02-26 17:59:43 +01:00
Bram Moolenaar 2914722622 Added tag v7-3-838 for changeset 1c819b05529c 2013-02-26 17:21:29 +01:00
Bram Moolenaar 959f23fc25 updated for version 7.3.838
Problem:    Insufficient testing for mksession.
Solution:   Add tests. (mostly by Roland Eggner)
2013-02-26 17:21:29 +01:00
Bram Moolenaar 29a883e055 Added tag v7-3-837 for changeset 14698f63de8d 2013-02-26 15:27:23 +01:00
Bram Moolenaar c809ffca87 updated for version 7.3.837
Problem:    Empty lines in :version output when 'columns' is 320.
Solution:   Simplify the logic of making columns. (Nazri Ramliy, Roland
	    Eggner)
2013-02-26 15:27:23 +01:00
Bram Moolenaar 0a29612aeb Added tag v7-3-836 for changeset ff193256398a 2013-02-26 14:56:43 +01:00
Bram Moolenaar 32098e3ea4 updated for version 7.3.836
Problem:    Clipboard does not work on Win32 when compiled with Cygwin.
Solution:   Move the Win32 clipboard code to a separate file and use it when
	    building with os_unix.c. (Frodak Baksik, Ken Takata)
2013-02-26 14:56:42 +01:00
Bram Moolenaar 00be0d5fd5 Added tag v7-3-835 for changeset d356b5ce84ce 2013-02-26 14:14:07 +01:00
Bram Moolenaar 32679a21ee updated for version 7.3.835
Problem:    "xxd -i" fails on an empty file.
Solution:   Do output the closing } for an empty file. (partly by Lawrence
	    Woodman)
2013-02-26 14:14:07 +01:00
Bram Moolenaar 5ea50c0de4 Added tag v7-3-834 for changeset 3ac9d7d8274e 2013-02-26 13:41:35 +01:00
Bram Moolenaar ef75f15a82 updated for version 7.3.834
Problem:    Ruby 2.0 has a few API changes.
Solution:   Add handling of Ruby 2.0. (Yasuhiro Matsumoto)
2013-02-26 13:41:35 +01:00
Bram Moolenaar b19bb2949b Added tag v7-3-833 for changeset b97109760603 2013-02-26 13:30:32 +01:00
Bram Moolenaar 28741039d5 updated for version 7.3.833
Problem:    In the terminal the scroll wheel always scrolls the active window.
Solution:   Scroll the window under the mouse pointer, like in the GUI.
	    (Bradie Rao)
2013-02-26 13:30:32 +01:00
Bram Moolenaar 81a2d53b34 Added tag v7-3-832 for changeset 670e576a58d1 2013-02-26 11:25:33 +01:00
Bram Moolenaar 616fca5d1c updated for version 7.3.832
Problem:    Compiler warning.
Solution:   Add type cast. (Mike Williams)
2013-02-26 11:25:33 +01:00
Bram Moolenaar dc0db92ab0 Update runtime files. 2013-02-20 21:26:00 +01:00
Bram Moolenaar 35d5e031cb Added tag v7-3-831 for changeset cb185366f5c8 2013-02-20 21:12:10 +01:00
Bram Moolenaar 51d92c00e8 updated for version 7.3.831
Problem:    Clumsy to handle the situation that a variable does not exist.
Solution:   Add default value to getbufvar() et al. (Shougo Matsushita,
	    Hirohito Higashi)
2013-02-20 21:12:10 +01:00
Bram Moolenaar 218a85f176 Added tag v7-3-830 for changeset 454d35a43392 2013-02-20 19:26:29 +01:00
Bram Moolenaar a418fe8ff0 updated for version 7.3.830
Problem:    :mksession confuses bytes, columns and characters when positioning
	    the cursor.
Solution:   Use w_virtcol with "|" instead of w_cursor.col with "l".
2013-02-20 19:26:29 +01:00
Bram Moolenaar f8fa0faa73 Added tag v7-3-829 for changeset 7728d626ae03 2013-02-20 18:39:13 +01:00
Bram Moolenaar ff79197c11 updated for version 7.3.829
Problem:    When compiled with the +rightleft feature 'showmatch' also shows a
	    match for the opening paren.  When 'revins' is set the screen may
	    scroll.
Solution:   Only check the opening paren when the +rightleft feature was
	    enabled.  Do not show a match that is not visible. (partly by
	    Christian Brabandt)
2013-02-20 18:39:13 +01:00
Bram Moolenaar cc49f70ae4 Added tag v7-3-828 for changeset 13170a796134 2013-02-20 17:59:12 +01:00
Bram Moolenaar 91f164cd23 updated for version 7.3.828
Problem:    Mappings are not aware of wildmenu mode.
Solution:   Add wildmenumode(). (Christian Brabandt)
2013-02-20 17:59:11 +01:00
Bram Moolenaar f8686698b6 Added tag v7-3-827 for changeset 5e17a12a3b14 2013-02-20 16:54:28 +01:00
Bram Moolenaar 694137d3ea updated for version 7.3.827
Problem:    Python tests fail.
Solution:   Adjust the output for the stack trace.
2013-02-20 16:54:27 +01:00
Bram Moolenaar 8cc531cf06 Added tag v7-3-826 for changeset 646cb6b6ff23 2013-02-20 16:47:36 +01:00
Bram Moolenaar b13d5c0ff8 updated for version 7.3.826
Problem:    List of features in :version output is hard to read.
Solution:   Make columns. (Nazri Ramliy)
2013-02-20 16:47:36 +01:00
Bram Moolenaar 153f4ba782 Added tag v7-3-825 for changeset 6b1f3fc893cd 2013-02-20 16:09:43 +01:00
Bram Moolenaar b294e9d559 updated for version 7.3.825
Problem:    With Python errors are not always clear.
Solution:   Print the stack trace, unless :silent is used. (ZyX)
2013-02-20 16:09:43 +01:00
Bram Moolenaar 6595395586 Added tag v7-3-824 for changeset f5ef9b9c18cd 2013-02-20 15:19:43 +01:00
Bram Moolenaar fea14ed898 updated for version 7.3.824
Problem:    Can redefine builtin functions.  (ZyX)
Solution:   Disallow adding a function to g:.
2013-02-20 15:19:43 +01:00
Bram Moolenaar 4c8719f944 Added tag v7-3-823 for changeset db401e5e4c5d 2013-02-20 13:34:19 +01:00
Bram Moolenaar 91ddd257ad updated for version 7.3.823
Problem:    Building with Cygwin: '-lsupc++' is not needed.
Solution:   Remove it. (Ken Takata)
2013-02-20 13:34:19 +01:00
Bram Moolenaar ab2a4e0bc7 Added tag v7-3-822 for changeset 2f7883063b19 2013-02-17 15:45:37 +01:00
Bram Moolenaar 83f922f29e updated for version 7.3.822
Problem:    Crash when accessing freed buffer.
Solution:   Get 'textwidth' in caller of enter_buffer(). (Christian Brabandt)
2013-02-17 15:45:37 +01:00
Bram Moolenaar edc53b9b43 Added tag v7-3-821 for changeset 4936ee89b4bc 2013-02-16 18:16:15 +01:00
Bram Moolenaar 766621e9fb updated for version 7.3.821
Problem:    Build with OLE and Cygwin is broken. (Steve Hall)
Solution:   Select static or shared stdc library. (Ken Takta)
2013-02-16 18:16:15 +01:00
Bram Moolenaar d9a4318d8b Added tag v7-3-820 for changeset 688da4d486a0 2013-02-14 22:19:51 +01:00
Bram Moolenaar 68f9d844dc updated for version 7.3.820
Problem:    Build errors and warnings when building with small features and
	    Lua, Perl or Ruby.
Solution:   Add #ifdefs and UNUSED.
2013-02-14 22:19:51 +01:00
Bram Moolenaar b65722ab61 Added tag v7-3-819 for changeset 36fd800b8c6c 2013-02-14 22:11:39 +01:00
Bram Moolenaar 6a60817447 updated for version 7.3.819
Problem:    Compiling without +eval and with Python isn't working.
Solution:   Add the eval feature when building with Python.
2013-02-14 22:11:39 +01:00
Bram Moolenaar 9fca58536d Added tag v7-3-818 for changeset ad7b6062a7f4 2013-02-14 20:58:35 +01:00
Bram Moolenaar 21039e5e3a updated for version 7.3.818
Problem:    When test 40 fails because of a bad build it may leave files
	    behind that cause it to fail later.
Solution:   Let the file names start with "X".
2013-02-14 20:58:35 +01:00
Bram Moolenaar 07289cb5e1 Added tag v7-3-817 for changeset 01fa9313d4b5 2013-02-14 20:10:33 +01:00
Bram Moolenaar 42b55927cb updated for version 7.3.817
Problem:    Test 89 fails with tiny and small features.
Solution:   Add sourcing small.vim.
2013-02-14 20:10:33 +01:00
Bram Moolenaar a17ab33bd8 Add test files. 2013-02-13 17:35:34 +01:00
Bram Moolenaar eb501287e2 Added tag v7-3-816 for changeset 2b340e5c5baa 2013-02-13 17:35:04 +01:00
Bram Moolenaar 36a614b069 updated for version 7.3.816
Problem:    Can't compute a hash.
Solution:   Add the sha256() function. (Tyru, Hirohito Higashi)
2013-02-13 17:35:04 +01:00
Bram Moolenaar d7c5fc2cc0 Added tag v7-3-815 for changeset 448a6e7cf32e 2013-02-13 17:06:11 +01:00
Bram Moolenaar a79f8f9a82 updated for version 7.3.815
Problem:    Building with Cygwin and Ruby doesn't work.
Solution:   Copy some things from the MingW build file. (Ken Takata)
2013-02-13 17:06:11 +01:00
Bram Moolenaar 11b2aeac5d Added tag v7-3-814 for changeset d5b1d6177b37 2013-02-13 16:49:58 +01:00
Bram Moolenaar d803074f8f updated for version 7.3.814
Problem:    Can't input multibyte characters on Win32 console if 'encoding' is
	    different from current codepage.
Solution:   Use convert_input_safe() instead of convert_input().  Make
	    string_convert_ext() return an error for incomplete input. (Ken
	    Takata)
2013-02-13 16:49:58 +01:00
Bram Moolenaar e99e9cb92f Added tag v7-3-813 for changeset 4e6e012af150 2013-02-13 16:30:21 +01:00
Bram Moolenaar fbb71d8560 updated for version 7.3.813
Problem:    The CompleteDone event is not triggered when there are no pattern
	    matches. (Jianjun Mao)
Solution:   Trigger the event. (Christian Brabandt)
2013-02-13 16:30:21 +01:00
Bram Moolenaar 4900a1fbf8 Update runtime files.
Add missing test files.
2013-02-13 16:15:55 +01:00
Bram Moolenaar 09260213d3 Added tag v7-3-812 for changeset 4584e59860b8 2013-02-13 16:10:18 +01:00
Bram Moolenaar 893470534d updated for version 7.3.812
Problem:    When 'indentexpr' moves the cursor "curswant" not restored.
Solution:   Restore "curswant". (Sung Pae)
2013-02-13 16:10:17 +01:00
Bram Moolenaar bec4a98b81 Added tag v7-3-811 for changeset ad21448af931 2013-02-13 15:53:19 +01:00
Bram Moolenaar 9994e6e412 updated for version 7.3.811
Problem:    Useless termresponse parsing for SGR mouse.
Solution:   Skip the parsing. (Hayaki Saito)
2013-02-13 15:53:19 +01:00
Bram Moolenaar c6e234c458 Added tag v7-3-810 for changeset 8904ccd5ee85 2013-02-13 15:44:26 +01:00
Bram Moolenaar c2aa3a54ca updated for version 7.3.810
Problem:    'relativenumber is reset unexpectedly. (François Ingelrest)
Solution:   After an option was reset also reset the global value. Add a test.
	    (Christian Brabandt)
2013-02-13 15:44:26 +01:00
Bram Moolenaar ab4dc01ea3 Added tag v7-3-809 for changeset 918d7df425af 2013-02-13 14:36:44 +01:00
Bram Moolenaar 534d0306d8 updated for version 7.3.809
Problem:    The dosinst.c program has a buffer overflow. (Thomas Gwae)
Solution:   Ignore $VIMRUNTIME if it is too long.
2013-02-13 14:36:44 +01:00
Bram Moolenaar 04fa8891a1 Added tag v7-3-808 for changeset 3b2a771abb39 2013-02-13 14:17:08 +01:00
Bram Moolenaar af21cefe0e updated for version 7.3.808
Problem:    Python threads still do not work properly.
Solution:   Fix both Python 2 and 3.  Add tests. (Ken Takata)
2013-02-13 14:17:08 +01:00
Bram Moolenaar 62dd5f43ae Added tag v7-3-807 for changeset 1efc30385c41 2013-02-13 12:16:06 +01:00
Bram Moolenaar 5f3053dcf9 updated for version 7.3.807
Problem:    Popup menu does not work properly with the preview window, folds
	    and 'cursorcolumn'.
Solution:   Redraw the popup menu after redrawing windows. (Christian
	    Brabandt)
2013-02-13 12:16:05 +01:00
Bjorn Winckler 1ba220ad3d Merge branch 'vim'
Conflicts:
	runtime/doc/tags
	src/gui.c
	src/option.c
2013-02-07 20:09:24 +01:00
Bram Moolenaar 8039d354d3 Added tag v7-3-806 for changeset f7e3f87ac992 2013-02-06 19:58:43 +01:00
Bram Moolenaar bd41f83f12 updated for version 7.3.806
Problem:    Compiler warnings in Perl code when building with Visual studio
	    2012. (skeept)
Solution:   Add type casts. (Christian Brabandt, 2013 Jan 30)
2013-02-06 19:58:43 +01:00
Bram Moolenaar 5e15217b8c Added tag v7-3-805 for changeset dc30c01f9956 2013-02-06 19:49:44 +01:00
Bram Moolenaar 205f9201d8 updated for version 7.3.805
Problem:    Lua version 5.2 is not detected properly on Arch Linux.
Solution:   Adjust autoconf. (lilydjwg)
2013-02-06 19:49:43 +01:00
Bram Moolenaar 3d98255a45 Added tag v7-3-804 for changeset 2eb4b9ed2d42 2013-02-06 18:45:01 +01:00
Bram Moolenaar 8d9716012c updated for version 7.3.804
Problem:    Compiler warning for tiny build. (Tony Mechelynck)
Solution:   Add #ifdefs around variable.
2013-02-06 18:45:01 +01:00
Bram Moolenaar 4e06a2e442 Added tag v7-3-803 for changeset 77fa4dee43fc 2013-02-06 18:24:02 +01:00
Bram Moolenaar 8eafb35354 updated for version 7.3.803
Problem:    Substitute with confirmation and then "q" does not replace
	    anything.  (John McGowan)
Solution:   Do not break the loop, skip to the end.
2013-02-06 18:24:02 +01:00
Bram Moolenaar a4335d2a12 Updated runtime files. 2013-02-06 17:34:04 +01:00
Bram Moolenaar fe6de61962 Added tag v7-3-802 for changeset cd5145d2408b 2013-02-06 16:26:26 +01:00
Bram Moolenaar e7e32244f8 updated for version 7.3.802
Problem:    After setting 'isk' to a value ending in a comma appending to the
	    option fails.
Solution:   Disallow a trailing comma for 'isk' and similar options.
2013-02-06 16:26:26 +01:00
Bram Moolenaar 02e3104298 Added tag v7-3-801 for changeset 48b54c590dc8 2013-02-06 13:38:02 +01:00
Bram Moolenaar 873caf0999 updated for version 7.3.801
Problem:    ":window set nu?" displays the cursor line. (Nazri Ramliy)
Solution:   Do not update the cursor line when conceallevel is zero or the
	    screen has scrolled. (partly by Christian Brabandt)
2013-02-06 13:38:02 +01:00
Bram Moolenaar 91d651f5ea Added tag v7-3-800 for changeset c0cc0e0620dd 2013-02-06 12:33:21 +01:00
Bram Moolenaar 263e661492 updated for version 7.3.800
Problem:    The " mark is not adjusted when inserting lines. (Roland Eggner)
Solution:   Adjust the line number. (Christian Brabandt)
2013-02-06 12:33:21 +01:00
Bram Moolenaar e61b2625e0 Added tag v7-3-799 for changeset 5e9730de25e9 2013-02-06 12:14:48 +01:00
Bram Moolenaar 2d745a1f90 updated for version 7.3.799
Problem:    The color column is not correct when entering a buffer. (Ben
	    Fritz)
Solution:   Call check_colorcolumn() if 'textwidth' changed. (Christian
	    Brabandt)
2013-02-06 12:14:48 +01:00
Bram Moolenaar 11b1af3ea3 Added tag v7-3-798 for changeset cdaa688e3ddd 2013-01-31 21:09:15 +01:00
Bram Moolenaar cf55acd97a updated for version 7.3.798
Problem:    MzScheme: circular list does not work correctly.
Solution:   Separate Mac-specific code from generic code. (Sergey Khorev)
2013-01-31 21:09:15 +01:00
Bram Moolenaar fa078aa58c Added tag v7-3-797 for changeset 0cbea05f19c7 2013-01-30 21:56:21 +01:00
Bram Moolenaar e75d2ae58d updated for version 7.3.797
Problem:    Compiler warning for size_t to int conversion. (Skeept)
Solution:   Add type casts.
2013-01-30 21:56:21 +01:00
Bram Moolenaar 9928f9f32f Added tag v7-3-796 for changeset 2c12c4e2fae8 2013-01-30 18:21:52 +01:00
Bram Moolenaar 128bc24977 updated for version 7.3.796
Problem:    "/[^\n]" does match at a line break.
Solution:   Make it do the same as "/.". (Christian Brabandt)
2013-01-30 18:21:51 +01:00
Bram Moolenaar 9858827a34 Added tag v7-3-795 for changeset 17a312ba38a0 2013-01-30 17:41:50 +01:00
Bram Moolenaar 4a5f6f8ec8 updated for version 7.3.795
Problem:    MzScheme does not build with tiny features.
Solution:   Add #ifdefs.  Also add UNUSED to avoid warnings.  And change
	    library ordering.
2013-01-30 17:41:50 +01:00
Bram Moolenaar 50401eabd9 Added tag v7-3-794 for changeset 9867f92c9b9f 2013-01-30 17:30:18 +01:00
Bram Moolenaar f9b82f9951 updated for version 7.3.794
Problem:    Tiny build fails. (Tony Mechelynck)
Solution:   Adjust #ifdefs.
2013-01-30 17:30:17 +01:00
Bram Moolenaar 556e7e54f6 Added tag v7-3-793 for changeset fdbded463fdc 2013-01-30 17:03:30 +01:00
Bram Moolenaar 2d1d685770 updated for version 7.3.793
Problem:    New interactive :substutite behavior is not tested.
Solution:   Add tests. (Christian Brabandt)
2013-01-30 17:03:30 +01:00
Bram Moolenaar 5f1acbd825 Added tag v7-3-792 for changeset 7061704c2014 2013-01-30 16:30:26 +01:00
Bram Moolenaar 4e8314c410 updated for version 7.3.792
Problem:    ":substitute" works differently without confirmation.
Solution:   Do not change the text when asking for confirmation, only display
	    it.
2013-01-30 16:30:26 +01:00
Bram Moolenaar 26db286e2d Added tag v7-3-791 for changeset 16e8a09e8ab0 2013-01-30 14:55:42 +01:00
Bram Moolenaar 4d3c07fb04 updated for version 7.3.791
Problem:    MzScheme interface doesn't work propely.
Solution:   Make it work better. (Sergey Khorev)
2013-01-30 14:55:42 +01:00
Bram Moolenaar 8888c8cce4 Update runtime files. 2013-01-30 14:18:00 +01:00
Bram Moolenaar cd88883907 Added tag v7-3-790 for changeset 8819ea6dcb72 2013-01-30 14:13:56 +01:00
Bram Moolenaar 54f3afd445 updated for version 7.3.790
Problem:    After reloading a buffer the modelines are not processed.
Solution:   call do_modelines(). (Ken Takata)
2013-01-30 14:13:56 +01:00
Bram Moolenaar 3ed8a115fa Added tag v7-3-789 for changeset 43c15135926f 2013-01-30 13:59:37 +01:00
Bram Moolenaar d039f9ced0 updated for version 7.3.789
Problem:    "\k" in regexp does not work in other window.
Solution:   Use the right buffer. (Yukihiro Nakadaira)
2013-01-30 13:59:37 +01:00
Bram Moolenaar 9c7838fb89 Added tag v7-3-788 for changeset 386fc822dd00 2013-01-30 12:50:57 +01:00
Bram Moolenaar b9a86337d4 updated for version 7.3.788
Problem:    When only using patches build fails on missing nl.po.
Solution:   Create an empty nl.po file.
2013-01-30 12:50:56 +01:00
Bram Moolenaar 3fe927aefd Added tag v7-3-787 for changeset e1b98967a985 2013-01-30 12:31:36 +01:00
Bram Moolenaar 40b7fd4ec0 updated for version 7.3.787
Problem:    With 'relativenumber' set it is not possible to see the absolute
	    line number.
Solution:   For the cursor line show the absolute line number instead of a
	    zero. (Nazri Ramliy)
2013-01-30 12:31:36 +01:00
Bram Moolenaar 1704fa8a73 Added tag v7-3-786 for changeset 8b3e88bab702 2013-01-30 11:44:39 +01:00
Bram Moolenaar 3b7e2e5958 updated for version 7.3.786
Problem:    Python threads don't run in the background (issue 103).
Solution:   Move the statements to manipulate thread state.
2013-01-30 11:44:39 +01:00
Bram Moolenaar 2fe2b1611b Added tag v7-3-785 for changeset be4baed0c933 2013-01-25 20:11:01 +01:00
Bram Moolenaar bfccf8b7c1 updated for version 7.3.785
Problem:    Crash with specific use of search pattern.
Solution:   Initialize reg_buf to curbuf.
2013-01-25 20:11:01 +01:00
Bram Moolenaar 919cc50779 Added tag v7-3-784 for changeset fbadf0f69877 2013-01-25 19:28:39 +01:00
Bram Moolenaar 065f43769e updated for version 7.3.784
Problem:    Error when 'guifontwide' has a comma.
Solution:   Use gui.wide_font. (Taro Muraoka)
2013-01-25 19:28:38 +01:00
Bram Moolenaar 48cf1e1604 Added tag v7-3-783 for changeset a80af62d5e3b 2013-01-24 21:00:20 +01:00
Bram Moolenaar 1ca5a52633 updated for version 7.3.783
Problem:    Crash when mark is not set. (Dominique Pelle)
Solution:   Check for NULL.
2013-01-24 21:00:20 +01:00
Bram Moolenaar 3b11379956 Added tag v7-3-782 for changeset 0de969850c06 2013-01-23 18:37:40 +01:00
Bram Moolenaar 39d7e0945c updated for version 7.3.782
Problem:    Windows: IME composition may use a wrong font.
Solution:   Use 'guifontwide' for IME when it is set. (Taro Muraoka)
2013-01-23 18:37:40 +01:00
Bram Moolenaar 87feee50da Added tag v7-3-781 for changeset 29f29e86602e 2013-01-23 17:43:57 +01:00
Bram Moolenaar e0261d18de updated for version 7.3.781
Problem:    Drawing with 'guifontwide' can be slow.
Solution:   Draw multiple characters at a time. (Taro Muraoka)
2013-01-23 17:43:57 +01:00
Bram Moolenaar 28740349ac Added tag v7-3-780 for changeset 42edc5dac33c 2013-01-23 17:17:11 +01:00
Bram Moolenaar 7550cba718 updated for version 7.3.780
Problem:    char2nr() and nr2char() always use 'encoding'.
Solution:   Add argument to use utf-8 characters. (Yasuhiro Matsumoto)
2013-01-23 17:17:10 +01:00
Bram Moolenaar e279ab259c Added tag v7-3-779 for changeset 2067ed78d37c 2013-01-23 16:43:12 +01:00
Bram Moolenaar 41c76ce8ee updated for version 7.3.779
Problem:    Backwards search lands in wrong place when started on a multibyte
	    character.
Solution:   Do not set extra_col for a backwards search. (Sung Pae)
2013-01-23 16:43:11 +01:00
Bram Moolenaar fe856f855b Added tag v7-3-778 for changeset 562bbee33aa4 2013-01-23 16:19:23 +01:00
Bram Moolenaar 790813992c updated for version 7.3.778
Problem:    Compiler error for adding up two pointers. (Titov Anatoly)
Solution:   Add a type cast. (Ken Takata)
2013-01-23 16:19:23 +01:00
Bram Moolenaar ae4a8a157a Added tag v7-3-777 for changeset 9a1a4c486e6b 2013-01-23 16:00:11 +01:00
Bram Moolenaar e429f1d34a updated for version 7.3.777
Problem:    When building with Gnome locale gets reset.
Solution:   Set locale after gnome_program_init(). (Christian Brabandt)
2013-01-23 16:00:11 +01:00
Bram Moolenaar 8efba88984 Added tag v7-3-776 for changeset 80b041b994d1 2013-01-23 15:53:15 +01:00
Bram Moolenaar fed6561294 updated for version 7.3.776
Problem:    ml_get error when searching, caused by curwin not matching curbuf.
Solution:   Avoid changing curbuf. (Lech Lorens)
2013-01-23 15:53:15 +01:00
Bram Moolenaar 7e896accbc Added tag v7-3-775 for changeset a6e60677aea7 2013-01-23 13:55:20 +01:00
Bram Moolenaar b0b542fa2a updated for version 7.3.775
Problem:    Cygwin and Mingw builds miss dependency on gui_w48.c.
Solution:   Add a build rule. (Ken Takata)
2013-01-23 13:55:20 +01:00
Bram Moolenaar 642b9e5b2e Added tag v7-3-774 for changeset a8f5876e4981 2013-01-23 13:41:01 +01:00
Bram Moolenaar 8eba316a07 updated for version 7.3.774
Problem:    Tiny GUI version misses console dialog feature.
Solution:   Define FEAT_CON_DIALOG when apprpriate. (Christian Brabandt)
2013-01-23 13:41:00 +01:00
Bram Moolenaar 0e601a6548 Added tag v7-3-773 for changeset 3db9aee957f7 2013-01-19 14:02:02 +01:00
Bram Moolenaar 1c19bd8cbc updated for version 7.3.773
Problem:    Crash when OriginalFirstThunk is zero.
Solution:   Skip items with OriginalFirstThunk not set. (Ken Takata)
2013-01-19 14:02:02 +01:00
Bram Moolenaar b55f9b11ea Added tag v7-3-772 for changeset d828cab6964f 2013-01-17 18:34:06 +01:00
Bram Moolenaar 31b7236cd8 updated for version 7.3.772
Problem:    Cursor is at the wrong location and below the end of the file
	    after doing substitutions with confirm flag: %s/x/y/c
	    (Dominique Pelle)
Solution:   Update the cursor position. (Christian Brabandt & Dominique)
2013-01-17 18:34:05 +01:00
Bram Moolenaar cf2c915566 Added tag v7-3-771 for changeset 3bd2c055319e 2013-01-17 17:37:36 +01:00
Bram Moolenaar f53cfcc3f8 updated for version 7.3.771
Problem:    Uninitialized variable. (Yasuhiro Matsumoto)
Solution:   Set x2 to -1.
2013-01-17 17:37:35 +01:00
Bram Moolenaar cb4ca03414 Added tag v7-3-770 for changeset da7a7ba36ed2 2013-01-17 17:17:26 +01:00
Bram Moolenaar 3d1455b16c updated for version 7.3.770
Problem:    Vim.h indentation is inconsistent.
Solution:   Adjust the indentation. (Elias Diem)
2013-01-17 17:17:26 +01:00
Bram Moolenaar 1106504d46 Added tag v7-3-769 for changeset d179a8eff9d7 2013-01-17 17:02:05 +01:00
Bram Moolenaar 365f5fa668 updated for version 7.3.769
Problem:    'matchpairs' does not work with multi-byte characters.
Solution:   Make it work. (Christian Brabandt)
2013-01-17 17:02:05 +01:00
Bram Moolenaar dd726d1606 Added tag v7-3-768 for changeset 9ea81cd9b1f5 2013-01-17 15:37:02 +01:00
Bram Moolenaar 361a518c2c updated for version 7.3.768
Problem:    settabvar() and setwinvar() may move the cursor.
Solution:   Save and restore the cursor position when appropriate. (idea by
	    Yasuhiro Matsumoto)
2013-01-17 15:37:01 +01:00
Bram Moolenaar afbc68e5c3 Added tag v7-3-767 for changeset be1cffa1e477 2013-01-17 14:39:47 +01:00
Bram Moolenaar 02cc5f062f updated for version 7.3.767
Problem:    (Win32) The _errno used for iconv may be the wrong one.
Solution:   Use the _errno from iconv.dll. (Ken Takata)
2013-01-17 14:39:47 +01:00
Bram Moolenaar 8d94680ace Added tag v7-3-766 for changeset b5103b7d9e12 2013-01-17 14:09:45 +01:00
Bram Moolenaar 5ba9855cdc updated for version 7.3.766
Problem:    ":help cpo-*" jumps to the wrong place.
Solution:   Make it equivalent to ":help cpo-star".
2013-01-17 14:09:44 +01:00
Bram Moolenaar 88297797f2 Added tag v7-3-765 for changeset 915fb3d2dd8f 2013-01-17 14:00:12 +01:00
Bram Moolenaar 80640894cc updated for version 7.3.765
Problem:    Segfault when doing "cclose" on BufUnload in a python function.
	    (Sean Reifschneider)
Solution:   Skip window with NULL buffer. (Christian Brabandt)
2013-01-17 14:00:11 +01:00
Bram Moolenaar 78b3be7cbb Added tag v7-3-764 for changeset b29e55d0ef01 2013-01-17 13:37:32 +01:00
Bram Moolenaar af9d249e1f updated for version 7.3.764
Problem:    Not all message translation files are installed.
Solution:   Also install the converted files.
2013-01-17 13:37:32 +01:00
Bram Moolenaar be1eda6a25 Added tag v7-3-763 for changeset b6148e4a9c39 2013-01-17 13:24:08 +01:00
Bram Moolenaar f0c569a165 updated for version 7.3.763
Problem:    Jumping to a mark does not open a fold if it is in the same line.
	    (Wiktor Ruben)
Solution:   Also compare the column after the jump. (Christian Brabandt)
2013-01-17 13:24:08 +01:00
Bram Moolenaar f8dda06603 Added tag v7-3-762 for changeset 699f8d8f096d 2012-12-16 12:50:40 +01:00
Bram Moolenaar f1a14b8b6f updated for version 7.3.762
Problem:    On some systems the tabline is not redrawn.
Solution:   Call RedrawWindow(). (Charles Peacech)
2012-12-16 12:50:39 +01:00
Bram Moolenaar bb846b6b96 Added tag v7-3-761 for changeset 6834d6aeae09 2012-12-12 18:20:32 +01:00
Bram Moolenaar b695049737 updated for version 7.3.761
Problem:    In Visual mode a "-p does not work. (Marcin Szamotulski)
Solution:   Avoid writing to "- before putting it. (Christian Brabandt)
2012-12-12 18:20:32 +01:00
Bram Moolenaar cb822b519b Added tag v7-3-760 for changeset 8e54a32bcd56 2012-12-12 17:33:33 +01:00
Bram Moolenaar 5f5db2017f updated for version 7.3.760
Problem:    dv_ deletes the white space before the line.
Solution:   Move the cursor to the first non-white. (Christian Brabandt)
2012-12-12 17:33:32 +01:00
Bram Moolenaar f69c630f33 Added tag v7-3-759 for changeset 25ea15fdfa5c 2012-12-12 17:12:25 +01:00
Bram Moolenaar 2775240d12 updated for version 7.3.759
Problem:    MS-Windows: Updating the tabline is slow when there are many tabs.
Solution:   Disable redrawing while performing the update. (Arseny Kapoulkine)
2012-12-12 17:12:25 +01:00
Bram Moolenaar 8dbf1b3558 Added tag v7-3-758 for changeset 9eb0d30510f7 2012-12-12 16:43:58 +01:00
Bram Moolenaar 5579bc07c8 updated for version 7.3.758
Problem:    Matchit plugin does not handle space in #ifdef.
Solution:   Change matching pattern to allow spaces. (Mike Morearty)
2012-12-12 16:43:58 +01:00
Bjorn Winckler c898b7862c Snapshot 66 2012-12-12 16:26:32 +01:00
Bram Moolenaar 85161f1d97 Added tag v7-3-757 for changeset 65ef7c96d65f 2012-12-12 16:11:36 +01:00
Bram Moolenaar 529833bae9 updated for version 7.3.757
Problem:    Issue 96: May access freed memory when a put command triggers
	    autocommands. (Dominique Pelle)
Solution:   Call u_save() before getting y_array.
2012-12-12 16:11:36 +01:00
Bjorn Winckler caebe7d074 Merge branch 'vim'
Conflicts:
	runtime/doc/various.txt
2012-12-12 16:10:23 +01:00
Bram Moolenaar 7c6ed390c9 Added tag v7-3-756 for changeset 706c87d16d40 2012-12-12 15:55:20 +01:00
Bram Moolenaar aaad17942a updated for version 7.3.756
Problem:    A location list can get a wrong count in :lvimgrep.
Solution:   Check if the list was changed by autocommands. (mostly by
	    Christian Brabandt)
2012-12-12 15:55:20 +01:00
Bram Moolenaar 6be4962636 Added tag v7-3-755 for changeset d9b4cf53be2e 2012-12-12 14:25:05 +01:00
Bram Moolenaar a3bfcce13f updated for version 7.3.755
Problem:    Autoconf doesn't find Python 3 if it's called "python".
Solution:   Search for "python2" and "python3" first, then "python".
2012-12-12 14:25:05 +01:00
Bjorn Winckler 965313f743 Fix for 'ballooneval' breaking 'updatetime'
Balloon eval would cause CursorHold to be triggered immediately after a
scrolling event without taking 'updatetime' into consideration.

This fixes Issue 432.
2012-12-08 14:54:40 +01:00
Bram Moolenaar 9d18ab35c7 Added tag v7-3-754 for changeset beceb0a18c79 2012-12-06 21:30:29 +01:00
Bram Moolenaar 1a395fdf85 updated for version 7.3.754
Problem:    Latest nmake is not recognized.
Solution:   Add nmake version 11.00.51106.1. (Raymond Ko)
2012-12-06 21:30:29 +01:00
Bram Moolenaar 8dd4c67b9d Added tag v7-3-753 for changeset c83cd3d01128 2012-12-05 19:13:18 +01:00
Bram Moolenaar bee8023f3b updated for version 7.3.753
Problem:    When there is a QuitPre autocommand using ":q" twice does not work
	    for exiting when there are more files to edit.
Solution:   Do not decrement quitmore in an autocommand. (Techlive Zheng)
2012-12-05 19:13:18 +01:00
Bram Moolenaar 819e7ffe4c Update runtime files. 2012-12-05 19:01:43 +01:00
Bram Moolenaar 336e3e84ef Added tag v7-3-752 for changeset ed936effb1f3 2012-12-05 19:00:06 +01:00
Bram Moolenaar 49dc75a579 updated for version 7.3.752
Problem:    Test 49 script file doesn't fold properly.
Solution:   Add a colon.
2012-12-05 19:00:06 +01:00
Bram Moolenaar 56a078097b Added tag v7-3-751 for changeset d149f18b289f 2012-12-05 18:21:32 +01:00
Bram Moolenaar 3f3b3d0229 updated for version 7.3.751
Problem:    Test 61 is flaky, it fails once in a while.
Solution:   When it fails retry once.
2012-12-05 18:21:32 +01:00
Bram Moolenaar bc111652ec Added tag v7-3-750 for changeset 5c36fe9f19a5 2012-12-05 17:03:22 +01:00
Bram Moolenaar 0b0b4a4835 updated for version 7.3.750
Problem:    The justify macro does not always work correctly.
Solution:   Fix off-by-one error (James McCoy)
2012-12-05 17:03:22 +01:00
Bram Moolenaar fa4157da1d Added tag v7-3-749 for changeset 3e22fe67fa69 2012-12-05 16:30:07 +01:00
Bram Moolenaar ec81ae1623 updated for version 7.3.749
Problem:    Python interface doesn't build without the multi-byte feature.
Solution:   Add #ifdef. (Ken Takata)
2012-12-05 16:30:07 +01:00
Bram Moolenaar a41427005b Added tag v7-3-748 for changeset 56bb88c68f98 2012-12-05 16:10:42 +01:00
Bram Moolenaar de1949d163 updated for version 7.3.748
Problem:    Cannot properly test conceal mode.
Solution:   Add the screencol() and screenrow() functions.  Use them in
	    test88. (Simon Ruderich)
2012-12-05 16:10:42 +01:00
Bram Moolenaar 4c297d4a02 Added tag v7-3-747 for changeset cd59ba19985a 2012-12-05 15:32:30 +01:00
Bram Moolenaar bcaafa4109 updated for version 7.3.747
Problem:    When characters are concealed text aligned with tabs are no longer
	    aligned, e.g. at ":help :index".
Solution:   Compensate space for tabs for concealed characters. (Dominique
	    Pelle)
2012-12-05 15:32:30 +01:00
Bram Moolenaar 47db3afb9e Added tag v7-3-746 for changeset 4934eb2e22dc 2012-12-05 15:16:47 +01:00
Bram Moolenaar 3f328664eb updated for version 7.3.746
Problem:    Memory leaks when using location lists.
Solution:   Set qf_title to something. (Christian Brabandt)
2012-12-05 15:16:47 +01:00
Bram Moolenaar 43afd98a77 Added tag v7-3-745 for changeset aab4b29520e7 2012-12-05 14:43:02 +01:00
Bram Moolenaar 14317a7a41 updated for version 7.3.745
Problem:    Automatically setting 'ttymouse' doesn't work.
Solution:   Reset the "option was set" flag when using the default.
2012-12-05 14:43:02 +01:00
Bram Moolenaar 8a896c3322 Added tag v7-3-744 for changeset 26c8b3b49f74 2012-11-29 20:10:00 +01:00
Bram Moolenaar 1cffd37392 updated for version 7.3.744
Problem:    64 bit compiler warning.
Solution:   Add type cast. (Mike Williams)
2012-11-29 20:10:00 +01:00
Bram Moolenaar 88a781e545 Added tag v7-3-743 for changeset 67e3b2753a6e 2012-11-28 23:03:07 +01:00
Bram Moolenaar 3f4620694f updated for version 7.3.743
Problem:    Tiny build still fails.
Solution:   Add #else in the right place.
2012-11-28 23:03:07 +01:00
Bram Moolenaar a6a3487770 Added tag v7-3-742 for changeset 4d1753f3e85c 2012-11-28 22:12:45 +01:00
Bram Moolenaar abdb302e73 updated for version 7.3.742
Problem:    Leaking memory when :vimgrep restores the directory.
Solution:   Free the allocated memory. (Christian Brabandt)
2012-11-28 22:12:44 +01:00
Bram Moolenaar 7b44f817d2 Added tag v7-3-741 for changeset 6e1fe64cf440 2012-11-28 19:10:54 +01:00
Bram Moolenaar 3e8070770a updated for version 7.3.741
Problem:    Tiny build fails.
Solution:   Move #ifdef. (Ike Devolder)
2012-11-28 19:10:54 +01:00
Bram Moolenaar 143ca292c9 Added tag v7-3-740 for changeset 2c12cd5c1381 2012-11-28 18:31:54 +01:00
Bram Moolenaar bd4706300c updated for version 7.3.740
Problem:    IOC tool complains about undefined behavior for int.
Solution:   Change to unsigned int. (Dominique Pelle)
2012-11-28 18:31:54 +01:00
Bram Moolenaar e818fc748b Added tag v7-3-739 for changeset e2d36f345a7f 2012-11-28 18:22:12 +01:00
Bram Moolenaar 443ca7fa7e updated for version 7.3.739
Problem:    Computing number of lines may have an integer overflow.
Solution:   Check for MAXCOL explicitly. (Dominique Pelle)
2012-11-28 18:22:11 +01:00
Bram Moolenaar 6886afbcc0 Updated runtime files. 2012-11-28 18:21:11 +01:00
Bram Moolenaar 3054eeaf5d Added tag v7-3-738 for changeset eccae034465b 2012-11-28 17:41:59 +01:00
Bram Moolenaar 5e38b5c456 updated for version 7.3.738
Problem:    Unused function argument.
Solution:   Remove it. (Christian Brabandt)
2012-11-28 17:41:59 +01:00
Bram Moolenaar fd8762debc Added tag v7-3-737 for changeset 1773d5aa6437 2012-11-28 17:34:49 +01:00
Bram Moolenaar bc2c929e8f updated for version 7.3.737
Problem:    When using do_cmdline() recursively did_endif is not reset,
	    causing messages to be overwritten.
Solution:   Reset did_endif. (Christian Brabandt)
2012-11-28 17:34:48 +01:00
Bram Moolenaar 92c7f2a717 Added tag v7-3-736 for changeset b1536bbbda10 2012-11-28 16:49:58 +01:00
Bram Moolenaar ca323bb59f updated for version 7.3.736
Problem:    File name completion in input() escapes white space. (Frederic
	    Hardy)
Solution:   Do not escape white space. (Christian Brabandt)
2012-11-28 16:49:58 +01:00
Bram Moolenaar 34b75711b0 Added tag v7-3-735 for changeset d3158bf4dee9 2012-11-28 16:18:29 +01:00
Bram Moolenaar 153b610e1f updated for version 7.3.735
Problem:    Cannot build Ruby 1.9 with MingW or Cygwin.
Solution:   Add another include directory. (Ken Takata)
2012-11-28 16:18:29 +01:00
Bram Moolenaar 77b19e7a3d Added tag v7-3-734 for changeset fc8b4a06af9d 2012-11-28 16:06:22 +01:00
Bram Moolenaar 8614d43d13 updated for version 7.3.734
Problem:    Cannot put help files in a sub-directory.
Solution:   Make :helptags work for sub-directories. (Charles Campbell)
2012-11-28 16:06:22 +01:00
Bram Moolenaar d9dc0327a5 Added tag v7-3-733 for changeset 509e55bd4a3f 2012-11-28 15:55:42 +01:00
Bram Moolenaar a97f2f100c updated for version 7.3.733
Problem:    Tests fail when including MzScheme.
Solution:   Change #ifdefs for vim_main2().
2012-11-28 15:55:42 +01:00
Bram Moolenaar c02d8f673f Added tag v7-3-732 for changeset fa8bf69d3866 2012-11-28 15:37:51 +01:00
Bram Moolenaar be1dfa2a5f updated for version 7.3.732
Problem:    Compiler warnings for function arguments.
Solution:   Use inteptr_t instead of long.
2012-11-28 15:37:51 +01:00
Bram Moolenaar 0596209e22 Added tag v7-3-731 for changeset 778ff2e87806 2012-11-28 15:33:14 +01:00
Bram Moolenaar 9acf3e9c05 updated for version 7.3.731
Problem:    Py3Init_vim() is exported uneccessarily.
Solution:   Make it static. (Ken Takata)
2012-11-28 15:33:14 +01:00
Bram Moolenaar 16d9511464 Added tag v7-3-730 for changeset 37a4cacd2051 2012-11-28 15:25:34 +01:00
Bram Moolenaar 930799aa9f updated for version 7.3.730
Problem:    Crash in PHP file when using syntastic. (Ike Devolder)
Solution:   Avoid using NULL pointer. (Christian Brabandt)
2012-11-28 15:25:34 +01:00
Bram Moolenaar 06fac2d2ad Added tag v7-3-729 for changeset d08f05285dd1 2012-11-24 13:39:00 +01:00
Bram Moolenaar 29b0a112c1 updated for version 7.3.729
Problem:    Building with Ruby fails on some systems.
Solution:   Remove "static" and add #ifndef PROTO. (Ken Takata)
2012-11-24 13:39:00 +01:00
Bram Moolenaar 5c51f4e3ee Added tag v7-3-728 for changeset 233666f85933 2012-11-23 21:54:48 +01:00
Bram Moolenaar e29f177e38 updated for version 7.3.728
Problem:    Cannot compile with MzScheme interface on Ubuntu 12.10.
Solution:   Find the collects directory under /usr/share.
2012-11-23 21:54:48 +01:00
Bram Moolenaar f6ad9b06af Added tag v7-3-727 for changeset d3c291efdb0b 2012-11-23 21:47:22 +01:00
Bram Moolenaar 9cbee3adcb updated for version 7.3.727
Problem:    Can't always find Win32.mak when building GvimExt.
Solution:   Use same mechanism as in Make_mvc.mak. (Cade Foster)
2012-11-23 21:47:22 +01:00
Bram Moolenaar 1ccd19d3f4 Added tag v7-3-726 for changeset 5049eacbff0e 2012-11-23 21:45:25 +01:00
Bram Moolenaar 296265307e updated for version 7.3.726
Problem:    Typos and duplicate info in README.
Solution:   Fix the text.
2012-11-23 21:45:25 +01:00
Bram Moolenaar 6cecd3a3c0 Added tag v7-3-725 for changeset f4aa43d952f5 2012-11-20 17:55:10 +01:00
Bram Moolenaar a233b32522 updated for version 7.3.725
Problem:    :aboveleft and :belowright have no effect on :copen.
Solution:   Check for cmdmod.split. (Christian Brabandt)
2012-11-20 17:55:10 +01:00
Bram Moolenaar 8f2daa999e Added tag v7-3-724 for changeset 6e5acfdf7a5a 2012-11-20 17:21:53 +01:00
Bram Moolenaar b9de147652 updated for version 7.3.724
Problem:    Building with Ruby and Tcl on MS-Windows does not work.
Solution:   Remove Ruby and Tcl from the big MS-Windows build.
2012-11-20 17:21:52 +01:00
Bram Moolenaar 59857bc26b Added tag v7-3-723 for changeset ee138f29259e 2012-11-20 17:19:02 +01:00
Bram Moolenaar f2b7adaa44 updated for version 7.3.723
Problem:    Various tiny problems.
Solution:   Various tiny fixes.
2012-11-20 17:19:01 +01:00
Bram Moolenaar efa9dc347f Added tag v7-3-722 for changeset de6968039340 2012-11-20 17:03:27 +01:00
Bram Moolenaar 477175871e updated for version 7.3.722
Problem:    Perl flags may contain "-g", which breaks "make proto".
Solution:   Filter out the "-g" flag for cproto. (Ken Takata)
2012-11-20 17:03:27 +01:00
Bram Moolenaar 0f5492701d Added tag v7-3-721 for changeset b23f583e132e 2012-11-20 16:59:14 +01:00
Bram Moolenaar a90da3050c updated for version 7.3.721
Problem:    Ruby interface defines local functions globally.
Solution:   Make the functions static.
2012-11-20 16:59:14 +01:00
Bram Moolenaar 7e6078d70a Added tag v7-3-720 for changeset 9e119e0ade5d 2012-11-20 16:56:54 +01:00
Bram Moolenaar edcbe411c9 updated for version 7.3.720
Problem:    Proto files are outdated.
Solution:   Update the newly generated proto files.
2012-11-20 16:56:54 +01:00
Bram Moolenaar 2cab8090d7 Added tag v7-3-719 for changeset e6d8b44065bc 2012-11-20 16:53:39 +01:00
Bram Moolenaar bbbf1f3390 updated for version 7.3.719
Problem:    Cannot run new version of cproto, it fails on missing include
	    files.
Solution:   Add lots of #ifndef PROTO
2012-11-20 16:53:39 +01:00
Bram Moolenaar 3537fc4a90 Added tag v7-3-718 for changeset 18e95db59826 2012-11-20 12:16:59 +01:00
Bram Moolenaar 85e0fb6fb0 updated for version 7.3.718
Problem:    When re-using the current buffer the buffer-local options stay.
Solution:   Re-initialize the buffer-local options. (Christian Brabandt)
2012-11-20 12:16:58 +01:00
Bram Moolenaar d451d86892 Added tag v7-3-717 for changeset 6a76846b84eb 2012-11-20 12:03:06 +01:00
Bram Moolenaar 50ecca6ca1 updated for version 7.3.717
Problem:    When changing the font size, only MS-Windows limits the window
	    size.
Solution:   Also limit the window size on other systems. (Roland Puntaier)
2012-11-20 12:03:06 +01:00
Bram Moolenaar d959ef3d5b Added tag v7-3-716 for changeset eb268db98f32 2012-11-20 11:04:35 +01:00
Bram Moolenaar 84b15eef90 updated for version 7.3.716
Problem:    Error on exit when using Python 3.
Solution:   Remove PythonIO_Fini(). (Roland Puntaier)
2012-11-20 11:04:35 +01:00
Bram Moolenaar cd5a832eb6 Updated runtime files. 2012-11-15 21:28:22 +01:00
Bram Moolenaar 3463f0cf5e Added tag v7-3-715 for changeset 4f0ddf4137ee 2012-11-14 22:38:08 +01:00
Bram Moolenaar d54b7bc818 updated for version 7.3.715
Problem:    Crash when calling setloclist() in BufUnload autocmd. (Marcin
	    Szamotulski)
Solution:   Set w_llist to NULL when it was freed.  Also add a test.
	    (Christian Brabandt)
2012-11-14 22:38:08 +01:00
Bram Moolenaar 6c88462476 Added tag v7-3-714 for changeset 9ea14f097855 2012-11-14 20:52:28 +01:00
Bram Moolenaar fffbe477a7 updated for version 7.3.714
Problem:    Inconsistency: :set can be used in the sandbox, but :setlocal and
	    :setglobal cannot. (Michael Henry)
Solution:   Fix the flags for :setlocal and :setglobal. (Christian Brabandt)
2012-11-14 20:52:28 +01:00
Bram Moolenaar 9f9c961f76 Added tag v7-3-713 for changeset f15769bce0b8 2012-11-14 18:10:56 +01:00
Bram Moolenaar 9cd411ca66 updated for version 7.3.713
Problem:    printf() can only align to bytes, not characters.
Solution:   Add the "S" item. (Christian Brabandt)
2012-11-14 18:10:56 +01:00
Bjorn Winckler 29343568f9 Merge branch 'vim'
Conflicts:
	src/auto/configure
	src/buffer.c
	src/configure.in
	src/if_python.c
	src/option.c
2012-11-04 10:32:28 +01:00
Bram Moolenaar 41f429c651 Added tag v7-3-712 for changeset 557ef119999e 2012-10-23 05:35:34 +02:00
Bram Moolenaar 78fe8860fa updated for version 7.3.712
Problem:    Nmake from VS2010 SP1 is not recognized.
Solution:   Add the version number. (Ken Takata)
2012-10-23 05:35:34 +02:00
Bram Moolenaar 2d13748ebb Added tag v7-3-711 for changeset 2a7b2943be22 2012-10-23 05:17:38 +02:00
Bram Moolenaar f236cb6c2b updated for version 7.3.711
Problem:    vim.current.buffer is not available. (lilydjwg)
Solution:   Use py3_PyUnicode_AsUTF8 instead of py3_PyUnicode_AsUTF8String.
	    (Ken Takata)
2012-10-23 05:17:37 +02:00
Bram Moolenaar 742e200a3d Added tag v7-3-710 for changeset 906eb5c0ef12 2012-10-23 05:08:54 +02:00
Bram Moolenaar e725616bdd updated for version 7.3.710
Problem:    Patch 7.3.704 breaks "fn".
Solution:   Add check for ca.cmdchar. (Christian Brabandt)
2012-10-23 05:08:53 +02:00
Bram Moolenaar 9a1a5cdcae Added tag v7-3-709 for changeset fb7dec372910 2012-10-21 23:56:05 +02:00
Bram Moolenaar 90fe26e878 updated for version 7.3.709
Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.
2012-10-21 23:56:05 +02:00
Bram Moolenaar fa1c7afef2 Added tag v7-3-708 for changeset 64427849c158 2012-10-21 22:18:21 +02:00
Bram Moolenaar f3c58563f1 updated for version 7.3.708
Problem:    Filler lines above the first line may be hidden when opening Vim.
Solution:   Change how topfill is computed. (Christian Brabandt)
2012-10-21 22:18:21 +02:00
Bram Moolenaar b0e6e48639 Added tag v7-3-707 for changeset d24d309c365f 2012-10-21 21:38:46 +02:00
Bram Moolenaar 69574ad204 updated for version 7.3.707
Problem:    Problems loading a library for a file name with non-latin
	    characters.
Solution:   Use wide system functions when possible. (Ken Takata)
2012-10-21 21:38:45 +02:00
Bram Moolenaar 7a977df095 Added tag v7-3-706 for changeset d0ae72c2f5f9 2012-10-21 21:25:22 +02:00
Bram Moolenaar 0d6a25104f updated for version 7.3.706
Problem:    Can't build Motif version.
Solution:   Fix wrongly named variable. (Ike Devolder)
2012-10-21 21:25:22 +02:00
Bram Moolenaar bd3ba59e85 Added tag v7-3-705 for changeset 0aa74f2f50a8 2012-10-21 04:00:08 +02:00
Bram Moolenaar 33d55bd88c updated for version 7.3.705
Problem:    Mouse features are not sorted properly. (Tony Mechelynck)
Solution:   Put the mouse features in alphabetical order.
2012-10-21 04:00:07 +02:00
Bram Moolenaar 304a9169a5 Added tag v7-3-704 for changeset be8ad9c9b973 2012-10-21 03:54:33 +02:00
Bram Moolenaar adaca3b757 updated for version 7.3.704
Problem:    Repeating "cgn" does not always work correctly.
Solution:   Also fetch the operator character. (Christian Brabandt)
2012-10-21 03:54:33 +02:00
Bram Moolenaar dccfa82a67 Added tag v7-3-703 for changeset f69321485951 2012-10-21 03:46:05 +02:00
Bram Moolenaar 9a8ace4dd2 updated for version 7.3.703
Problem:    When 'undofile' is reset the hash is computed unnecessarily.
Solution:   Only compute the hash when the option was set. (Christian Brabandt)
2012-10-21 03:46:05 +02:00
Bram Moolenaar 354e9e93d2 Updated runtime files. 2012-10-21 03:02:54 +02:00
Bram Moolenaar 0152d3dc4e Added tag v7-3-702 for changeset 916b5c11a13e 2012-10-21 02:41:08 +02:00
Bram Moolenaar 316771a598 updated for version 7.3.702
Problem:    Nmake from VS6 service pack 6 is not recognized.
Solution:   Detect the version number. (Jiri Sedlak)
2012-10-21 02:41:08 +02:00
Bram Moolenaar 2f1c96f1b3 Added tag v7-3-701 for changeset 48af86560945 2012-10-21 02:37:10 +02:00
Bram Moolenaar 0fa7326ee9 updated for version 7.3.701
Problem:    MS-Windows: Crash with stack overflow when setting 'encoding'.
Solution:   Handle that loading the iconv library may be called recursively.
	    (Jiri Sedlak)
2012-10-21 02:37:10 +02:00
Bram Moolenaar ffb1760a2a Added tag v7-3-700 for changeset c656847932d3 2012-10-21 02:17:45 +02:00
Bram Moolenaar 8445570b11 updated for version 7.3.700
Problem:    Cannot detect URXVT and SGR mouse support.
Solution:   add +mouse_urxvt and +mouse_sgr. (Hayaki Saito)
2012-10-21 02:17:45 +02:00
Bram Moolenaar b187843e5a Added tag v7-3-699 for changeset 4ffb6f9b58e0 2012-10-21 02:10:24 +02:00
Bram Moolenaar 7e45de33f1 updated for version 7.3.699
Problem:    When 'ttymouse' is set to "sgr" manually, it is overruled by
	    automatic detection.
Solution:   Do not use automatic detection when 'ttymouse' was set manually.
	    (Hayaki Saito)
2012-10-21 02:10:24 +02:00
Bram Moolenaar 35189edd6d Added tag v7-3-698 for changeset b5b892472ecb 2012-10-21 01:47:00 +02:00
Bram Moolenaar 9cb2e95126 updated for version 7.3.698
Problem:    Python 3 does not preserve state beween commands.
Solution:   Preserve the state. (Paul Ollis)
2012-10-21 01:47:00 +02:00
Bram Moolenaar 1050735a29 Added tag v7-3-697 for changeset 7c72b5f7ada1 2012-10-21 01:40:30 +02:00
Bram Moolenaar faebc8f4c4 updated for version 7.3.697
Problem:    Leaking resources when setting GUI font.
Solution:   Free the font. (Ken Takata)
2012-10-21 01:40:30 +02:00
Bram Moolenaar 9600a7a5a0 Added tag v7-3-696 for changeset 447c688b82eb 2012-10-21 01:21:59 +02:00
Bram Moolenaar 48f1743060 updated for version 7.3.696
Problem:    Message about added spell language can be wrong.
Solution:   Give correct message. Add g:menutrans_set_lang_to to allow for
	    translation. (Jiri Sedlak)
2012-10-21 01:21:59 +02:00
Bram Moolenaar b453d6865f Added tag v7-3-695 for changeset cd6c420e31d6 2012-10-21 00:58:39 +02:00
Bram Moolenaar e299bcde4f updated for version 7.3.695
Problem:    Balloon cannot show multi-byte text.
Solution:   Properly deal with multi-byte characters. (Dominique Pelle)
2012-10-21 00:58:39 +02:00
Bram Moolenaar c4863948d8 Added tag v7-3-694 for changeset 8235ccf121bb 2012-10-21 00:45:18 +02:00
Bram Moolenaar ea0bac6b11 updated for version 7.3.694
Problem:    Now that 'shiftwidth' may use the value of 'tabstop' it is not so
	    easy to use in indent files.
Solution:   Add the shiftwidth() function. (so8res)
2012-10-21 00:45:18 +02:00
Bram Moolenaar 6becf03d26 Added tag v7-3-693 for changeset fd96b3cc88ed 2012-10-21 00:10:39 +02:00
Bram Moolenaar a26a0354a6 updated for version 7.3.693
Problem:    Can't make 'softtabstop' follow 'shiftwidth'.
Solution:   When 'softtabstop' is negative use the value of 'shiftwidth'.
	    (so8res)
2012-10-21 00:10:39 +02:00
Bram Moolenaar 0a2a0ac34f Added tag v7-3-692 for changeset 337a4368fd2b 2012-10-18 05:18:32 +02:00
Bram Moolenaar 6de2ac2f94 updated for version 7.3.692
Problem:    Can't build GTK version with GTK 2.0.
Solution:   Put GtkFileFilter declaration in the right place. (Yegappan
	    Lakshmanan)
2012-10-18 05:18:32 +02:00
Bram Moolenaar 66a6406bc4 Added tag v7-3-691 for changeset 7f10daa706bb 2012-10-14 05:20:12 +02:00
Bram Moolenaar 800e8a737d updated for version 7.3.691
Problem:    State specific to the Python thread is discarded.
Solution:   Keep state between threads. (Paul)
2012-10-14 05:20:12 +02:00
Bram Moolenaar 8626f532a3 Added tag v7-3-690 for changeset caa0ca9ad06c 2012-10-14 04:35:46 +02:00
Bram Moolenaar 4fa78fd650 updated for version 7.3.690
Problem:    When the current directory name is exactly the maximum path length
	    Vim may crash.
Solution:   Only add "/" when there is room. (Danek Duvall)
2012-10-14 04:35:45 +02:00
Bram Moolenaar 99b76408eb Added tag v7-3-689 for changeset 3c072c1cb873 2012-10-14 03:41:59 +02:00
Bram Moolenaar f1012b03ac updated for version 7.3.689
Problem:    MzScheme and Lua may use a NULL string.
Solution:   Use an empty string instead of NULL. (Yukihiro Nakadaira)
2012-10-14 03:41:59 +02:00
Bram Moolenaar f04ba951c8 Added tag v7-3-688 for changeset 2696da84d370 2012-10-14 03:22:56 +02:00
Bram Moolenaar df37828124 updated for version 7.3.688
Problem:    Python 3.3 is not supported.
Solution:   Add Python 3.3 support (Ken Takata)
2012-10-14 03:22:56 +02:00
Bjorn Winckler 4aeadf51a5 Only select directories in browsedir() 2012-10-12 22:26:14 +02:00
Bram Moolenaar f4977b66a2 Added tag v7-3-687 for changeset 0545dab1517f 2012-10-11 04:44:33 +02:00
Bram Moolenaar 2a68f98962 updated for version 7.3.687
Problem:    Test 16 fails when $DISPLAY is not set.
Solution:   Skip the test when $DISPLAY is not set.
2012-10-11 04:44:33 +02:00
Bram Moolenaar 956d16ce21 Added tag v7-3-686 for changeset ba9c9d0c4ff4 2012-10-11 04:04:38 +02:00
Bram Moolenaar fa0d18341b updated for version 7.3.686
Problem:    Using CTRL-\ e mappings is useful also when entering an
	    expression, but it doesn't work. (Marcin Szamotulski)
Solution:   Allow using CTRL-\ e when entering an expression if it was not
	    typed.
2012-10-11 04:04:37 +02:00
Bram Moolenaar cfd92a78d1 Added tag v7-3-685 for changeset 34aa94a421b7 2012-10-11 03:35:45 +02:00
Bram Moolenaar 54be19dc6a updated for version 7.3.685
Problem:    No test for what patch 7.3.673 fixes.
Solution:   Add a test. (Christian Brabandt)
2012-10-11 03:35:45 +02:00
Bram Moolenaar 3e1257bb42 Added tag v7-3-684 for changeset 1cc37b8cfaa1 2012-10-06 19:10:36 +02:00
Bram Moolenaar 9b4c45f51b updated for version 7.3.684
Problem:    "make test" does not delete lua.vim.
Solution:   Add lua.vim to the clean target. (Simon Ruderich)
2012-10-06 19:10:35 +02:00
Bram Moolenaar 36d0389506 Updated runtime files. 2012-10-05 22:26:30 +02:00
Bram Moolenaar f772344cd9 Added tag v7-3-683 for changeset 0f5ee2629635 2012-10-05 21:30:08 +02:00
Bram Moolenaar e640d952a6 updated for version 7.3.683
Problem:    ":python" may crash when vimbindeval() returns None.
Solution:   Check for v_string to be NULL. (Yukihiro Nakadaira)
2012-10-05 21:30:07 +02:00
Bram Moolenaar bf280ae759 Added tag v7-3-682 for changeset 8eb5b61161b4 2012-10-04 22:38:37 +02:00
Bram Moolenaar 2c8e96b19f updated for version 7.3.682
Problem:    Compiler complains about incompatible types.
Solution:   Remove type casts. (hint by Danek Duvall)
2012-10-04 22:38:37 +02:00
Bram Moolenaar 903fa59d86 Added tag v7-3-681 for changeset a2fe24ec6a0d 2012-10-03 21:48:44 +02:00
Bram Moolenaar fe37037756 updated for version 7.3.681
Problem:    List of distributed files picks up backup files.
Solution:   Make tutor patterns more specific.
2012-10-03 21:48:43 +02:00
Bram Moolenaar 393f45e8d6 Update runtime files. 2012-10-03 21:46:54 +02:00
Bram Moolenaar e21e514d4e Added tag v7-3-680 for changeset 52acec46b75e 2012-10-03 21:33:41 +02:00
Bram Moolenaar 93fb4a1589 updated for version 7.3.680
Problem:    Some files missing in the list of distributed files.
Solution:   Add lines for new files.
2012-10-03 21:33:41 +02:00
Bram Moolenaar f0073e43e0 Added tag v7-3-679 for changeset dd0f25ede9a8 2012-10-03 21:09:35 +02:00
Bram Moolenaar 732b020ef1 updated for version 7.3.679
Problem:    Ruby detection uses Config, newer Ruby versions use RbConfig.
Solution:   Detect the need to use RbConfig. (Vit Ondruch)
2012-10-03 21:09:35 +02:00
Bram Moolenaar 41fa41daff Added tag v7-3-678 for changeset de253f606048 2012-10-03 18:50:00 +02:00
Bram Moolenaar 70c020ca71 updated for version 7.3.678
Problem:    Ruby .so name may not be correct.
Solution:   Use the LIBRUBY_SO entry from the config. (Vit Ondruch)
2012-10-03 18:50:00 +02:00
Bram Moolenaar 669a50fbe3 Added tag v7-3-677 for changeset 8115f449a574 2012-10-03 18:25:00 +02:00
Bram Moolenaar 51c67d40f1 updated for version 7.3.677
Problem:    buf_spname() is used inconsistently.
Solution:   Make the return type a char_u pointer.  Check the size of the
	    returned string.
2012-10-03 18:25:00 +02:00
Bram Moolenaar ad43616e35 Added tag v7-3-676 for changeset 5309996ddced 2012-10-03 18:06:59 +02:00
Bram Moolenaar 8ca6791477 updated for version 7.3.676
Problem:    Ruby compilation on Windows 32 bit doesn't work.
Solution:   Only use some functions for 64 bit. (Ken Takata)
2012-10-03 18:06:59 +02:00
Bram Moolenaar 5ca34165b2 Added tag v7-3-675 for changeset 9963f7a9b41b 2012-10-03 17:12:47 +02:00
Bram Moolenaar 842aa3e3e9 updated for version 7.3.675
Problem:    Using uninitialized memory with very long file name.
Solution:   Put NUL after text when it is truncated. (ZyX)
2012-10-03 17:12:47 +02:00
Bram Moolenaar 0a531eb0bb Added tag v7-3-674 for changeset 4da6003f0f0e 2012-10-03 14:48:08 +02:00
Bram Moolenaar f08c83c8b6 updated for version 7.3.674
Problem:    Can't compile with Lua/dyn on Cygwin.
Solution:   Adjust configure to use the right library name. (Ken Takata)
2012-10-03 14:48:08 +02:00
Bram Moolenaar 329bb46d51 Added tag v7-3-673 for changeset ca1c025079b1 2012-10-03 13:35:51 +02:00
Bram Moolenaar 2cf65b529f updated for version 7.3.673
Problem:    Using "gN" while 'selection' is "exclusive" misses one character.
	    (Ben Fritz)
Solution:   Check the direction when compensating for exclusive selection.
	    (Christian Brabandt)
2012-10-03 13:35:51 +02:00
Bram Moolenaar dfba2a34f8 Updated runtime files. 2012-09-21 14:54:30 +02:00
Bram Moolenaar cf1a9898a4 Added tag v7-3-672 for changeset fd6ef931aa77 2012-09-21 14:00:35 +02:00
Bram Moolenaar 2f54401a8d updated for version 7.3.672
Problem:    Not possible to lock/unlock lists in Python interface.
Solution:   Add .locked and .scope attributes. (ZyX)
2012-09-21 14:00:35 +02:00
Bram Moolenaar 48530684e0 Added tag v7-3-671 for changeset 530f5a903031 2012-09-21 13:46:06 +02:00
Bram Moolenaar 23eb14c8e3 updated for version 7.3.671
Problem:    More Python code can be shared between Python 2 and 3.
Solution:   Move code to if_py_both.h. (ZyX)
2012-09-21 13:46:06 +02:00
Bram Moolenaar c1bda30587 Added tag v7-3-670 for changeset 2bf8c00741f7 2012-09-21 13:43:14 +02:00
Bram Moolenaar 40376d61ff updated for version 7.3.670
Problem:    Python: memory leaks when there are exceptions.
Solution:   Add DICTKEY_UNREF in the right places. (ZyX)
2012-09-21 13:43:14 +02:00
Bram Moolenaar 3a2707bb5b Added tag v7-3-669 for changeset 2b3b7b483708 2012-09-21 13:26:49 +02:00
Bram Moolenaar 40645d72b2 updated for version 7.3.669
Problem:    When building with Cygwin loading Python dynamically fails.
Solution:   Use DLLLIBRARY instead of INSTSONAME. (Ken Takata)
2012-09-21 13:26:49 +02:00
Bram Moolenaar 4a70c1de40 Added tag v7-3-668 for changeset dde6d0216a08 2012-09-21 12:50:51 +02:00
Bram Moolenaar f2f35ba4fd updated for version 7.3.668
Problem:    Building with Perl loaded dynamically  still uses static library.
Solution:   Adjust use of PL_thr_key. (Ken Takata)
2012-09-21 12:50:51 +02:00
Bram Moolenaar 603841e80c Added tag v7-3-667 for changeset cd36c0fed43e 2012-09-21 12:42:44 +02:00
Bram Moolenaar a1a8054cd6 updated for version 7.3.667
Problem:    Unused variables in Perl interface.
Solution:   Adjust #ifdefs.
2012-09-21 12:42:44 +02:00
Bram Moolenaar 58a38e76a8 Added tag v7-3-666 for changeset 1e22adc6176e 2012-09-18 22:00:08 +02:00
Bram Moolenaar 99470dd070 updated for version 7.3.666
Problem:    With MSVC 11 Win32.mak is not found.
Solution:   Add the SDK_INCLUDE_DIR variable. (Raymond Ko)
2012-09-18 22:00:08 +02:00
Bram Moolenaar 109a341dcd Added tag v7-3-665 for changeset 35939e1e25ff 2012-09-18 18:27:12 +02:00
Bram Moolenaar b0407a2775 updated for version 7.3.665
Problem:    MSVC 11 is not supported.
Solution:   Recognize MSVC 11. (Raymond Ko)
2012-09-18 18:27:12 +02:00
Bram Moolenaar 2d2a62e969 Added tag v7-3-664 for changeset f86619764a1e 2012-09-18 18:03:37 +02:00
Bram Moolenaar d40b6dc041 updated for version 7.3.664
Problem:    Buffer overflow in unescaping text. (Raymond Ko)
Solution:   Limit check for multi-byte character to 4 bytes.
2012-09-18 18:03:37 +02:00
Bram Moolenaar 0f1ec6285e Added tag v7-3-663 for changeset 2a200527131f 2012-09-18 16:47:07 +02:00
Bram Moolenaar 404f0c6aa5 updated for version 7.3.663
Problem:    End of color scheme name not clear in E185. (Aaron Lewis)
Solution:   Put the name in single quotes.
2012-09-18 16:47:07 +02:00
Bram Moolenaar f410d4d8d4 Added tag v7-3-662 for changeset 87afa95a2992 2012-09-18 16:36:32 +02:00
Bram Moolenaar 88d5f3b3bb updated for version 7.3.662
Problem:    Can't build Ruby interface with Ruby 1.9.3.
Solution:   Add missing functions. (V. Ondruch)
2012-09-18 16:36:32 +02:00
Bram Moolenaar 80aa593437 Added tag v7-3-661 for changeset 5e909c379a1e 2012-09-12 20:21:43 +02:00
Bram Moolenaar b9b0f25c07 updated for version 7.3.661
Problem:    SEGV in Python code.
Solution:   Initialize len to zero.  Use the right function depending on
	    version. (Maxim Philippov)
2012-09-12 20:21:43 +02:00
Bram Moolenaar b0abec0519 Added tag v7-3-660 for changeset 8fdadfccd184 2012-09-12 18:19:46 +02:00
Bram Moolenaar 6517945b46 updated for version 7.3.660
Problem:    ":help !" jumps to help for ":!".
Solution:   Adjust check for tag header line. (Andy Wokula)
2012-09-12 18:19:46 +02:00
Bram Moolenaar 7f97fb3b0d Added tag v7-3-659 for changeset e75da4a3225d 2012-09-05 19:17:42 +02:00
Bram Moolenaar bb507fd805 updated for version 7.3.659
Problem:    Recent Python changes are not tested.
Solution:   Add tests for Python bindings. (ZyX)
2012-09-05 19:17:42 +02:00
Bram Moolenaar c6a77c4fa6 Added tag v7-3-658 for changeset 15cdcb8ddcfb 2012-09-05 19:09:11 +02:00
Bram Moolenaar fa6de2bb62 updated for version 7.3.658
Problem:    NUL bytes truncate strings when converted from Python.
Solution:   Handle truncation as an error. (ZyX)
2012-09-05 19:09:11 +02:00
Bram Moolenaar 3fda39417e Added tag v7-3-657 for changeset 3958b0e672d6 2012-09-05 19:03:56 +02:00
Bram Moolenaar 8d41f92290 updated for version 7.3.657
Problem:    Python bindings silently truncate string values containing NUL.
Solution:   Fail when a string contains NUL. (ZyX)
2012-09-05 19:03:56 +02:00
Bram Moolenaar b8f0a81740 Added tag v7-3-656 for changeset a2f61b2b8e77 2012-09-05 18:54:48 +02:00
Bram Moolenaar 8c950049fd updated for version 7.3.656
Problem:    Internal error in :pyeval.
Solution:   Handle failed object conversion. (ZyX)
2012-09-05 18:54:48 +02:00
Bram Moolenaar 07eda3d71f Added tag v7-3-655 for changeset 0d3238b54963 2012-09-05 18:49:25 +02:00
Bram Moolenaar 16c23bed52 updated for version 7.3.655
Problem:    64 bit MingW xpm .a file is missing.
Solution:   Add the file. (Sergey Khorev)
2012-09-05 18:49:24 +02:00
Bram Moolenaar 11f53ee19a Added tag v7-3-654 for changeset 73557eda7027 2012-09-05 18:45:28 +02:00
Bram Moolenaar 817a4b1cce updated for version 7.3.654
Problem:    When creating a Vim dictionary from Python objects an empty key
	    might be used.
Solution:   Do not use empty keys, throw an IndexError. (ZyX)
2012-09-05 18:45:28 +02:00
Bram Moolenaar 15ffbeb6c6 Added tag v7-3-653 for changeset fd0c7452fa51 2012-09-05 17:57:39 +02:00
Bram Moolenaar ff38ed8523 updated for version 7.3.653
Problem:    MingW needs build rule for included XPM files.  Object directory
	    for 32 and 64 builds is the same, also for MSVC.
Solution:   Add MingW build rule to use included XPM files.  Add the CPU or
	    architecture to the object directory name. (Sergey Khorev)
2012-09-05 17:57:39 +02:00
Bram Moolenaar f4b74091c3 Added tag v7-3-652 for changeset 5edf3c51aa93 2012-09-05 17:28:21 +02:00
Bram Moolenaar 8acd9d785d updated for version 7.3.652
Problem:    Workaround for Python crash isn't perfect.
Solution:   Change the type of the length argument. (Sean Estabrooks)
2012-09-05 17:28:21 +02:00
Bram Moolenaar 642db37e7b Added tag v7-3-651 for changeset ece544e85821 2012-09-05 15:15:07 +02:00
Bram Moolenaar 742f0ab7cb updated for version 7.3.651
Problem:    Completion after ":help \{-" gives an error message.
Solution:   Prepend a backslash.
2012-09-05 15:15:07 +02:00
Bram Moolenaar ea3f5fe053 Added tag v7-3-650 for changeset a638ae0f1b0c 2012-09-05 15:03:30 +02:00
Bram Moolenaar b6aa05255d updated for version 7.3.650
Problem:    Completion after ":help \{-" gives an error message and messes up
	    the command line.
Solution:   Cancel the tag search if the pattern can't be compiled. (Yasuhiro
	    Matsumoto)
2012-09-05 15:03:30 +02:00
Bram Moolenaar e09f6bfff5 Added tag v7-3-649 for changeset 063765c3cebb 2012-09-05 14:18:45 +02:00
Bram Moolenaar e7de33a2d3 updated for version 7.3.649
Problem:    When 'clipboard' is set to "unnamed" small deletes end up in the
	    numbered registers. (Ingo Karkat)
Solution:   Use the original register name to decide whether to put a delete
	    in a numbered register. (Christian Brabandt)
2012-09-05 14:18:45 +02:00
Bram Moolenaar 395c4a7692 Added tag v7-3-648 for changeset 76c099d45772 2012-09-05 13:30:41 +02:00
Bram Moolenaar 7d1fb96bc1 updated for version 7.3.648
Problem:    Crash when using a very long file name. (ZyX)
Solution:   Properly check length of buffer space.
2012-09-05 13:30:40 +02:00
Bram Moolenaar d9b3765a8a Added tag v7-3-647 for changeset 29fe4e5c1db1 2012-09-05 12:16:45 +02:00
Bram Moolenaar 6d4ae7443a updated for version 7.3.647
Problem:    "gnd" doesn't work correctly in Visual mode.
Solution:   Handle Visual mode differently in "gn". (Christian Brabandt)
2012-09-05 12:16:45 +02:00
Bjorn Winckler b13abfeee8 Snapshot 65 2012-09-01 18:16:12 +02:00
Bjorn Winckler 933cfa532c Merge branch 'vim'
Conflicts:
	src/ex_getln.c
	src/option.c
	src/vim.h
2012-09-01 17:53:10 +02:00
Bram Moolenaar e86d19eb49 Added tag v7-3-646 for changeset e70485d3f81d 2012-08-29 18:50:54 +02:00
Bram Moolenaar 7216004bc9 updated for version 7.3.646
Problem:    When reloading a buffer the undo file becomes unusable unless ":w"
	    is executed. (Dmitri Frank)
Solution:   After reloading the buffer write the undo file. (Christian
	    Brabandt)
2012-08-29 18:50:54 +02:00
Bram Moolenaar 718e978cb8 Added tag v7-3-645 for changeset 1810ee914648 2012-08-29 16:55:13 +02:00
Bram Moolenaar 14a612a6b1 updated for version 7.3.645
Problem:    No tests for patch 7.3.625 and 7.3.637.
Solution:   Add more tests for the "gn" command and try/catch. (Christian
	    Brabandt)
2012-08-29 16:55:13 +02:00
Bram Moolenaar 88ba0ea09f Added tag v7-3-644 for changeset fb7c028dcac7 2012-08-29 16:34:27 +02:00
Bram Moolenaar 82f7124c04 updated for version 7.3.644
Problem:    Dead code for BeOS GUI.
Solution:   Remove unused __BEOS__ stuff.
2012-08-29 16:34:27 +02:00
Bram Moolenaar 5d1fe1b662 Added tag v7-3-643 for changeset fdac34e3afa5 2012-08-29 16:26:04 +02:00
Bram Moolenaar 1b7916eedf updated for version 7.3.643
Problem:    MS-Windows: When starting gvim maximized 'lines' and 'columns' are
	    wrong. (Christian Robinson)
Solution:   Move the check for gui.starting from ui_get_shellsize() to
	    check_shellsize().
2012-08-29 16:26:04 +02:00
Bram Moolenaar 335a525911 Added tag v7-3-642 for changeset 79ac6744237c 2012-08-29 15:50:26 +02:00
Bram Moolenaar 19214a469a updated for version 7.3.642
Problem:    Segfault with specific autocommands.  Was OK after 7.3.449 and
	    before 7.3.545. (Richard Brown)
Solution:   Pass TRUE for abort_if_last in the call to close_buffer().
	    (Christian Brabandt)
2012-08-29 15:50:26 +02:00
Bram Moolenaar fe13aae3e7 Added tag v7-3-641 for changeset c068389057c9 2012-08-29 15:22:25 +02:00
Bram Moolenaar 6351800536 updated for version 7.3.641
Problem:    ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
Solution:   Add the bang. (Christian Brabandt)
2012-08-29 15:22:25 +02:00
Bram Moolenaar df61793a9a Added tag v7-3-640 for changeset c2c3577021ed 2012-08-29 14:26:27 +02:00
Bram Moolenaar 6af0d5c594 updated for version 7.3.640
Problem:    It's not easy to build Vim on Windows with XPM support.
Solution:   Binary files for 7.3.639. (Sergey Khorev)
2012-08-29 14:26:27 +02:00
Bram Moolenaar d228722c98 Added tag v7-3-639 for changeset 1ec385a8faf4 2012-08-29 14:18:33 +02:00
Bram Moolenaar 45eded7a8a updated for version 7.3.639
Problem:    It's not easy to build Vim on Windows with XPM support.
Solution:   Include the required files, they are quite small.  Update the
	    MSVC makefile to use them.  Binary files are in the next patch.
	    (Sergey Khorev)
2012-08-29 14:18:33 +02:00
Bram Moolenaar b5b25aa09a Fix version.c, 638 was there twice. 2012-08-23 22:28:46 +02:00
Bram Moolenaar 7086d37174 Added tag v7-3-638 for changeset c0256c4bd91e 2012-08-23 18:58:14 +02:00
Bram Moolenaar 4e20bc69fe updated for version 7.3.638 2012-08-23 18:58:14 +02:00
Bram Moolenaar f04b739eb6 Added tag v7-3-637 for changeset 3b62d8f36cdf 2012-08-23 18:43:10 +02:00
Bram Moolenaar 9aed0b6265 updated for version 7.3.637
Problem:    Cannot catch the error caused by a foldopen when there is no fold.
	    (ZyX, Issue 48)
Solution:   Do not break out of the loop early when inside try/catch.
	    (Christian Brabandt) Except when there is a syntax error.
2012-08-23 18:43:10 +02:00
Bram Moolenaar db6eb57878 Added tag v7-3-636 for changeset 616bc1ad4f12 2012-08-23 15:53:05 +02:00
Bram Moolenaar 7a2b881cc0 updated for version 7.3.636
Problem:    Not all zero-width matches handled correctly for "gn".
Solution:   Move zero-width detection to a separate function. (Christian
	    Brabandt)
2012-08-23 15:53:05 +02:00
Bram Moolenaar 3d75bd4c67 Added tag v7-3-635 for changeset f7f68f83fc33 2012-08-23 13:28:55 +02:00
Bram Moolenaar cb44761e57 updated for version 7.3.635
Problem:    Issue 21: System call during startup sets 'lines' to a wrong
	    value. (Karl Yngve)
Solution:   Don't set the shell size while the GUI is still starting up.
	    (Christian Brabandt)
2012-08-23 13:28:55 +02:00
Bram Moolenaar 71363148cb Added tag v7-3-634 for changeset b7eea2409507 2012-08-23 12:59:02 +02:00
Bram Moolenaar eb1c53093d updated for version 7.3.634
Problem:    Month/Day format for undo is confusing. (Marcin Szamotulski)
Solution:   Always use Year/Month/Day, should work for everybody.
2012-08-23 12:59:02 +02:00
Bjorn Winckler 1c99b7cb4b Rephrase text in advanced preferences dialog 2012-08-19 18:01:20 +02:00
Bjorn Winckler 8fa2a3fcb6 Disable toolbar by default
The toolbar is an anachronism and there are no 2x icons so it looks
horrendous on a Retina display.  Users can always re-enable it by adding
"set go+=T" to their ~/.gvimrc.
2012-08-19 17:52:01 +02:00
Bjorn Winckler b8f6e70f32 Default to using CoreText renderer
The default renderer is too "loose" on OS X 10.8 whereas the CoreText
renderer looks the same across all platforms.  Furthermore, the CoreText
renderer is many times faster.

A downside to the CoreText renderer is that it does not support the text
input protocols properly, so e.g. three-finger tapping to show
dictionary results does not work.  It also does not show marked text as
it is being drawn if the "inline marked text" option is disabled.
2012-08-19 17:48:09 +02:00
Bjorn Winckler 259f4dee7c Fix warnings etc in PSMTabBarControl framework
This also gets rid of a runtime warning that would get logged on OS X
10.8 regarding the use of a deprecated method.
2012-08-17 20:07:42 +02:00
Bjorn Winckler 25150b07cf Fix static analyzer warning in DBPrefs 2012-08-17 20:07:42 +02:00
Bjorn Winckler 8545368b42 Fix clang compiler and static analyzer warnings 2012-08-17 20:07:42 +02:00
Bram Moolenaar 7b671a2d5f Update runtime files. 2012-08-15 17:43:31 +02:00
Bram Moolenaar 1198b1a20e Added tag v7-3-633 for changeset ad5fbf3596e0 2012-08-15 17:26:57 +02:00
Bram Moolenaar c92831cbf2 updated for version 7.3.633
Problem:    Selection remains displayed as selected after selecting another
	    text.
Solution:   Call xterm_update() before select(). (Andrew Pimlott)
2012-08-15 17:26:57 +02:00
Bram Moolenaar 1eb36b4b01 Added tag v7-3-632 for changeset 44038a9777aa 2012-08-15 16:21:33 +02:00
Bram Moolenaar 1502f4afe4 updated for version 7.3.632
Problem:    Cannot select beyond 222 columns with the mouse in xterm.
Solution:   Add support for SGR mouse tracking. (Hayaki Saito)
2012-08-15 16:21:32 +02:00
Bram Moolenaar 2d2022b345 Added tag v7-3-631 for changeset 99f076ca8d84 2012-08-15 14:05:05 +02:00
Bram Moolenaar c983e6fba8 updated for version 7.3.631
Problem:    Cannot complete user names.
Solution:   Add user name completion.  (Dominique Pelle)
2012-08-15 14:05:05 +02:00
Bram Moolenaar 438dec3997 Added tag v7-3-630 for changeset 3416ac23d075 2012-08-15 13:31:00 +02:00
Bram Moolenaar 74ec06a22f updated for version 7.3.630
Problem:    "|" does not behave correctly when 'virtualedit' is set.
Solution:   Call validate_virtcol(). (David Bürgin)
2012-08-15 13:31:00 +02:00
Bjorn Winckler ce5b7a2d6d Clip to cell when drawing insertion point
This fixes an issue where the cursor would spill over into the
neighboring cells on Retina displays (only).
2012-08-14 11:25:17 +02:00
Bram Moolenaar 8b2aa9cc42 Added tag v7-3-629 for changeset 7de7ef01288d 2012-08-08 18:01:05 +02:00
Bram Moolenaar 881adbf110 updated for version 7.3.629
Problem:    There is no way to make 'shiftwidth' follow 'tabstop'.
Solution:   When 'shiftwidth' is zero use the value of 'tabstop'. (Christian
	    Brabandt)
2012-08-08 18:01:05 +02:00
Bram Moolenaar 967175e077 Added tag v7-3-628 for changeset 1ed93878d6e2 2012-08-08 17:31:40 +02:00
Bram Moolenaar 18d9a1ff8f updated for version 7.3.628
Problem:    ":open" does not allow for a !, which results in a confusing error
	    message. (Shawn Wilson)
Solution:   Allow ! on ":open". (Christian Brabandt)
2012-08-08 17:31:40 +02:00
Bram Moolenaar 4b89dba6f7 Added tag v7-3-627 for changeset dc65e6429d2c 2012-08-08 16:51:15 +02:00
Bram Moolenaar 293902f719 updated for version 7.3.627
Problem:    When using the "n" flag with the ":s" command a \= substitution
	    will not be evaluated.
Solution:   Do perform the evaluation, so that a function can be invoked at
	    every matching position without changing the text. (Christian
	    Brabandt)
2012-08-08 16:51:15 +02:00
Bram Moolenaar 9b371f1f91 Added tag v7-3-626 for changeset 956b1ed19282 2012-08-08 16:05:08 +02:00
Bram Moolenaar f3aae59f9b updated for version 7.3.626
Problem:    Python interface doesn't build with Python 2.4 or older.
Solution:   Define Py_ssize_t. (Benjamin Bannier)
2012-08-08 16:05:07 +02:00
Bram Moolenaar ea30477ba3 Added tag v7-3-625 for changeset f43ffd820a46 2012-08-08 15:27:58 +02:00
Bram Moolenaar 9656f450eb updated for version 7.3.625
Problem:    "gn" does not handle zero-width matches correctly.
Solution:   Handle zero-width patterns specially. (Christian Brabandt)
2012-08-08 15:27:57 +02:00
Bram Moolenaar 3c1af43697 Added tag v7-3-624 for changeset 06749e351b1c 2012-08-08 14:33:21 +02:00
Bram Moolenaar a418b3637b updated for version 7.3.624
Problem:    When cancelling input() it returns the third argument. That should
	    only happen for inputdialog().
Solution:   Check if inputdialog() was used. (Hirohito Higashi)
2012-08-08 14:33:21 +02:00
Bram Moolenaar 2fcbe32038 Added tag v7-3-623 for changeset a46a101bfddd 2012-08-08 13:17:31 +02:00
Bram Moolenaar f37fbede3a updated for version 7.3.623
Problem:    Perl 5.14 commands crash Vim on MS-Windows.
Solution:   Use perl_get_sv() instead of GvSV(). (Raymond Ko)
2012-08-08 13:17:31 +02:00
Bram Moolenaar 953a3eeab1 Added tag v7-3-622 for changeset 52247eb61511 2012-08-02 21:48:24 +02:00
Bram Moolenaar 0c3f94b98e updated for version 7.3.622
Problem:    XPM library for Win32 can't be found.
Solution:   Suggest using the one from the Vim ftp site.
2012-08-02 21:48:24 +02:00
Bram Moolenaar bd75384129 Added tag v7-3-621 for changeset ac13ea2b098d 2012-08-02 21:24:42 +02:00
Bram Moolenaar b8660aab47 updated for version 7.3.621
Problem:    Compiler warnings on 64 bit windows.
Solution:   Add type casts. (Mike Williams)
2012-08-02 21:24:42 +02:00
Bram Moolenaar ae5a4ddaa5 Added tag v7-3-620 for changeset a6ebae140d89 2012-08-02 21:21:47 +02:00
Bram Moolenaar 80fe051918 updated for version 7.3.620
Problem:    Building with recent Ruby on Win32 doesn't work.
Solution:   Add a separate argument for the API version. (Yasuhiro Matsumoto)
2012-08-02 21:21:47 +02:00
Bram Moolenaar 81b5505729 Added tag v7-3-619 for changeset 27ecf0c87bd2 2012-08-02 12:31:44 +02:00
Bram Moolenaar af7d2782b7 updated for version 7.3.619
Problem:    When executing a shell command Vim may become slow to respond.
Solution:   Don't wait after every processed message. (idea by Yasuhiro
	    Matsumoto)
2012-08-02 12:31:44 +02:00
Bram Moolenaar ced3e7c907 Added tag v7-3-618 for changeset 0b1cb3f839c4 2012-07-29 12:55:32 +02:00
Bram Moolenaar 9b4c5dc938 updated for version 7.3.618
Problem:    Still doesn't compile with small features.
Solution:   Move current_search() out of #ifdef. (Dominique Pelle)
2012-07-29 12:55:32 +02:00
Bram Moolenaar 1b88143765 Added tag v7-3-617 for changeset 73db39ca1877 2012-07-27 21:12:07 +02:00
Bram Moolenaar ed7b24a6f6 updated for version 7.3.617
Problem:    Hang on completion.
Solution:   Skip over the space. (Yasuhiro Matsumoto)
2012-07-27 21:12:07 +02:00
Bram Moolenaar d9c698c0da Added tag v7-3-616 for changeset baba6286c91e 2012-07-27 21:05:54 +02:00
Bram Moolenaar 87a8e60410 updated for version 7.3.616
Problem:    Can't compile without +visual.
Solution:   Add #ifdef.
2012-07-27 21:05:54 +02:00
Bram Moolenaar 8e1098208c Updated runtime files. 2012-07-25 17:49:10 +02:00
Bram Moolenaar 39b4875c39 Added tag v7-3-615 for changeset 169ccc471a8a 2012-07-25 17:22:23 +02:00
Bram Moolenaar 997488c529 updated for version 7.3.615
Problem:    Completion for a user command does not recognize backslash before
	    a space.
Solution:   Recognize escaped characters. (Yasuhiro Matsumoto)
2012-07-25 17:22:23 +02:00
Bram Moolenaar 0641a786f9 Added tag v7-3-614 for changeset 2bb51730ef4b 2012-07-25 16:47:03 +02:00
Bram Moolenaar e77feff6c1 updated for version 7.3.614
Problem:    Number argument gets turned into a number while it should be a
	    string.
Solution:   Add flag to the call_vim_function() call. (Yasuhiro Matsumoto)
2012-07-25 16:47:03 +02:00
Bram Moolenaar 6311e99b69 Added tag v7-3-613 for changeset c03b6363492b 2012-07-25 16:32:08 +02:00
Bram Moolenaar 75dd3c986f updated for version 7.3.613
Problem:    Including Python's config.c in the build causes trouble.  It is
	    not clear why it was there.
Solution:   Omit the config file. (James McCoy)
2012-07-25 16:32:08 +02:00
Bram Moolenaar 484ce521da Added tag v7-3-612 for changeset 2b4b6185054f 2012-07-25 16:10:03 +02:00
Bram Moolenaar 6890358d55 updated for version 7.3.612
Problem:    Auto formatting messes up text when 'fo' contains "2". (ZyX)
Solution:   Decrement "less_cols". (Tor Perkins)
2012-07-25 16:10:03 +02:00
Bram Moolenaar 097286dae3 Added tag v7-3-611 for changeset e13f2f3568e1 2012-07-25 15:36:04 +02:00
Bram Moolenaar 453cfd390b updated for version 7.3.611
Problem:    Can't use Vim dictionary as self argument in Python.
Solution:   Fix the check for the "self" argument. (ZyX)
2012-07-25 15:36:04 +02:00
Bram Moolenaar 7e86da9e43 Added tag v7-3-610 for changeset 9f48a5432997 2012-07-25 15:06:34 +02:00
Bram Moolenaar 28140961c5 updated for version 7.3.610
Problem:    Cannot operate on the text that a search pattern matches.
Solution:   Add the "gn" and "gN" commands. (Christian Brabandt)
2012-07-25 15:06:34 +02:00
Bram Moolenaar c6b24afff5 Added tag v7-3-609 for changeset d29aa05b7e31 2012-07-25 13:46:31 +02:00
Bram Moolenaar 363b267315 updated for version 7.3.609
Problem:    File names in :checkpath! output are garbled.
Solution:   Check for \zs in the pattern. (Lech Lorens)
2012-07-25 13:46:30 +02:00
Nico Weber a1f636d72a Add 2x images for PSMTabBarControl
The 2x images were created using:

    https://gist.github.com/3161796
2012-07-23 20:19:50 +02:00
Bram Moolenaar 39a5e3b441 Added tag v7-3-608 for changeset d47e6222d1cd 2012-07-19 18:05:44 +02:00
Bram Moolenaar bdd304b54a updated for version 7.3.608
Problem:    winrestview() does not always restore the view correctly.
Solution:   Call win_new_height() and win_new_width(). (Lech Lorens)
2012-07-19 18:05:44 +02:00
Bram Moolenaar 25ed26f9df Added tag v7-3-607 for changeset 002f2c5de317 2012-07-19 17:39:07 +02:00
Bram Moolenaar fe1126eb28 updated for version 7.3.607
Problem:    With an 8 color terminal the selected menu item is black on black,
	    because darkGrey as bg is the same as black.
Solution:   Swap fg and bg colors. (James McCoy)
2012-07-19 17:39:07 +02:00
Bram Moolenaar ce9c346ffe Added tag v7-3-606 for changeset c612d154bcdd 2012-07-19 17:18:26 +02:00
Bram Moolenaar d347933cfc updated for version 7.3.606
Problem:    CTRL-P completion has a problem with multi-byte characters.
Solution:   Check for next character being NUL properly.  (Yasuhiro Matsumoto)
2012-07-19 17:18:26 +02:00
Bram Moolenaar e1d9f2ce34 Added tag v7-3-605 for changeset 4873d9c4ad3b 2012-07-19 11:37:26 +02:00
Bram Moolenaar 46d2bf6dc1 updated for version 7.3.605
Problem:    MS-Windows: Can't compile with older compilers. (Titov Anatoly)
Solution:   Add #ifdef for MEMORYSTATUSEX.
2012-07-19 11:37:26 +02:00
Bjorn Winckler 98c2fea06d Fix for clip_copy_selection() being made static 2012-07-17 22:47:48 +02:00
Bjorn Winckler 35a06550f8 Merge branch 'vim'
Conflicts:
	runtime/doc/tags
	src/auto/configure
	src/globals.h
2012-07-17 22:17:12 +02:00
Bram Moolenaar b50c83719a Added tag v7-3-604 for changeset acd91c9741a6 2012-07-16 19:27:29 +02:00
Bram Moolenaar 3b7e81b435 updated for version 7.3.604
Problem:    inputdialog() doesn't use the cancel argument in the console.
	    (David Fishburn)
Solution:   Use the third argument. (Christian Brabant)
2012-07-16 19:27:29 +02:00
Bram Moolenaar 4db8b597f5 Added tag v7-3-603 for changeset 085f14642fe8 2012-07-16 17:31:53 +02:00
Bram Moolenaar 4adf7a7fbb updated for version 7.3.603
Problem:    It is possible to add replace builtin functions by calling
	    extend() on g:.
Solution:   Add a flag to a dict to indicate it is a scope.  Check for
	    existing functions. (ZyX)
2012-07-16 17:31:53 +02:00
Bram Moolenaar d0ab901141 Added tag v7-3-602 for changeset 5cacdf56c94b 2012-07-16 17:28:11 +02:00
Bram Moolenaar d788cd1c6c updated for version 7.3.602
Problem:    Missing files in distribution.
Solution:   Update the list of files.
2012-07-16 17:28:11 +02:00
Bram Moolenaar 4b4b7823a2 Added tag v7-3-601 for changeset c1780b4cb995 2012-07-16 17:26:22 +02:00
Bram Moolenaar 81fa1996b6 updated for version 7.3.601
Problem:    Bad code style.
Solution:   Insert space, remove parens.
2012-07-16 17:26:22 +02:00
Bram Moolenaar 8cbbb57777 Updated runtime files. 2012-07-12 22:01:11 +02:00
Jonathan del Strother 3c27d4f4bc Force autorelease pool flush after an FSEvent
The top-level autorelease pool only gets cleared out on application
events, not including things like the FSEvent handler.  If MacVim is in
the background while ~/.vim changes, autoreleased objects will carry on
building up until the users switches back to it, resulting in a high
memory water mark and a lot of needless deallocs.  See
http://www.mikeash.com/pyblog/more-fun-with-autorelease.html
2012-07-11 15:09:20 +02:00
Bram Moolenaar 373f36c1dc Added tag v7-3-600 for changeset 8f98038a0bf3 2012-07-10 19:25:10 +02:00
Bram Moolenaar e3f5b689c3 updated for version 7.3.600
Problem:    <f-args> is not expanded properly with DBCS encoding.
Solution:   Skip over character instead of byte. (Yukihiro Nakadaira)
2012-07-10 19:25:10 +02:00
Bram Moolenaar 5a3b42505c Added tag v7-3-599 for changeset b06578f1390f 2012-07-10 18:31:54 +02:00
Bram Moolenaar cc60b4ede8 updated for version 7.3.599
Problem:    Missing change in one file.
Solution:   Patch for changed clip_autoselect().
2012-07-10 18:31:54 +02:00
Bram Moolenaar c8ced8a6a1 Added tag v7-3-598 for changeset f07475816079 2012-07-10 17:14:56 +02:00
Bram Moolenaar 04f54461b0 updated for version 7.3.598
Problem:    Cannot act upon end of completion. (Taro Muraoka)
Solution:   Add an autocommand event that is triggered when completion has
	    finished. (Idea by Florian Klein)
2012-07-10 17:14:56 +02:00
Bram Moolenaar 0846e433ee Added tag v7-3-597 for changeset b9aa7fb4a928 2012-07-10 16:49:23 +02:00
Bram Moolenaar 3161f666dd updated for version 7.3.597
Problem:    'clipboard' "autoselect" only applies to the * register. (Sergey
	    Vakulenko)
Solution:   Make 'autoselect' work for the + register. (Christian Brabant)
	    Add the "autoselectplus" option in 'clipboard' and the "P" flag in
	    'guioptions'.
2012-07-10 16:49:23 +02:00
Bram Moolenaar 2b1c1a2ec3 Added tag v7-3-596 for changeset 5aad2c444a00 2012-07-10 15:18:23 +02:00
Bram Moolenaar 711a6c73d7 updated for version 7.3.596
Problem:    Can't remove all signs for a file or buffer.
Solution:   Support "*" for the sign id. (Christian Brabandt)
2012-07-10 15:18:22 +02:00
Bram Moolenaar 50bf8d51e7 Added tag v7-3-595 for changeset 928e7cef8836 2012-07-10 14:56:46 +02:00
Bram Moolenaar 0becc47692 updated for version 7.3.595
Problem:    The X command server responds slowly
Solution:   Change the loop that waits for replies. (Brian Burns)
2012-07-10 14:56:45 +02:00
Bram Moolenaar ebff0aaeef Added tag v7-3-594 for changeset 5e7b500dbb7e 2012-07-10 14:25:04 +02:00
Bram Moolenaar f23cfce9e8 updated for version 7.3.594
Problem:    The X command server doesn't work perfectly. It sends an empty
	    reply for as-keys requests.
Solution:   Remove duplicate ga_init2(). Do not send a reply for as-keys
	    requests. (Brian Burns)
2012-07-10 14:25:04 +02:00
Bram Moolenaar 4f818ee47e Added tag v7-3-593 for changeset 46896c29edd7 2012-07-10 13:41:14 +02:00
Bram Moolenaar dc13f9ce11 updated for version 7.3.593
Problem:    No easy way to decide if b:browsefilter will work.
Solution:   Add the browsefilter feature.
2012-07-10 13:41:14 +02:00
Bram Moolenaar 52940bb6e9 Added tag v7-3-592 for changeset 0e06193d4bd7 2012-07-10 13:12:51 +02:00
Bram Moolenaar 5e85203075 updated for version 7.3.592
Problem:    Vim on GTK does not support g:browsefilter.
Solution:   Add a GtkFileFilter to the file chooser. (Christian Brabandt)
2012-07-10 13:12:51 +02:00
Bram Moolenaar ce20886a7f Added tag v7-3-591 for changeset e5b925ae56e3 2012-07-06 18:27:39 +02:00
Bram Moolenaar 45ea2a4c5e updated for version 7.3.591
Problem:    Can only move to a tab by absolute number.
Solution:   Move a number of tabs to the left or the right. (Lech Lorens)
2012-07-06 18:27:39 +02:00
Bram Moolenaar 25357e0b40 Added tag v7-3-590 for changeset bdf7f3e4c763 2012-07-06 17:51:28 +02:00
Bram Moolenaar 8466c741e9 updated for version 7.3.590
Problem:    The '< and '> marks cannot be set directly.
Solution:   Allow setting '< and '>. (Christian Brabandt)
2012-07-06 17:51:28 +02:00
Bram Moolenaar c173681387 Added tag v7-3-589 for changeset e82937b753a8 2012-07-06 16:49:40 +02:00
Bram Moolenaar 6d72979680 updated for version 7.3.589
Problem:    Crash when $HOME is not set.
Solution:   Check for a NULL pointer. (Chris Webb)
2012-07-06 16:49:40 +02:00
Bram Moolenaar 9ca0ff178b Added tag v7-3-588 for changeset e92cc285632d 2012-07-06 16:39:47 +02:00
Bram Moolenaar 06a15fc298 updated for version 7.3.588
Problem:    Crash on NULL pointer.
Solution:   Fix the immediate problem by checking for NULL. (Lech Lorens)
2012-07-06 16:39:47 +02:00
Bram Moolenaar 97c3b22fd4 Added tag v7-3-587 for changeset a34fb0a077c9 2012-07-06 16:22:02 +02:00
Bram Moolenaar 7d6e890e90 updated for version 7.3.587
Problem:    Compiler warning for local var shadowing global var.
Solution:   Rename the var and move it to an inner block. (Christian Brabandt)
2012-07-06 16:22:02 +02:00
Bram Moolenaar fc328fdbca Added tag v7-3-586 for changeset 8393a16069fb 2012-07-06 13:40:50 +02:00
Bram Moolenaar 54bf138437 updated for version 7.3.586
Problem:    When compiling with Cygwin or MingW MEMORYSTATUSEX is not defined.
Solution:   Set the default for WINVER to 0x0500.
2012-07-06 13:40:50 +02:00
Bram Moolenaar e821ec24ff Added tag v7-3-585 for changeset d258a0c5c38a 2012-07-06 13:36:48 +02:00
Bram Moolenaar 9427ba94ec updated for version 7.3.585
Problem:    Calling changed_bytes() too often.
Solution:   Move changed_bytes() out of a loop. (Tor Perkins)
2012-07-06 13:36:48 +02:00
Bram Moolenaar 0107887a8f Added tag v7-3-584 for changeset 2d107086903a 2012-06-30 13:34:34 +02:00
Bram Moolenaar 6bc7065f45 updated for version 7.3.584
Problem:    PyCObject is not always defined.
Solution:   Use PyObject instead.
2012-06-30 13:34:34 +02:00
Bram Moolenaar c7fcb9e88a Added tag v7-3-583 for changeset a69b1d711ff9 2012-06-30 13:21:08 +02:00
Bram Moolenaar ee9f93f339 updated for version 7.3.583
Problem:    PyObject_NextNotImplemented is not defined before Python 2.7.
	    (Danek Duvall)
Solution:   Add #ifdefs.
2012-06-30 13:21:08 +02:00
Bram Moolenaar 10b185ab6d Added tag v7-3-582 for changeset d383bc2ba811 2012-06-29 23:57:54 +02:00
Bram Moolenaar a127a61b95 updated for version 7.3.582
Problem:    Missing parts of the test OK file.
Solution:   Add the missing parts.
2012-06-29 23:57:54 +02:00
Bram Moolenaar 41c523e5b1 Added tag v7-3-581 for changeset 96249a1803e2 2012-06-29 19:14:53 +02:00
Bram Moolenaar 23f2ec16c7 updated for version 7.3.581
Problem:    Problems compiling with Python.
Solution:   Pick UCS2 or UCS4 function at runtime. (lilydjwg)
2012-06-29 19:14:52 +02:00
Bram Moolenaar 746e568d03 Added tag v7-3-580 for changeset f02b6ad168ae 2012-06-29 17:52:03 +02:00
Bram Moolenaar e24b15a614 updated for version 7.3.580
Problem:    Warning on 64 bit MS-Windows.
Solution:   Add type cast. (Mike Williams)
2012-06-29 17:52:02 +02:00
Bram Moolenaar 1d6193d475 Added tag v7-3-579 for changeset 80ed6aa7b9eb 2012-06-29 16:28:29 +02:00
Bram Moolenaar 365041a617 updated for version 7.3.579
Problem:    Can't compile with Python 2.5.
Solution:   Use PyCObject when Capsules are not available.
2012-06-29 16:28:28 +02:00
Bram Moolenaar 7709e7662d Added tag v7-3-578 for changeset 0e9b2622c94a 2012-06-29 16:19:51 +02:00
Bram Moolenaar 352ab28a62 updated for version 7.3.578
Problem:    Misplaced declaration.
Solution:   Move declaration to start of block.
2012-06-29 16:19:50 +02:00
Bram Moolenaar 745742b69b Added tag v7-3-577 for changeset 286ba0251c0a 2012-06-29 15:51:31 +02:00
Bram Moolenaar cee7fb3dbd updated for version 7.3.577
Problem:    Size of memory does not fit in 32 bit unsigned.
Solution:   Use Kbyte instead of byte.  Call GlobalMemoryStatusEx() instead of
	    GlobalMemoryStatus() when available.
2012-06-29 15:51:30 +02:00
Bram Moolenaar 87ff9e0b63 Added tag v7-3-576 for changeset 7e3fedfc3d08 2012-06-29 15:04:49 +02:00
Bram Moolenaar f90d559618 updated for version 7.3.576
Problem:    Formatting of lists inside comments is not right yet.
Solution:   Use another solution and add a test. (Tor Perkins)
2012-06-29 15:04:49 +02:00
Bram Moolenaar b1b1761091 Added tag v7-3-575 for changeset 79ae10bd0565 2012-06-29 13:56:06 +02:00
Bram Moolenaar 4a2e5f9494 updated for version 7.3.575
Problem:    "ygt" tries to yank instead of giving an error. (Daniel Mueller)
Solution:   Check for a pending operator.
2012-06-29 13:56:06 +02:00
Bram Moolenaar 8bc6508c88 Added tag v7-3-574 for changeset 3ac005f02cf0 2012-06-29 13:44:41 +02:00
Bram Moolenaar f8826f74e6 updated for version 7.3.574
Problem:    When pasting a register in the search command line a CTRL-L
	    character is not pasted. (Dominique Pelle)
Solution:   Escape the CTRL-L. (Christian Brabandt)
2012-06-29 13:44:41 +02:00
Bram Moolenaar 2c209a24f4 Added tag v7-3-573 for changeset 802b1a1b275f 2012-06-29 13:34:19 +02:00
Bram Moolenaar ce6072ef3a updated for version 7.3.573
Problem:    Using array index before bounds checking.
Solution:   Swap the parts of the condition. (Dominique Pelle)
2012-06-29 13:34:19 +02:00
Bram Moolenaar c18d4df33f Added tag v7-3-572 for changeset 3ae387af405f 2012-06-29 13:19:27 +02:00
Bram Moolenaar 057358539b updated for version 7.3.572
Problem:    Duplicate statement in if and else. (Dominique Pelle)
Solution:   Remove the condition and add a TODO.
2012-06-29 13:19:27 +02:00
Bram Moolenaar 0466327788 Added tag v7-3-571 for changeset 43fd3896fab7 2012-06-29 13:14:03 +02:00
Bram Moolenaar 2f4214ce89 updated for version 7.3.571
Problem:    Duplicated condition.
Solution:   Remove one. (Dominique Pelle)
2012-06-29 13:14:03 +02:00
Bram Moolenaar 0b79d6e5e3 Added tag v7-3-570 for changeset 4f1c511e71f8 2012-06-29 12:57:07 +02:00
Bram Moolenaar c0e5a0e43d updated for version 7.3.570
Problem:    ":vimgrep" does not obey 'wildignore'.
Solution:   Apply 'wildignore' and 'suffixes' to ":vimgrep". (Ingo Karkat)
2012-06-29 12:57:06 +02:00
Bram Moolenaar 4658e9b511 Added tag v7-3-569 for changeset c052f3b79b99 2012-06-29 12:54:54 +02:00
Bram Moolenaar 92591ff798 updated for version 7.3.569
Problem:    Evaluating Vim expression in Python is insufficient.
Solution:   Add vim.bindeval().  Also add pyeval() and py3eval(). (ZyX)
2012-06-29 12:54:53 +02:00
Bram Moolenaar f9ba7b52ab Added tag v7-3-568 for changeset 3b5f541269e2 2012-06-29 12:35:44 +02:00
Bram Moolenaar 740d69187c updated for version 7.3.568
Problem:    Bad indents for #ifdefs.
Solution:   Add and remove spaces. (Elias Diem)
2012-06-29 12:35:44 +02:00
Bram Moolenaar 4780a8b118 Added tag v7-3-567 for changeset f90bb88c2615 2012-06-29 11:46:33 +02:00
Bram Moolenaar 0bc13a1455 updated for version 7.3.567
Problem:    Missing copyright notice.
Solution:   Add Vim copyright notice. (Taro Muraoka)
2012-06-29 11:46:33 +02:00
Bram Moolenaar 57f2f9e33b Added tag v7-3-566 for changeset 18c6b1752d0b 2012-06-20 22:56:02 +02:00
Bram Moolenaar ece4b53d45 updated for version 7.3.566
Problem:    Redo after completion does not work correctly when refresh: always
	    is not used. (Raymond Ko)
Solution:   Check the compl_opt_refresh_always flag. (Christian Brabandt)
2012-06-20 22:56:02 +02:00
Bram Moolenaar ffc93f49fc Added tag v7-3-565 for changeset 5f811338b118 2012-06-20 18:39:16 +02:00
Bram Moolenaar ed05f9f549 updated for version 7.3.565
Problem:    Can't generate proto file for Python 3.
Solution:   Add PYTHON3_CFLAGS to LINT_CFLAGS.
2012-06-20 18:39:15 +02:00
Bram Moolenaar f9dd1dbdca Added tag v7-3-564 for changeset 683de9306096 2012-06-20 17:56:09 +02:00
Bram Moolenaar efc95ff994 updated for version 7.3.564
Problem:    Warning for pointer conversion.
Solution:   Add type cast.
2012-06-20 17:56:09 +02:00
Bram Moolenaar fb64ede96d Added tag v7-3-563 for changeset 02c86cdcf9a2 2012-06-20 17:54:38 +02:00
Bram Moolenaar 5e11532b6d updated for version 7.3.563
Problem:    Can't build with tiny features.
Solution:   Add #ifdef.
2012-06-20 17:54:38 +02:00
Bram Moolenaar 658dfee778 Added tag v7-3-562 for changeset b2763055bdf2 2012-06-20 15:48:57 +02:00
Bram Moolenaar 01d895ac68 updated for version 7.3.562
Problem:    ":profdel" should not work when the +profile feature is disabled.
Solution:   Call ex_ni(). (Yasuhiro Matsumoto)
2012-06-20 15:48:57 +02:00
Bram Moolenaar 46ab72a794 Added tag v7-3-561 for changeset a1de7928a7ab 2012-06-20 14:26:35 +02:00
Bram Moolenaar 113c9ba423 updated for version 7.3.561
Problem:    Using refresh: always in a complete function breaks the "."
	    command. (Val Markovic)
Solution:   Add match leader to the redo buffer. (Yasuhiro Matsumoto)
2012-06-20 14:26:35 +02:00
Bram Moolenaar 6713bf296e Added tag v7-3-560 for changeset 0abd38ba6455 2012-06-20 14:13:06 +02:00
Bram Moolenaar 1ee55a5eff updated for version 7.3.560
Problem:    Get an error for a locked argument in extend().
Solution:   Initialize the lock flag for a dictionary. (Yukihiro Nakadaira)
2012-06-20 14:13:06 +02:00
Bram Moolenaar 4a4e4bd4f4 Added tag v7-3-559 for changeset 74adc9f7e15b 2012-06-20 14:02:27 +02:00
Bram Moolenaar ed3d58dbcf updated for version 7.3.559
Problem:    home_replace() does not work with 8.3 filename.
Solution:   Make ":p" expand 8.3 name to full path. (Yasuhiro Matsumoto)
2012-06-20 14:02:27 +02:00
Bram Moolenaar 702830956a Added tag v7-3-558 for changeset 34724dc5172b 2012-06-20 12:40:08 +02:00
Bram Moolenaar 9e6b8dde0c updated for version 7.3.558
Problem:    Memory access error. (Gary Johnson)
Solution:   Allocate one more byte. (Dominique Pelle)
2012-06-20 12:40:08 +02:00
Bram Moolenaar bd11f41205 Added tag v7-3-557 for changeset a220dd97b5c7 2012-06-20 11:55:01 +02:00
Bram Moolenaar 3be59efa41 updated for version 7.3.557
Problem:    Crash when an autocommand wipes out a buffer when it is hidden.
Solution:   Restore the current window when needed. (Christian Brabandt)
2012-06-20 11:55:01 +02:00
Bram Moolenaar 3e6ed31855 Added tag v7-3-556 for changeset b8924014a039 2012-06-14 20:59:25 +02:00
Bram Moolenaar 51a42adae1 updated for version 7.3.556
Problem:    Compiler warnings on 64 bit Windows.
Solution:   Add type casts. (Mike Williams)
2012-06-14 20:59:25 +02:00
Bram Moolenaar 611db7e8e5 Added tag v7-3-555 for changeset 8fb7bd9dfb2b 2012-06-13 19:19:41 +02:00
Bram Moolenaar e98b56c756 updated for version 7.3.555
Problem:    Building on IBM z/OS fails.
Solution:   Adjust configure. Use the QUOTESED value from config.mk instead of
	    the hard coded one in Makefile. (Stephen Bovy)
2012-06-13 19:19:41 +02:00
Bram Moolenaar 4d4aa53589 Added tag v7-3-554 for changeset a967a979c37f 2012-06-13 18:15:20 +02:00
Bram Moolenaar 34cb565845 updated for version 7.3.554
Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.
2012-06-13 18:15:19 +02:00
Bram Moolenaar 72426d7205 Added tag v7-3-553 for changeset 583e46e4a56c 2012-06-13 18:06:36 +02:00
Bram Moolenaar feeaf94bae updated for version 7.3.553
Problem:    With double-width characters and 'listchars' containing "precedes"
	    the text is displayed one cell off.
Solution:   Check for double-width character being overwritten by the
	    "precedes" character. (Yasuhiro Matsumoto)
2012-06-13 18:06:36 +02:00
Bram Moolenaar 4ee1973f0b Added tag v7-3-552 for changeset 443c50cd3e88 2012-06-13 17:28:55 +02:00
Bram Moolenaar b2d98c3b2c updated for version 7.3.552
Problem:    Formatting inside comments does not use the "2" flag in
	    'formatoptions'.
Solution:   Support the "2" flag.  (Tor Perkins)
2012-06-13 17:28:55 +02:00
Bram Moolenaar 0faf8ee22d Added tag v7-3-551 for changeset e83c5dcea112 2012-06-13 14:28:20 +02:00
Bram Moolenaar ebcc172464 updated for version 7.3.551
Problem:    When using :tablose a TabEnter autocommand is triggered too early.
	    (Karthick)
Solution:   Don't trigger *Enter autocommands before closing the tab.
	    (Christian Brabandt)
2012-06-13 14:28:20 +02:00
Bram Moolenaar d5d15f4a88 Added tag v7-3-550 for changeset 297771eff080 2012-06-13 14:01:42 +02:00
Bram Moolenaar 89a283e643 updated for version 7.3.550
Problem:    With "j" in 'formatoptions' a list leader is not removed. (Gary
	    Johnson)
Solution:   Don't ignore the start of a three part comment. (Lech Lorens)
2012-06-13 14:01:41 +02:00
Bram Moolenaar 226f851b4f Added tag v7-3-549 for changeset c0c935956ac3 2012-06-13 13:40:48 +02:00
Bram Moolenaar 2c0c7185b9 updated for version 7.3.549
Problem:    In 'cinoptions' "0s" is interpreted as one shiftwidth. (David
	    Pineau)
Solution:   Use the zero as zero. (Lech Lorens)
2012-06-13 13:40:48 +02:00
Bram Moolenaar ad56835dc6 Added tag v7-3-548 for changeset 8625e38066db 2012-06-07 21:09:39 +02:00
Bram Moolenaar ce49d6b7de updated for version 7.3.548
Problem:    Compiler warning on 64 bit Windows.
Solution:   Add type cast. (Mike Williams)
2012-06-07 21:09:39 +02:00
Bram Moolenaar edb9e400ee Added tag v7-3-547 for changeset 4f4db5d661c4 2012-06-06 23:08:39 +02:00
Bram Moolenaar 4dfb469b57 updated for version 7.3.547
Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it.
2012-06-06 23:08:38 +02:00
Bram Moolenaar a3142d1e8a Added tag v7-3-546 for changeset 0a364618c0e5 2012-06-06 19:05:50 +02:00
Bram Moolenaar f9429e9f20 updated for version 7.3.546
Problem:    Bogus line break.
Solution:   Remove the line break.
2012-06-06 19:05:50 +02:00
Bram Moolenaar aa560eab93 Added tag v7-3-545 for changeset e7ff3251dfa1 2012-06-06 19:02:46 +02:00
Bram Moolenaar 6763f9d13e updated for version 7.3.545
Problem:    When closing a window or buffer autocommands may close it too,
	    causing problems for where the autocommand was invoked from.
Solution:   Add the w_closing and b_closing flags.  When set disallow ":q" and
	    ":close" to prevent recursive closing.
2012-06-06 19:02:45 +02:00
Bram Moolenaar 97ea7c0451 Added tag v7-3-544 for changeset 09d0bda69df0 2012-06-06 18:03:07 +02:00
Bram Moolenaar 4e7db56d84 updated for version 7.3.544
Problem:    There is no good way to close a quickfix window when closing the
	    last ordinary window.
Solution:   Add the QuitPre autocommand.
2012-06-06 18:03:07 +02:00
Bram Moolenaar e578d795a9 Added tag v7-3-543 for changeset ce7bd50bafa7 2012-06-06 16:29:10 +02:00
Bram Moolenaar a79b224061 updated for version 7.3.543
Problem:    The cursor is in the wrong line after using ":copen". (John
	    Beckett)
Solution:   Invoke more drastic redraw method.
2012-06-06 16:29:10 +02:00
Bram Moolenaar 06a1bbebf8 Added tag v7-3-542 for changeset 8d1b63e6d317 2012-06-06 16:14:40 +02:00
Bram Moolenaar ad3036e060 updated for version 7.3.542
Problem:    Function is sometimes unused.
Solution:   Add #ifdef.
2012-06-06 16:14:40 +02:00
Bram Moolenaar 9a06d8e3d0 Added tag v7-3-541 for changeset 5c1aaf9b4b1b 2012-06-06 16:12:59 +02:00
Bram Moolenaar cd9745acf6 updated for version 7.3.541
Problem:    When joining lines comment leaders need to be removed manually.
Solution:   Add the 'j' flag to 'formatoptions'. (Lech Lorens)
2012-06-06 16:12:59 +02:00
Bram Moolenaar b689970a4f Added tag v7-3-540 for changeset af083cb521bc 2012-06-06 12:06:15 +02:00
Bram Moolenaar d2f96357cd updated for version 7.3.540
Problem:    Cursor is left on the text instead of the command line.
Solution:   Don't call setcursor() in command line mode.
2012-06-06 12:06:15 +02:00
Bram Moolenaar 3ed542b08a Added tag v7-3-539 for changeset 7a710cf51d73 2012-06-06 12:03:06 +02:00
Bram Moolenaar 7f739d72c0 updated for version 7.3.539
Problem:    Redrawing a character on the command line does not work properly
	    for multi-byte charactes.
Solution:   Count the number of bytes in a character. (Yukihiro Nakadaira)
2012-06-06 12:03:06 +02:00
Bram Moolenaar e6941bd530 Updated runtime files. 2012-06-01 22:38:45 +02:00
Bram Moolenaar c9b88cd315 Added tag v7-3-538 for changeset bbf1fbbe4ab4 2012-06-01 18:34:41 +02:00
Bram Moolenaar 2a6be2fd32 updated for version 7.3.538
Problem:    'efm' does not handle Tabs in pointer lines.
Solution:   Add Tab support. Improve tests. (Lech Lorens)
2012-06-01 18:34:41 +02:00
Bram Moolenaar 86bb8d74bc Added tag v7-3-537 for changeset 96715c3a905f 2012-06-01 17:49:55 +02:00
Bram Moolenaar 234e229927 updated for version 7.3.537
Problem:    Unecessary call to init_spell_chartab().
Solution:   Delete the call.
2012-06-01 17:49:55 +02:00
Bram Moolenaar ab0558a513 Added tag v7-3-536 for changeset a8897fd5d074 2012-06-01 17:47:00 +02:00
Bram Moolenaar 776ec85ca7 updated for version 7.3.536
Problem:    When spell checking the German sharp s is not seen as a word
	    character. (Aexl Bender)
Solution:   In utf_islower() return true for the sharp s. Note: also need
	    updated spell file for this to take effect.
2012-06-01 17:46:59 +02:00
Bram Moolenaar d696097f0f Added tag v7-3-535 for changeset f52d2ea0f81c 2012-06-01 15:21:02 +02:00
Bram Moolenaar 1bd4b30eb5 updated for version 7.3.535
Problem:    Many #ifdefs for MB_MAXBYTES.
Solution:   Also define MB_MAXBYTES without the +multi_byte feature.  Fix
	    places where the buffer didn't include space for a NUL byte.
2012-06-01 15:21:02 +02:00
Bram Moolenaar 2e2cebef77 Added tag v7-3-534 for changeset 65f905eb14cd 2012-06-01 14:57:51 +02:00
Bram Moolenaar 658263f555 updated for version 7.3.534
Problem:    When using an InsertCharPre autocommand autoindent fails.
Solution:   Proper handling of v:char. (Alexey Radkov)
2012-06-01 14:57:51 +02:00
Bram Moolenaar 47287cdb5a Added tag v7-3-533 for changeset 74d51b51f3e6 2012-06-01 13:46:12 +02:00
Bram Moolenaar 4dc1e5ce2a updated for version 7.3.533
Problem:    Memory leak when writing undo file.
Solution:   Free the ACL. (Dominique Pelle)
2012-06-01 13:46:12 +02:00
Bram Moolenaar 51e3764f22 Added tag v7-3-532 for changeset 9755d151c749 2012-06-01 13:18:53 +02:00
Bram Moolenaar cc51097aa2 updated for version 7.3.532
Problem:    Compiler warning from Clang.
Solution:   Use a different way to point inside a string. (Dominique Pelle)
2012-06-01 13:18:53 +02:00
Bjorn Winckler 655ced19ea Merge branch 'vim' 2012-05-27 21:50:32 +02:00
Bram Moolenaar 0d0932b04b Added tag v7-3-531 for changeset c44f0f7424b9 2012-05-27 00:37:51 +02:00
Bram Moolenaar 6e6cb849db updated for version 7.3.531
Problem:    GUI does not work on MS-Windows.
Solution:   Add the missing #ifdef. (Patrick Avery)
2012-05-27 00:37:51 +02:00
Bram Moolenaar 3f140ef39f Added tag v7-3-530 for changeset 81d5f3a3e27f 2012-05-25 14:06:36 +02:00
Bram Moolenaar 2cd0f82361 updated for version 7.3.530
Problem:    Gvim does not work when 'guioptions' includes "f". (Davido)
Solution:   Call gui_mch_init_check() when running GUI in the foreground.
	    (Yasuhiro Matsumoto)
2012-05-25 14:06:36 +02:00
Bram Moolenaar ee81a37a13 Added tag v7-3-529 for changeset d83218a156dd 2012-05-25 13:12:37 +02:00
Bram Moolenaar 1997fee5fd updated for version 7.3.529
Problem:    Using a count before "v" and "V" does not work (Kikyous)
Solution:   Make the count select that many characters or lines. (Christian
	    Brabandt)
2012-05-25 13:12:36 +02:00
Bram Moolenaar 084798eb18 Added tag v7-3-528 for changeset fa17c8646feb 2012-05-25 12:39:00 +02:00
Bram Moolenaar d576a3c56b updated for version 7.3.528
Problem:    Crash when closing last window in a tab. (Alex Efros)
Solution:   Use common code in close_last_window_tabpage(). (Christian
	    Brabandt)
2012-05-25 12:39:00 +02:00
Bram Moolenaar e6951bf8e1 Added tag v7-3-527 for changeset a17918b76ca1 2012-05-25 11:56:22 +02:00
Bram Moolenaar 8f9e2e8e6a updated for version 7.3.527
Problem:    Clang complains about non-ASCII characters in a string.
Solution:   Change to \x88 form. (Dominique Pelle)
2012-05-25 11:56:22 +02:00
Bram Moolenaar cc35435ccb Added tag v7-3-526 for changeset 257c2878e0fc 2012-05-25 11:04:38 +02:00
Bram Moolenaar ba4f6a211f updated for version 7.3.526
Problem:    Confusing indenting for #ifdef.
Solution:   Remove and add indent. (Elias Diem)
2012-05-25 11:04:38 +02:00
Bram Moolenaar b89b88b009 Added tag v7-3-525 for changeset ac2e00f917df 2012-05-25 11:02:41 +02:00
Bram Moolenaar fd6eab7f54 updated for version 7.3.525
Problem:    Compiler warning on 64 bit MS-Windows.
Solution:   Add type cast. (Mike Williams)
2012-05-25 11:02:41 +02:00
Bram Moolenaar f40df4e548 Added tag v7-3-524 for changeset ae1641c4fbcc 2012-05-18 21:54:13 +02:00
Bram Moolenaar 1ff2f93019 updated for version 7.3.524
Problem:    Missing comma.
Solution:   Add the comma.
2012-05-18 21:54:13 +02:00
Bram Moolenaar 70ae884f08 Fix more 'cpo' issues in runtime files. 2012-05-18 21:49:28 +02:00
Bram Moolenaar 870e4aa289 Added tag v7-3-523 for changeset d8ce4a2eb44e 2012-05-18 18:47:17 +02:00
Bram Moolenaar 0d1c3c479d updated for version 7.3.523
Problem:    ":diffupdate" doesn't check for files changed elsewhere.
Solution:   Add the ! flag. (Christian Brabandt)
2012-05-18 18:47:17 +02:00
Bram Moolenaar 6aa0092255 Added tag v7-3-522 for changeset e4899d2ff5d8 2012-05-18 18:34:19 +02:00
Bram Moolenaar f321b7cd06 updated for version 7.3.522
Problem:    Crash in vim_realloc() when using MEM_PROFILE.
Solution:   Avoid using a NULL argument. (Dominique Pelle)
2012-05-18 18:34:19 +02:00
Bram Moolenaar bf75c36fbe Added tag v7-3-521 for changeset b14842cf382b 2012-05-18 18:08:01 +02:00
Bram Moolenaar bb9b11b6c4 updated for version 7.3.521
Problem:    Using "z=" on a multi-byte character may cause a crash.
Solution:   Don't use strlen() on an int pointer.
2012-05-18 18:08:01 +02:00
Bram Moolenaar 32ebfbceae Added tag v7-3-520 for changeset 7bafe52b6245 2012-05-18 17:03:18 +02:00
Bram Moolenaar 8b9f36d4b5 updated for version 7.3.520
Problem:    Gvim starts up slow on Unbuntu 12.04.
Solution:   Move the call to gui_mch_init_check() to after fork(). (Yasuhiro
	    Matsumoto)  Do check $DISPLAY being set.
2012-05-18 17:03:18 +02:00
Bram Moolenaar 2570d8c390 Added tag v7-3-519 for changeset ebec52bc2800 2012-05-18 16:35:21 +02:00
Bram Moolenaar 022e99b61a updated for version 7.3.519
Problem:    When completefunction returns it cannot indicate end of completion
	    mode.
Solution:   Recognize completefunction returning -3.  (Mtsushita Shougo)
2012-05-18 16:35:21 +02:00
Bram Moolenaar e07c1d71ed Added tag v7-3-518 for changeset ec4ab9d832b0 2012-05-18 16:24:12 +02:00
Bram Moolenaar 2da3f6af3b updated for version 7.3.518
Problem:    When 'encoding' is a double-byte encoding ":helptags" may not find
	    tags correctly.
Solution:   Use vim_strbyte() instead of vim_strchr(). (Yasuhiro Matsumoto)
2012-05-18 16:24:11 +02:00
Bram Moolenaar 407576107d Updated runtime files. 2012-05-18 13:46:39 +02:00
Bram Moolenaar a594b9965c Ignore file generated by tests. 2012-05-18 13:14:26 +02:00
Bram Moolenaar 5e836c09d8 Added tag v7-3-517 for changeset 9a1dba1f969a 2012-05-18 12:49:40 +02:00
Bram Moolenaar a3ecd92ad9 updated for version 7.3.517
Problem:    Crash when using "vipvv". (Alexandre Provencio)
Solution:   Don't let the text length become negative.
2012-05-18 12:49:40 +02:00
Bram Moolenaar f10bf92848 Added tag v7-3-516 for changeset 02440d1fcc9a 2012-05-18 12:07:05 +02:00
Bram Moolenaar 4c7f6b63f5 updated for version 7.3.516
Problem:    extend(o, o) may crash Vim.
Solution:   Fix crash and add test. (Thinca and Hirohito Higashi)
2012-05-18 12:07:05 +02:00
Bjorn Winckler 028d3f6a78 Merge branch 'vim'
Conflicts:
	src/ex_docmd.c
	src/feature.h
	src/vim.h
2012-05-15 20:55:48 +02:00
Bram Moolenaar b857e2db60 More runtime file fixes for 'compatible' mode. 2012-05-01 21:14:34 +02:00
Bram Moolenaar b0bc4bff0d Added tag v7-3-515 for changeset 6c318419e331 2012-04-30 21:09:43 +02:00
Bram Moolenaar 1f50469b20 updated for version 7.3.515
Problem:    'wildignorecase' only applies to the last part of the path.
Solution:   Also ignore case for letters earlier in the path.
2012-04-30 21:09:43 +02:00
Bram Moolenaar aa7add99bf Added tag v7-3-514 for changeset 7e4428115d2c 2012-04-30 18:48:53 +02:00
Bram Moolenaar 2d97e5a036 updated for version 7.3.514
Problem:    No completion for :history command.
Solution:   Add the completion and update the docs. Also fix ":behave"
	    completion. (Dominique Pelle)
2012-04-30 18:48:53 +02:00
Bram Moolenaar f1375ac1b7 Added tag v7-3-513 for changeset 75037f9bc97a 2012-04-30 18:18:47 +02:00
Bram Moolenaar 95e0918651 updated for version 7.3.513
Problem:    Cannot use CTRL-E and CTRL-Y with "r".
Solution:   Make CTRL-E and CTRL-Y work like in Insert mode. (Christian
	    Brabandt)
2012-04-30 18:18:47 +02:00
Bram Moolenaar f3f6abad3e Added tag v7-3-512 for changeset 454646820185 2012-04-30 17:35:48 +02:00
Bram Moolenaar 6cc7a151a8 updated for version 7.3.512
Problem:    undofile() returns a useless name when passed an empty string.
Solution:   Return an empty string. (Christian Brabandt)
2012-04-30 17:35:48 +02:00
Bram Moolenaar 01e7017d90 Added tag v7-3-511 for changeset b782e2f9e689 2012-04-30 17:04:52 +02:00
Bram Moolenaar 4661765ca4 updated for version 7.3.511
Problem:    Using a FileReadCmd autocommand that does ":e! {file}" may cause a
	    crash. (Christian Brabandt)
Solution:   Properly restore curwin->w_s.
2012-04-30 17:04:52 +02:00
Bram Moolenaar cfbdc48d61 Fixed compatible mode in most runtime files. 2012-04-30 15:56:52 +02:00
Bram Moolenaar fbda4dbca0 Added tag v7-3-510 for changeset 53786601213c 2012-04-30 11:34:28 +02:00
Bram Moolenaar c7ffad7b4e updated for version 7.3.510
Problem:    Test 77 fails on Solaris 7. (Michael Soyka)
Solution:   Replace any tabs with spaces.
2012-04-30 11:34:28 +02:00
Bram Moolenaar bff010b355 Updated runtime files, include fixes for line continuation. 2012-04-26 20:17:03 +02:00
Bram Moolenaar f56ba9d0b6 Updated runtime files. 2012-04-25 19:07:41 +02:00
Bram Moolenaar 9a42b842d9 Added tag v7-3-509 for changeset 8101253704f6 2012-04-25 18:57:21 +02:00
Bram Moolenaar 5fcd811ef4 updated for version 7.3.509
Problem:    ":vimgrep" fails when 'autochdir' is set.
Solution:   A more generic solution for changing directory. (Ben Fritz)
2012-04-25 18:57:21 +02:00
Bram Moolenaar f4b1c521b5 Added tag v7-3-508 for changeset 2722f11ddc99 2012-04-25 18:24:29 +02:00
Bram Moolenaar f475c9fa65 updated for version 7.3.508
Problem:    Default for v:register is not set.
Solution:   Init v:register in eval_init(). Correct for 'clipboard' before the
	    main loop. (Ingo Karkat)
2012-04-25 18:24:29 +02:00
Bram Moolenaar 7243716a61 Added tag v7-3-507 for changeset f9a865d97614 2012-04-25 17:32:18 +02:00
Bram Moolenaar 3ebfa6942c updated for version 7.3.507
Problem:    When exiting with unsaved changes, selecting an existing file in
	    the file dialog, there is no dialog to ask whether the existing
	    file should be overwritten. (Felipe G. Nievinski)
Solution:   Call check_overwrite() before writing. (Christian Brabandt)
2012-04-25 17:32:18 +02:00
Bram Moolenaar 5ce890a245 Added tag v7-3-506 for changeset 982f84487daf 2012-04-25 17:10:16 +02:00
Bram Moolenaar e0f3a32106 updated for version 7.3.506
Problem:    GTK gives an error when selecting a non-existent file.
Solution:   Add a handler to avoid the error. (Christian Brabandt)
2012-04-25 17:10:16 +02:00
Bram Moolenaar a3f19c604b Added tag v7-3-505 for changeset fe7bf24804e1 2012-04-25 16:50:48 +02:00
Bram Moolenaar 77a100312c updated for version 7.3.505
Problem:    Test 11 fails on MS-Windows in some versions.
Solution:   Fix #ifdefs for whether filtering through a pipe is possible. Move
	    setting b_no_eol_lnum back to where it was before patch 7.3.124.
	    (David Pope)
2012-04-25 16:50:48 +02:00
Bram Moolenaar 5e7cb17551 Added tag v7-3-504 for changeset 17bfcb054cb7 2012-04-25 12:57:28 +02:00
Bram Moolenaar d9dceee162 updated for version 7.3.504
Problem:    Commands in help files are not highlighted.
Solution:   Allow for commands in backticks.  Adjust CTRL-] to remove the
	    backticks.
2012-04-25 12:57:28 +02:00
Bram Moolenaar c306853cc6 Added tag v7-3-503 for changeset 65d036fd449e 2012-04-25 12:28:10 +02:00
Bram Moolenaar 246acfcb0f updated for version 7.3.503
Problem:    Warning for unused argument.
Solution:   Add UNUSED.
2012-04-25 12:28:09 +02:00
Bram Moolenaar 8753743e3f Added tag v7-3-502 for changeset 1d1cce57421c 2012-04-20 19:47:05 +02:00
Bram Moolenaar 2b3761ff3b updated for version 7.3.502
Problem:    Netbeans insert halfway a line actually appends to the line.
Solution:   Insert halfway the line. (Brian Victor)
2012-04-20 19:47:05 +02:00
Bram Moolenaar e58fc05b6d Added tag v7-3-501 for changeset d7b335626ddc 2012-04-20 18:05:47 +02:00
Bram Moolenaar 11cd9a6b92 updated for version 7.3.501
Problem:    Error for "flush" not being defined when using Ruby command.
Solution:   Defined "flush" as a no-op method. (Kent Sibilev)
2012-04-20 18:05:47 +02:00
Bram Moolenaar 5ae2423118 Added tag v7-3-500 for changeset b36640b2f671 2012-04-20 16:13:25 +02:00
Bram Moolenaar bd00d0e022 updated for version 7.3.500
Problem:    Ming makefile unconditionally sets WINVER.
Solution:   Only defined when not already defined. (Yasuhiro Matsumoto)
2012-04-20 16:13:25 +02:00
Bram Moolenaar 3b05ce3a6d Added tag v7-3-499 for changeset 4a2cb025b641 2012-04-20 15:55:16 +02:00
Bram Moolenaar 2e54ec552d updated for version 7.3.499
Problem:    When using any interface language when Vim is waiting for a child
	    process it gets confused by a child process started through the
	    interface.
Solution:   Always used waitpid() instead of wait(). (Yasuhiro Matsumoto)
2012-04-20 15:55:16 +02:00
Bram Moolenaar 5ecbd63119 Added tag v7-3-498 for changeset b1a42d2522fb 2012-04-20 13:46:08 +02:00
Bram Moolenaar 80c55b1546 updated for version 7.3.498
Problem:    The behavior of the "- register changes depending on value of
	    the 'clipboard' option. (Szamotulski)
Solution:   Also set the "- register when the register is "*" or "+".
	    (Christian Brabandt)
2012-04-20 13:46:08 +02:00
Bram Moolenaar b7f780fb4c Added tag v7-3-497 for changeset e34c620007be 2012-04-20 13:31:21 +02:00
Bram Moolenaar ed5ad0cf54 updated for version 7.3.497
Problem:    Crash when doing ":python print" and compiled with gcc and
	    the optimizer enabled.
Solution:   Avoid the crash, doesn't really fix the problem. (Christian
	    Brabandt)
2012-04-20 13:31:21 +02:00
Bjorn Winckler 5c1351f8bd Merge branch 'vim' 2012-04-15 20:36:16 +02:00
Bram Moolenaar f5ffa19565 Updated runtime files. 2012-04-13 23:04:47 +02:00
Bram Moolenaar 2e48a0f7e7 Added tag v7-3-496 for changeset 3daba355b0c1 2012-04-13 19:11:20 +02:00
Bram Moolenaar f2db25d316 updated for version 7.3.496
Problem:    MS-DOS: When "diff" trips over difference in line separators some
	    tests fail.
Solution:   Make some .ok files use unix line separators. (David Pope)
2012-04-13 19:11:20 +02:00
Bram Moolenaar 42102dd13b Added tag v7-3-495 for changeset 27f6a22ff88e 2012-04-09 20:42:27 +02:00
Bram Moolenaar cc290f5bf3 updated for version 7.3.495
Problem:    Compiler warnings.
Solution:   Add function declaration.  Remove "offset" argument.
2012-04-09 20:42:26 +02:00
Bram Moolenaar 0254977d90 Added tag v7-3-494 for changeset 5240610f2778 2012-04-06 14:31:00 +02:00
Bram Moolenaar 8a20e77cce updated for version 7.3.494
Problem:    Can't compile with Lua 9.1 or dynamic Lua.
Solution:   Fix dll_ methods. Fix luado(). (Muraoka Taro, Luis Carvalho)
2012-04-06 14:31:00 +02:00
Bram Moolenaar bcc9d82be4 Added tag v7-3-493 for changeset bf5960ec2532 2012-04-06 13:56:04 +02:00
Bram Moolenaar 076f2a5898 updated for version 7.3.493
Problem:    Two unused variables.
Solution:   Remove them. (Hong Xu)
2012-04-06 13:56:04 +02:00
Bram Moolenaar c7584731a9 Updated runtime files. 2012-04-05 17:33:26 +02:00
Bram Moolenaar 4b3743556e Added tag v7-3-492 for changeset 214c7ec1c8f9 2012-04-05 17:17:42 +02:00
Bram Moolenaar 0a0e4c9e44 updated for version 7.3.492
Problem:    Can't indent conditions separately from function arguments.
Solution:   Add the 'k' flag in 'cino. (Lech Lorens)
2012-04-05 17:17:42 +02:00
Bram Moolenaar a26aaad74c Added tag v7-3-491 for changeset e070b34fe35e 2012-04-05 16:56:52 +02:00
Bram Moolenaar 3fe23b30c9 updated for version 7.3.491
Problem:    No tests for Lua.
Solution:   Add some simple tests for Lua. (Luis Carvalho)
2012-04-05 16:56:52 +02:00
Bram Moolenaar d1999064d3 Added tag v7-3-490 for changeset b067b8b81be9 2012-04-05 16:54:08 +02:00
Bram Moolenaar c74e68a4d1 updated for version 7.3.490
Problem:    Member confusion in Lua interface.
Solution:   Fix it.  Add luaeval(). (Taro Muraoka, Luis Carvalho)
2012-04-05 16:54:08 +02:00
Bram Moolenaar 3f32e5b023 Added tag v7-3-489 for changeset c1a6e1745cb5 2012-04-05 16:07:06 +02:00
Bram Moolenaar 5c345052ca updated for version 7.3.489
Problem:    CTRL-] in Insert mode does not expand abbreviation when used in a
	    mapping. (Yichao Zhou)
Solution:   Special case using CTRL-]. (Christian Brabandt)
2012-04-05 16:07:06 +02:00
Bram Moolenaar c8f86bce90 Added tag v7-3-488 for changeset 8691bdcdbf66 2012-04-05 16:05:05 +02:00
Bram Moolenaar 63439ee2b7 updated for version 7.3.488
Problem:    ":help!" in a help file does not work as document.
Solution:   When in a help file don't give an error message. (thinca)
2012-04-05 16:05:05 +02:00
Bram Moolenaar a904962cdd Updated runtime files. 2012-03-28 20:51:51 +02:00
Bram Moolenaar f1861181b2 Added tag v7-3-487 for changeset 21219ffc9790 2012-03-28 19:59:04 +02:00
Bram Moolenaar d85115d175 updated for version 7.3.487
Problem:    When setting 'timeoutlen' or 'ttimeoutlen' the column for vertical
	    movement is reset unnecessarily.
Solution:   Do not set w_set_curswant for every option. Add a test for this.
	    (Kana Natsuno) Add the P_CURSWANT flag for options.
2012-03-28 19:59:04 +02:00
Bram Moolenaar 15075aefa1 Added tag v7-3-486 for changeset 08a37c57af47 2012-03-28 17:43:11 +02:00
Bram Moolenaar e19e870c55 updated for version 7.3.486
Problem:    Build error with mingw64 on Windows 7.
Solution:   Avoid the step of going through vimres.res. (Guopeng Wen)
2012-03-28 17:43:11 +02:00
Bram Moolenaar 4b59ee99d7 Added tag v7-3-485 for changeset 94374e0b6267 2012-03-28 17:17:48 +02:00
Bram Moolenaar 103d0a3aa6 updated for version 7.3.485
Problem:    When building Vim LDFLAGS isn't passed on to building xxd.
Solution:   Pass the LDFLAGS value. (James McCoy)
2012-03-28 17:17:48 +02:00
Bram Moolenaar a50ca505c0 Added tag v7-3-484 for changeset 00fa605e7d7b 2012-03-28 17:10:31 +02:00
Bram Moolenaar 8308a5d5b8 updated for version 7.3.484
Problem:    The -E and --echo-wid command line arguments are not mentioned in
	    "vim --help".
Solution:   Add the help lines. (Dominique Pelle)
2012-03-28 17:10:31 +02:00
Bram Moolenaar 21902fd2d0 Added tag v7-3-483 for changeset 19040069b8bf 2012-03-28 16:49:29 +02:00
Bram Moolenaar 4c09c4df7b updated for version 7.3.483
Problem:    More prompt shows up too often.
Solution:   Instead of adding a line break, only start a new line in the
	    message history. (Christian Brabandt)
2012-03-28 16:49:29 +02:00
Bram Moolenaar 0b8d1d60db Added tag v7-3-482 for changeset 3229335d0c4e 2012-03-28 14:19:51 +02:00
Bram Moolenaar bc3542bf0d updated for version 7.3.482
Problem:    With 'cursorbind' set moving up/down does not always keep the same
	    column.
Solution:   Set curswant appropriately. (Gary Johnson)
2012-03-28 14:19:50 +02:00
Bram Moolenaar fe39c169b5 Added tag v7-3-481 for changeset 8e21ac7f2d6e 2012-03-28 12:59:57 +02:00
Bram Moolenaar a1e0900cd9 updated for version 7.3.481
Problem:    Changing 'virtualedit' in an operator function to "all" does not
	    have the desired effect. (Aaron Bohannon)
Solution:   Save, reset and restore virtual_op when executing an operator
	    function.
2012-03-28 12:59:57 +02:00
Bram Moolenaar 905b82b3ea Added tag v7-3-480 for changeset b35844f3eb49 2012-03-23 18:39:18 +01:00
Bram Moolenaar 7a1354bc1f updated for version 7.3.480
Problem:    When using ":qa" and there is a changed buffer picking the buffer
	    to jump to is not very good.
Solution:   Consider current and other tab pages. (Hirohito Higashi)
2012-03-23 18:39:18 +01:00
Bram Moolenaar 1037e6d4c5 Added tag v7-3-479 for changeset 3db4282d5e6b 2012-03-23 16:25:17 +01:00
Bram Moolenaar fd75bcf544 updated for version 7.3.479
Problem:    When 'cursorline' is set the line number highlighting can't be set
	    separately.
Solution:   Add "CursorLineNr". (Howard Buchholz)
2012-03-23 16:25:17 +01:00
Bram Moolenaar 7fb6ae6583 Added tag v7-3-478 for changeset 754db4059212 2012-03-23 15:37:02 +01:00
Bram Moolenaar 599d82c3a4 updated for version 7.3.478
Problem:    Memory leak using the ':rv!' command when reading dictionary or
	    list global variables i.e. with 'viminfo' containing !.
Solution:   Free the typeval. (Dominique Pelle)
2012-03-23 15:37:02 +01:00
Bram Moolenaar a76d1ccca2 Added tag v7-3-477 for changeset 62dc0d69ab11 2012-03-23 15:18:24 +01:00
Bram Moolenaar d628634cc1 updated for version 7.3.477
Problem:    Using ":echo" to output enough lines to scroll, then using "j" and
	    "k" at the more prompt, displays the command on top of the output.
	    (Marcin Szamotulski)
Solution:   Put the output below the command. (Christian Brabandt)
2012-03-23 15:18:24 +01:00
Bram Moolenaar 815f9e32e0 Added tag v7-3-476 for changeset fb2c5a51dac7 2012-03-23 14:16:23 +01:00
Bram Moolenaar 987aab512f updated for version 7.3.476
Problem:    When selecting a block, using "$" to include the end of each line
	    and using "A" and typing a backspace strange things happen.
	    (Yuangchen Xie)
Solution:   Avoid using a negative length. (Christian Brabandt)
2012-03-23 14:16:23 +01:00
Bjorn Winckler bcc349c113 Merge branch 'vim' 2012-03-18 21:20:07 +01:00
Bjorn Winckler e4095552c2 Avoid spurious inertial trackpad scrolling
When 'inertia' is enabled the trackpad sometimes sends events that tells
Vim to scroll zero lines.  Ignore such events, else Vim sometimes seems
to scroll a little bit too far.
2012-03-18 21:15:43 +01:00
Bram Moolenaar e8751e7d02 Added tag v7-3-475 for changeset 36160830a5e8 2012-03-16 20:16:46 +01:00
Bram Moolenaar c0db6bd33c updated for version 7.3.475
Problem:    In a terminal with few colors the omnicomplete menu may be hard to
	    see when using the default colors.
Solution:   Use more explicit colors. (suggested by Alex Henrie)
2012-03-16 20:16:46 +01:00
Bram Moolenaar 859ec1330f Added tag v7-3-474 for changeset 7613c9ab083f 2012-03-16 19:34:47 +01:00
Bram Moolenaar 32026ccb23 updated for version 7.3.474
Problem:    Perl build with gcc 4 fails.
Solution:   Remove XS() statements. (Yasuhiro Matsumoto)
2012-03-16 19:34:47 +01:00
Bram Moolenaar 87056f9a63 Added tag v7-3-473 for changeset 7f1bce9c9b79 2012-03-16 19:24:26 +01:00
Bram Moolenaar c95df17451 updated for version 7.3.473
Problem:    'cursorbind' does not work correctly in combination with
	    'virtualedit' set to "all".
Solution:   Copy coladd. (Gary Johnson)
2012-03-16 19:24:26 +01:00
Bram Moolenaar 93d8882a9c Added tag v7-3-472 for changeset 8332129d9ae8 2012-03-16 19:07:58 +01:00
Bram Moolenaar b7314625c5 updated for version 7.3.472
Problem:    Crash when using ":redraw" in a BufEnter autocommand and
	    switching to another tab. (驼峰)
Solution:   Move triggering the the autocommands to after correcting the
	    option values. Also check the row value to be out of bounds.
	    (Christian Brabandt, Sergey Khorev)
2012-03-16 19:07:58 +01:00
Bram Moolenaar 9c5236f2c1 Added tag v7-3-471 for changeset 3465a9e77588 2012-03-16 14:32:15 +01:00
Bram Moolenaar abffd6c1a8 updated for version 7.3.471
Problem:    Can't abort listing placed signs.
Solution:   Check "got_int". (Christian Brabandt)
2012-03-16 14:32:15 +01:00
Bram Moolenaar 7f5cc8ee65 Updated runtime files. Add Dutch translations. 2012-03-11 15:57:40 +01:00
Bjorn Winckler e1db1cfbaf Merge branch 'vim' 2012-03-10 17:01:06 +01:00
Bram Moolenaar 419b0932ec Added tag v7-3-470 for changeset 636e4db6e207 2012-03-07 22:55:21 +01:00
Bram Moolenaar 5e616164d6 updated for version 7.3.470
Problem:    Test 62 fails when compiled without GUI and X11.
Solution:   Don't test :drop when it is not supported.
2012-03-07 22:55:20 +01:00
Bram Moolenaar 3c9096f317 Added tag v7-3-469 for changeset e61c3b09ae86 2012-03-07 22:52:36 +01:00
Bram Moolenaar 1225c86be2 updated for version 7.3.469
Problem:    Compiler warning for unused argument without some features.
Solution:   Add UNUSED.
2012-03-07 22:52:36 +01:00
Bram Moolenaar c272d1ec1a Added tag v7-3-468 for changeset 38a135730423 2012-03-07 20:13:49 +01:00
Bram Moolenaar bcdac5466f updated for version 7.3.468
Problem:    For some compilers the error file is not easily readable.
Solution:   Use QuickFixCmdPre for more commands. (Marcin Szamotulski)
2012-03-07 20:13:49 +01:00
Bram Moolenaar 94ccf03fdc Added tag v7-3-467 for changeset 276d58e9265c 2012-03-07 19:38:56 +01:00
Bram Moolenaar 77bb77dd36 updated for version 7.3.467
Problem:    Cursor positioned wrong at the command line when regaining focus
	    and using some input method.
Solution:   Do not position the cursor in command line mode.
2012-03-07 19:38:55 +01:00
Bram Moolenaar c7f59be2d9 Added tag v7-3-466 for changeset df9c7798b5e2 2012-03-07 19:30:37 +01:00
Bram Moolenaar 66728539a0 updated for version 7.3.466
Problem:    Get ml_get error hen ":behave mswin" was used and selecting
	    several lines.  (A. Sinan Unur)
Solution:   Adjust the end of the operation. (Christian Brabandt)
2012-03-07 19:30:36 +01:00
Bram Moolenaar f62143cd22 Added tag v7-3-465 for changeset d1096a4e96bd 2012-03-07 19:18:23 +01:00
Bram Moolenaar 0eadfa8066 updated for version 7.3.465
Problem:    Cannot get file name with newline from glob().
Solution:   Add argument to glob() and expand() to indicate they must return a
	    list. (Christian Brabandt)
2012-03-07 19:18:23 +01:00
Bram Moolenaar 254b2640fd Added tag v7-3-464 for changeset 43259e4542c7 2012-03-07 18:03:10 +01:00
Bram Moolenaar 3891a2c32d updated for version 7.3.464
Problem:    Compiler warning for sprintf.
Solution:   Put the length in a variable. (Dominique Pelle)
2012-03-07 18:03:10 +01:00
Bram Moolenaar 3329c7e926 Added tag v7-3-463 for changeset 8e0fe5a723ad 2012-03-07 14:57:52 +01:00
Bram Moolenaar 04af258e46 updated for version 7.3.463
Problem:    When using ":s///c" the cursor is moved away from the match.
	    (Lawman)
Solution:   Don't move the cursor when do_ask is set. (Christian Brabandt)
2012-03-07 14:57:52 +01:00
Bram Moolenaar 805761a61c Added tag v7-3-462 for changeset 70eff6af1158 2012-02-29 19:20:03 +01:00
Bram Moolenaar 2ebab776d6 updated for version 7.3.462
Problem:    When using ":loadview" folds may be closed unexpectedly.
Solution:   Take into account foldlevel. (Xavier de Gaye)
2012-02-29 19:20:02 +01:00
Bram Moolenaar fd045b995c Added tag v7-3-461 for changeset de60f6fa3d8d 2012-02-29 18:22:08 +01:00
Bram Moolenaar 0a82d1878d updated for version 7.3.461
Problem:    The InsertCharPre autocommand event is not triggered during
	    completion and when typing several characters quickly.
Solution:   Also trigger InsertCharPre during completion.  Do not read ahead
	    when an InsertCharPre autocommand is defined. (Yasuhiro Matsumoto)
2012-02-29 18:22:08 +01:00
Bram Moolenaar dfef726116 Added tag v7-3-460 for changeset 981c7ad9dd48 2012-02-29 16:56:39 +01:00
Bram Moolenaar 1305959e93 updated for version 7.3.460
Problem:    Win32: UPX does not compress 64 bit binaries.
Solution:   Mention and add the alternative: mpress. (Dave Bodenstab)
2012-02-29 16:56:39 +01:00
Bram Moolenaar d34de05809 Added tag v7-3-459 for changeset cb2ae92ce106 2012-02-29 13:58:47 +01:00
Bram Moolenaar 795506320c updated for version 7.3.459
Problem:    Win32: Warnings for type conversion.
Solution:   Add type casts. (Mike Williams)
2012-02-29 13:58:47 +01:00
Bram Moolenaar fd98ad70e7 Added tag v7-3-458 for changeset da670fb71d30 2012-02-29 13:51:37 +01:00
Bram Moolenaar 652fc4334e updated for version 7.3.458
Problem:    Crash when calling smsg() during startup.
Solution:   Don't use 'shortmess' when it is not set yet.
2012-02-29 13:51:37 +01:00
Bram Moolenaar cd787f7a79 Added tag v7-3-457 for changeset 4a2744311b3f 2012-02-29 13:49:09 +01:00
Bram Moolenaar ea6d084414 updated for version 7.3.457
Problem:    When setting $VIMRUNTIME later the directory for fetching
	    translated messages is not adjusted.
Solution:   Put bindtextdomain() in vim_setenv().
2012-02-29 13:49:09 +01:00
Bjorn Winckler a801156cbf Merge branch 'vim'
Conflicts:
	runtime/doc/tags
	runtime/doc/various.txt
	src/auto/configure
2012-02-24 15:46:35 +01:00
Bram Moolenaar bcba1ace66 Added tag v7-3-456 for changeset 07fd030f89be 2012-02-22 19:13:08 +01:00
Bram Moolenaar d400398033 updated for version 7.3.456
Problem:    ":tab drop file" has several problems, including moving the
	    current window and opening a new tab for a file that already has a
	    window.
Solution:   Refactor ":tab drop" handling. (Hirohito Higashi)
2012-02-22 19:13:08 +01:00
Bram Moolenaar 916891e2da Added tag v7-3-455 for changeset e6392f2aed4c 2012-02-22 18:29:33 +01:00
Bram Moolenaar ba355d1855 updated for version 7.3.455
Problem:    Using many continuation lines can be slow.
Solution:   Adjust the reallocation size to the current length.
2012-02-22 18:29:33 +01:00
Bram Moolenaar 1f56fe9b7e Added tag v7-3-454 for changeset 1632640a24b4 2012-02-22 18:12:32 +01:00
Bram Moolenaar 4e9d49b929 updated for version 7.3.454
Problem:    Re-allocating memory slows Vim down.
Solution:   Use realloc() in ga_grow(). (Dominique Pelle)
2012-02-22 18:12:32 +01:00
Bram Moolenaar 1e88271179 Added tag v7-3-453 for changeset 791baa7b35e1 2012-02-22 17:58:04 +01:00
Bram Moolenaar de2f4c3db5 updated for version 7.3.453
Problem:    Pasting in the command line is slow.
Solution:   Don't redraw if there is another character to read. (Dominique
	    Pelle)
2012-02-22 17:58:04 +01:00
Bram Moolenaar 4b0ca0a1d4 Added tag v7-3-452 for changeset f1cde9cf023e 2012-02-22 17:38:00 +01:00
Bram Moolenaar 707a1bc595 updated for version 7.3.452
Problem:    Undo broken when pasting close to the last line. (Andrey Radev)
Solution:   Use a flag to remember if the deleted included the last line.
	    (Christian Brabandt)
2012-02-22 17:38:00 +01:00
Bram Moolenaar 7fc906b7c0 Updated runtime files. 2012-02-22 17:30:19 +01:00
Bram Moolenaar 69000ce22b Added tag v7-3-451 for changeset 045fdc5b6056 2012-02-22 16:01:56 +01:00
Bram Moolenaar c7478d1cff updated for version 7.3.451
Problem:    Tcl doesn't work on 64 MS-Windows.
Solution:   Make it work. (Dave Bodenstab)
2012-02-22 16:01:56 +01:00
Bram Moolenaar f3cf847400 Added tag v7-3-450 for changeset 3479ac596f6c 2012-02-22 15:34:08 +01:00
Bram Moolenaar 00a5d4bdb1 updated for version 7.3.450
Problem:    Win32: Still a problem with "!start /b".
Solution:   Fix pointer use. (Yasuhiro Matsumoto)
2012-02-22 15:34:08 +01:00
Bram Moolenaar 2a6df3afa9 Added tag v7-3-449 for changeset 9ccdc4a69d8f 2012-02-22 14:58:37 +01:00
Bram Moolenaar 74513052f8 updated for version 7.3.449
Problem:    Crash when a BufWinLeave autocommand closes the only other window.
	    (Daniel Hunt)
Solution:   Abort closing a buffer when it becomes the only one.
2012-02-22 14:58:37 +01:00
Bram Moolenaar e6cc430466 Added tag v7-3-448 for changeset 756d712b3118 2012-02-22 13:07:06 +01:00
Bram Moolenaar 7dd7b10acf updated for version 7.3.448
Problem:    Win32: Still a problem with "!start /b".
Solution:   Escape only '|'. (Yasuhiro Matsumoto)
2012-02-22 13:07:05 +01:00
Bram Moolenaar 64af78bce9 Added tag v7-3-447 for changeset 6a03b0ea2e12 2012-02-21 21:22:45 +01:00
Bram Moolenaar 3fdc470d1a updated for version 7.3.447
Problem:    Win32: External commands with "start" do not work.
Solution:   Unescape part of the command. (Yasuhiro Matsumoto)
2012-02-21 21:22:44 +01:00
Bram Moolenaar 81ac0a249c Added tag v7-3-446 for changeset 20ca2e05ae20 2012-02-20 22:18:30 +01:00
Bram Moolenaar 92dca273ce updated for version 7.3.446
Problem:    Win32: External commands with special characters don't work.
Solution:   Add the 'shellxescape' option.
2012-02-20 22:18:30 +01:00
Bram Moolenaar c1eb76d21b Added tag v7-3-445 for changeset 397e7e49bb0b 2012-02-19 18:19:30 +01:00
Bram Moolenaar 58d131d9b9 updated for version 7.3.445
Problem:    Can't properly escape commands for cmd.exe.
Solution:   Default 'shellxquote' to '('.  Append ')' to make '(command)'.
	    No need to use "/s" for 'shellcmdflag'.
2012-02-19 18:19:30 +01:00
Bram Moolenaar 80aac8daba Update runtime files. 2012-02-13 00:05:22 +01:00
Bram Moolenaar badf2c9fda Added tag v7-3-444 for changeset 72146e7f47fa 2012-02-13 00:01:43 +01:00
Bram Moolenaar 077b75cd93 updated for version 7.3.444
Problem:    ":all!" and ":sall!" give error E477, even though the
	    documentation says these are valid commands.
Solution:   Support the exclamation mark. (Hirohito Higashi)
2012-02-13 00:01:43 +01:00
Bram Moolenaar 026bf68634 Added tag v7-3-443 for changeset de050fcc24cf 2012-02-12 23:23:31 +01:00
Bram Moolenaar 1da2153f14 updated for version 7.3.443
Problem:    MS-Windows: 'shcf' and 'shellxquote' defaults are not very good.
Solution:   Make a better guess when 'shell' is set to "cmd.exe". (Ben Fritz)
2012-02-12 23:23:31 +01:00
Bram Moolenaar c7cc1647a2 Added tag v7-3-442 for changeset 198ec1fff71a 2012-02-12 20:14:01 +01:00
Bram Moolenaar 787d0775ec updated for version 7.3.442
Problem:    Still read modelines for ":doautocmd".
Solution:   Move check for <nomodeline> to separate function.
2012-02-12 20:14:01 +01:00
Bram Moolenaar 6080b88575 Added tag v7-3-441 for changeset af4ed13ca541 2012-02-12 01:55:55 +01:00
Bram Moolenaar 7e92e15507 updated for version 7.3.441
Problem:    Newer versions of MzScheme (Racket) require earlier (trampolined)
	    initialisation.
Solution:   Call mzscheme_main() early in main(). (Sergey Khorev)
2012-02-12 01:55:55 +01:00
Bram Moolenaar d1d4e472c0 Added tag v7-3-440 for changeset e3cbb11f3555 2012-02-12 01:35:10 +01:00
Bram Moolenaar 18e40f3277 updated for version 7.3.440
Problem:    Vim does not support UTF8_STRING for the X selection.
Solution:   Add UTF8_STRING atom support. (Alex Efros) Use it only when
	    'encoding' is set to Unicode.
2012-02-12 01:35:10 +01:00
Bram Moolenaar 290ba5d450 Added tag v7-3-439 for changeset dec4338a7da2 2012-02-12 00:31:52 +01:00
Bram Moolenaar b392293566 updated for version 7.3.439
Problem:    Compiler warnings to size casts in Perl interface.
Solution:   Use XS macros. (James McCoy)
2012-02-12 00:31:52 +01:00
Bram Moolenaar fc91cb4c1a Added tag v7-3-438 for changeset bb67cd961fc3 2012-02-12 00:18:58 +01:00
Bram Moolenaar 8399b184df updated for version 7.3.438
Problem:    There is no way to avoid ":doautoall" reading modelines.
Solution:   Add the <nomodeline> argument. Adjust documentation.
2012-02-12 00:18:58 +01:00
Bram Moolenaar 5b3f773005 Added tag v7-3-437 for changeset 539613ce999d 2012-02-11 23:45:37 +01:00
Bram Moolenaar beb35fd2c1 updated for version 7.3.437
Problem:    Continue looping inside FOR_ALL_TAB_WINDOWS even when already done.
Solution:   Use goto instead of break. (Hirohito Higashi)
2012-02-11 23:45:37 +01:00
Bram Moolenaar d88f09180d Added tag v7-3-436 for changeset 2a6eb75275d9 2012-02-11 20:44:10 +01:00
Bram Moolenaar c15e85175a updated for version 7.3.436
Problem:    Compiler warnings for types on Windows.
Solution:   Add type casts. (Mike Williams)
2012-02-11 20:44:10 +01:00
Bram Moolenaar f394657694 Added tag v7-3-435 for changeset afbf45d85496 2012-02-11 20:40:55 +01:00
Bram Moolenaar 9798cd2824 updated for version 7.3.435
Problem:    Compiler warning for unused variable.
Solution:   Move the variable inside #ifdef.
2012-02-11 20:40:55 +01:00
Bram Moolenaar 2ab594f0bc Added tag v7-3-434 for changeset 636c2b1cdc8b 2012-02-06 00:13:22 +01:00
Bram Moolenaar 258befd30b updated for version 7.3.434
Problem:    Using join() can be slow.
Solution:   Compute the size of the result before allocation to avoid a lot of
	    allocations and copies. (Taro Muraoka)
2012-02-06 00:13:22 +01:00
Bram Moolenaar db31f6d78a Added tag v7-3-433 for changeset 8a731d7f0664 2012-02-05 23:10:30 +01:00
Bram Moolenaar ad1cd3750d updated for version 7.3.433
Problem:    Using continued lines in a Vim script can be slow.
Solution:   Instead of reallocating for every line use a growarray. (Yasuhiro
	    Matsumoto)
2012-02-05 23:10:30 +01:00
Bram Moolenaar d7da9af392 Added tag v7-3-432 for changeset 81201fb337a5 2012-02-05 22:51:33 +01:00
Bram Moolenaar 3bed2575b0 updated for version 7.3.432
Problem:    ACLs are not supported for ZFS or NFSv4 on Solaris.
Solution:   Add configure check and code. (Danek Duvall)
2012-02-05 22:51:33 +01:00
Bram Moolenaar db53e2d126 Added tag v7-3-431 for changeset a27fac494e70 2012-02-05 22:05:48 +01:00
Bram Moolenaar b25b8705ad updated for version 7.3.431
Problem:    Fetching a key at a prompt may be confused by escape sequences.
	    Especially when getting a prompt at a VimEnter autocommand.
	    (Alex Efros)
Solution:   Properly handle escape sequences deleted by check_termcode().
2012-02-05 22:05:48 +01:00
Bram Moolenaar 67e7203b21 Added tag v7-3-430 for changeset a9f8dd20a49f 2012-02-05 20:08:36 +01:00
Bram Moolenaar 5302c88d6d updated for version 7.3.430
Problem:    When a custom filetype detection uses "augroup END" the conf
	    fileytpe detection does not have the filetypedetect group.
Solution:   Always end the group and include filetypedetect in the conf
	    autocommand. (Lech Lorens)
2012-02-05 20:08:36 +01:00
Bram Moolenaar 36804026ad Added tag v7-3-429 for changeset c9366ca36f6f 2012-02-05 01:18:48 +01:00
Bram Moolenaar 849973b5c0 updated for version 7.3.429
Problem:    When 'cpoptions' includes "E" "c0" in the first column is an
	    error. The redo register is then set to the errornous command.
Solution:   Do not set the redo register if the command fails because of an
	    empty region. (Hideki Eiraku)
2012-02-05 01:18:48 +01:00
Bram Moolenaar 33000f0cb0 Added tag v7-3-428 for changeset d473f39aeadf 2012-02-05 00:48:00 +01:00
Bram Moolenaar 8cd3ba6c35 updated for version 7.3.428
Problem:    Win32: an xpm file without a mask crashes Vim.
Solution:   Fail when the mask is missing. (Dave Bodenstab)
2012-02-05 00:48:00 +01:00
Bram Moolenaar 23db10c2fb Added tag v7-3-427 for changeset 45467d77047d 2012-02-05 00:39:19 +01:00
Bram Moolenaar 2021b3897e updated for version 7.3.427
Problem:    readfile() can be slow with long lines.
Solution:   Use realloc() instead of alloc(). (John Little)
2012-02-05 00:39:18 +01:00
Bram Moolenaar 9228df0d0e Added tag v7-3-426 for changeset c70c005f61fb 2012-02-04 23:35:00 +01:00
Bram Moolenaar 86958b1ef2 updated for version 7.3.426
Problem:    With '$' in 'cpoptions' the $ is not displayed in the first
	    column.
Solution:   Use -1 instead of 0 as a special value. (Hideki Eiraku and
	    Hirohito Higashi)
2012-02-04 23:35:00 +01:00
Bram Moolenaar 0716f84452 Added tag v7-3-425 for changeset 7b17a38eb223 2012-02-04 22:44:32 +01:00
Bram Moolenaar 244ea6476b updated for version 7.3.425
Problem:    Search history lines are duplicated. (Edwin Steiner)
Solution:   Convert separator character from space to NUL.
2012-02-04 22:44:32 +01:00
Bram Moolenaar ea02df7174 Added tag v7-3-424 for changeset 2e4539dc2de7 2012-02-04 22:01:48 +01:00
Bram Moolenaar 863a7e8dbc updated for version 7.3.424
Problem:    Win16 version missing some functions.
Solution:   Add #defines for the functions.
2012-02-04 22:01:48 +01:00
Bram Moolenaar b755b9d1e8 Added tag v7-3-423 for changeset b7811ab264bf 2012-02-04 21:59:02 +01:00
Bram Moolenaar 5a476515e0 updated for version 7.3.423
Problem:    Small mistakes in comments, proto and indent.
Solution:   Fix the mistakes.

Also update runtime files
2012-02-04 21:59:01 +01:00
Bram Moolenaar 1aca19fb06 Added tag v7-3-422 for changeset 60f6df978a41 2012-02-04 20:17:26 +01:00
Bram Moolenaar f5d34ae81a updated for version 7.3.422
Problem:    Python 3 does not have __members__.
Solution:   Add "name" and "number" in another way. (lilydjwg)
2012-02-04 20:17:26 +01:00
Bjorn Winckler 8a4c9fe16f Flush while searching in included files
This fixes a problem where the completion menu would not pop up
immediately when hitting Ctrl-n to complete an identifier in a .pl file.
2012-01-29 13:46:07 +01:00
Bram Moolenaar 04e3d08c1b Added tag v7-3-421 for changeset 076003f52582 2012-01-28 18:03:35 +01:00
Bram Moolenaar aa0f2efec4 updated for version 7.3.421
Problem:    Get E832 when setting 'undofile' in vimrc and there is a file to
	    be edited on the command line. (Toothpik)
Solution:   Do not try reading the undo file for a file that wasn't loaded.
2012-01-28 18:03:35 +01:00
Bram Moolenaar 66e00f8541 Added tag v7-3-420 for changeset ded8f5add04c 2012-01-26 20:58:26 +01:00
Bram Moolenaar a2cb23113d updated for version 7.3.420
Problem:    "it" and "at" don't work properly with a dash in the tag name.
Solution:   Require a space to match the tag name. (Christian Brabandt)
2012-01-26 20:58:26 +01:00
Bram Moolenaar b9362aea53 Added tag v7-3-419 for changeset f4574729f6df 2012-01-26 20:41:26 +01:00
Bram Moolenaar 273247072d updated for version 7.3.419
Problem:    DBCS encoding in a user command does not always work.
Solution:   Skip over DBCS characters. (Yasuhiro Matsumoto)
2012-01-26 20:41:26 +01:00
Bram Moolenaar b7a547a663 Added tag v7-3-418 for changeset 4500a0ad2e0a 2012-01-26 18:58:38 +01:00
Bram Moolenaar 6fa99a85a2 updated for version 7.3.418
Problem:    When a user complete function returns -1 an error message is
	    given.
Solution:   When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
2012-01-26 18:58:38 +01:00
Bram Moolenaar 5a5ea6c869 Added tag v7-3-417 for changeset 63d3541d0733 2012-01-26 18:56:48 +01:00
Bram Moolenaar a9e7d9e51d updated for version 7.3.417
Problem:    Test 43 fails with a tiny build.
Solution:   Only run test 43 with at least a small build.
2012-01-26 18:56:47 +01:00
Bram Moolenaar 8ac199dc0a Added tag v7-3-416 for changeset 22a626604672 2012-01-26 18:52:42 +01:00
Bram Moolenaar 1393d8a590 updated for version 7.3.416
Problem:    Compiler warning for wrong pointer.
Solution:   Add type cast.
2012-01-26 18:52:06 +01:00
Bram Moolenaar cdac7f377b Added tag v7-3-416 for changeset 5c5ca538693f 2012-01-26 18:03:07 +01:00
Bram Moolenaar 13f714f8fb updated for version 7.3.416
Problem:    Compiler warning for wrong pointer.
Solution:   Add type cast.
2012-01-26 18:03:07 +01:00
Bram Moolenaar 65a6ab1981 Added tag v7-3-415 for changeset e7e4dbac7ded 2012-01-26 14:32:30 +01:00
Bram Moolenaar 9941885051 updated for version 7.3.415
Problem:    Completion of functions stops once a dictionary is encountered.
	    (James McCoy)
Solution:   Return an empty string instead of NULL.
2012-01-26 14:32:30 +01:00
Bram Moolenaar 9a5bbfc16c Added tag v7-3-414 for changeset c7861dd3b593 2012-01-26 13:40:08 +01:00
Bram Moolenaar 9c638c298b updated for version 7.3.414
Problem:    Using CTRL-A on "000" drops the leading zero, while on "001" it
	    doesn't.
Solution:   Detect "000" as an octal number. (James McCoy)
2012-01-26 13:40:08 +01:00
Bram Moolenaar b4db73f08a Added tag v7-3-413 for changeset 821c8be2e9d6 2012-01-26 13:01:59 +01:00
Bram Moolenaar 7101ad97d1 updated for version 7.3.413
Problem:    Build warnings on MS-Windows.
Solution:   Add type casts. (Mike Williams)
2012-01-26 13:01:59 +01:00
Bram Moolenaar 088a20181f Added tag v7-3-412 for changeset aaee60933022 2012-01-26 11:45:30 +01:00
Bram Moolenaar 0cbeed8fb2 updated for version 7.3.412
Problem:    Storing a float in a session file has an additional '&'.
Solution:   Remove the '&'. (Yasuhiro Matsumoto)
2012-01-26 11:45:30 +01:00
Bram Moolenaar f602d4a285 Added tag v7-3-411 for changeset 8066fb7e3564 2012-01-26 11:43:09 +01:00
Bram Moolenaar 3ba688db54 updated for version 7.3.411
Problem:    Pasting in Visual mode using the "" register does not work. (John
	    Beckett)
Solution:   Detect that the write is overwriting the pasted register.
	    (Christian Brabandt)
2012-01-26 11:43:09 +01:00
Bram Moolenaar 6b0742c682 Added tag v7-3-410 for changeset 5cf2a671d8eb 2012-01-23 20:48:40 +01:00
Bram Moolenaar d743f15961 updated for version 7.3.410
Problem:    Compiler error for // comment. (Joachim Schmitz)
Solution:   Turn into /* comment */.
2012-01-23 20:48:40 +01:00
Bram Moolenaar c27a882e7c Added tag v7-3-409 for changeset 7b59c2c032ca 2012-01-20 21:14:00 +01:00
Bram Moolenaar 64ce3f5fd9 updated for version 7.3.409
Problem:    The license in pty.c is unclear.
Solution:   Add a comment about the license.
2012-01-20 21:13:59 +01:00
Bram Moolenaar 591d30c69f Update runtime files. 2012-01-20 21:08:56 +01:00
Bram Moolenaar e1d4b947b0 Added tag v7-3-408 for changeset 1fec3c62f6e8 2012-01-20 20:54:20 +01:00
Bram Moolenaar 6b8c9a8e7c updated for version 7.3.408
Problem:    Missing declaration.
Solution:   Add the declaration. (John Marriott)
2012-01-20 20:54:19 +01:00
Bram Moolenaar d26e6b6d0e Added tag v7-3-407 for changeset 55cebc7e5de0 2012-01-20 20:44:43 +01:00
Bram Moolenaar a270060f6a updated for version 7.3.407
Problem:    ":12verbose call F()" may duplicate text while trying to truncate.
	    (Thinca)
Solution:   Only truncate when there is not enough room.  Also check the byte
	    length of the buffer.
2012-01-20 20:44:43 +01:00
Bram Moolenaar 299300ea55 Added tag v7-3-406 for changeset fbb23bd517f8 2012-01-20 17:57:51 +01:00
Bram Moolenaar b4f28257f9 updated for version 7.3.406
Problem:    Multi-byte characters in b:browsefilter are not handled correctly.
Solution:   First use convert_filter() normally and then convert to wide
	    characters. (Taro Muraoka)
2012-01-20 17:57:51 +01:00
Bram Moolenaar b4d8fe284f Added tag v7-3-405 for changeset c75a8d2404bd 2012-01-20 17:15:51 +01:00
Bram Moolenaar eed5ee2b43 updated for version 7.3.405
Problem:    When xterm gets back the function keys it may delete the urxvt
	    mouse termcap code.
Solution:   Check for the whole code, not just the start. (Egmont Koblinger)
2012-01-20 17:15:51 +01:00
Bram Moolenaar e3cf6a0ff2 Added tag v7-3-404 for changeset 8b928bc814a8 2012-01-20 14:32:27 +01:00
Bram Moolenaar 366847a604 updated for version 7.3.404
Problem:    When a complete function uses refresh "always" redo will not work
	    properly.
Solution:   Do not reset compl_leader when compl_opt_refresh_always is set.
	    (Yasuhiro Matsumoto)
2012-01-20 14:32:27 +01:00
Bram Moolenaar 13bb3259cc Added tag v7-3-403 for changeset 5850b5827691 2012-01-20 13:39:07 +01:00
Bram Moolenaar 0aa9ee6d1b updated for version 7.3.403
Problem:    ":helpgrep" does not trigger QuickFixCmd* autocommands.
Solution:   Trigger the autocommands. (Christian Brabandt)
2012-01-20 13:39:07 +01:00
Bram Moolenaar 7f4314a56a Added tag v7-3-402 for changeset 4eda43e1fce0 2012-01-20 13:28:34 +01:00
Bram Moolenaar 63b9826953 updated for version 7.3.402
Problem:    When jumping to the first error a line of the buffer is sometimes
	    redrawn on top of the list of errors.
Solution:   Do not call update_topline_redraw() if the display was scrolled
	    up.
2012-01-20 13:28:34 +01:00
Bjorn Winckler 30ed2e9d25 Add help on how to disable macvim color scheme 2012-01-13 08:18:04 +01:00
Bjorn Winckler 7868edffae Add way to stop macvim color scheme from loading
Syntax highlight colors that are manually set would get clobbered by the
macvim color scheme which is loaded by default in the global gvimrc.
This loading can now be disabled by adding the line
    let macvim_skip_colorscheme=1
to ~/.vimrc (it will not work in ~/.gvimrc).
2012-01-13 08:03:13 +01:00
Bjorn Winckler 65d86b8b6e Merge branch 'vim' 2012-01-11 16:38:07 +01:00
Bram Moolenaar 5fc58ce084 Added tag v7-3-401 for changeset 1251e1ce9461 2012-01-10 22:31:32 +01:00
Bram Moolenaar 1ea3c6ba09 updated for version 7.3.401
Problem:    A couple more shadowed variables.
Solution:   Rename the variables.
2012-01-10 22:31:31 +01:00
Bram Moolenaar 7fa72e12b2 Added tag v7-3-400 for changeset 320cc46d0eb0 2012-01-10 22:26:17 +01:00
Bram Moolenaar 8cba80c05b updated for version 7.3.400
Problem:    Compiler warnings for shadowed variables.
Solution:   Remove or rename the variables.
2012-01-10 22:26:17 +01:00
Bram Moolenaar 392d8e5ef6 Added tag v7-3-399 for changeset ce6afdc00290 2012-01-10 18:37:58 +01:00
Bram Moolenaar 1a7c64bb81 updated for version 7.3.399
Problem:    ":cd" doesn't work when the path contains wildcards. (Yukihiro
	    Nakadaira)
Solution:   Ignore wildcard errors when the EW_NOTWILD flag is used.
2012-01-10 18:37:58 +01:00
Bram Moolenaar 8b028f7000 Added tag v7-3-398 for changeset 9eb7fdfb5e63 2012-01-10 17:13:52 +01:00
Bram Moolenaar 2957524028 updated for version 7.3.398
Problem:    When creating more than 10 location lists and adding items one by
	    one a previous location may be used. (Audrius Kažukauskas)
Solution:   Clear the location list completely when adding the tenth one.
2012-01-10 17:13:52 +01:00
Bram Moolenaar 1b4691a6db Added tag v7-3-397 for changeset 75217982ea46 2012-01-10 16:28:45 +01:00
Bram Moolenaar c3f1ade368 updated for version 7.3.397
Problem:    ":helpgrep" does not work properly when 'encoding' is not utf-8 or
	    latin1.
Solution:   Convert non-ascii lines to 'encoding'. (Yasuhiro Matsumoto)
2012-01-10 16:28:45 +01:00
Bram Moolenaar 9fef527133 Updated runtime files. 2012-01-10 14:55:01 +01:00
Bram Moolenaar f7046c5053 Added tag v7-3-396 for changeset 2f075595590f 2012-01-10 13:46:22 +01:00
Bram Moolenaar abaa7dd69a updated for version 7.3.396
Problem:    After forcing an operator to be characterwise it can still become
	    linewise when spanning whole lines.
Solution:   Don't make the operator linewise when motion_force was set.
	    (Christian Brabandt)
2012-01-10 13:46:22 +01:00
Bram Moolenaar e57757c7d8 Added tag v7-3-395 for changeset 80c529a5650f 2012-01-10 13:44:28 +01:00
Bram Moolenaar 00266fe604 updated for version 7.3.395
Problem:    "dv?bar" in the last line deletes too much and breaks undo.
Solution:   Only adjust the cursor position when it's after the last line of
	    the buffer.  Add a test. (Christian Brabandt)
2012-01-10 13:44:27 +01:00
Bram Moolenaar 7ceb27ce7c Added tag v7-3-394 for changeset 927c7377cf49 2012-01-10 12:42:10 +01:00
Bram Moolenaar 9c564ae9a5 updated for version 7.3.394
Problem:    When placing a mark while starting up a screen redraw messes up
	    the screen. (lith)
Solution:   Don't redraw while still starting up. (Christian Brabandt)
2012-01-10 12:42:09 +01:00
Bram Moolenaar 7d04ad08e1 Added tag v7-3-393 for changeset e0248b732a5c 2012-01-04 20:29:22 +01:00
Bram Moolenaar 37dcf1e835 updated for version 7.3.393
Problem:    Win32: When resizing Vim it is always moved to the primary monitor
	    if the secondary monitor is on the left.
Solution:   Use the nearest monitor. (Yukihiro Nakadaira)
2012-01-04 20:29:22 +01:00
Bram Moolenaar 43d7baf444 Added tag v7-3-392 for changeset c4898d6d73a2 2012-01-04 19:34:37 +01:00
Bram Moolenaar 4a32cfa105 updated for version 7.3.392
Problem:    When setting 'undofile' while the file is already loaded but
	    unchanged, try reading the undo file. (Andy Wokula)
Solution:   Compute a checksum of the text when 'undofile' is set. (Christian
	    Brabandt)
2012-01-04 19:34:37 +01:00
Bram Moolenaar bedf368893 Added tag v7-3-391 for changeset 819322e0e93e 2012-01-04 14:35:37 +01:00
Bram Moolenaar abcdaae181 updated for version 7.3.391
Problem:    Can't check if the XPM_W32 feature is enabled.
Solution:   Add xpm_w32 to the list of features. (kat)
2012-01-04 14:35:37 +01:00
Bjorn Winckler d8524b936c Snapshot 64 2012-01-02 18:22:44 +01:00
Bjorn Winckler 1a0cc62df7 Merge branch 'vim'
Conflicts:
	src/auto/configure
2011-12-31 20:53:30 +01:00
Bram Moolenaar fbd53acd1c Added tag v7-3-390 for changeset 48252b5fd170 2011-12-30 15:01:59 +01:00
Bram Moolenaar 0ab6b6ccfd updated for version 7.3.390
Problem:    Using NULL buffer pointer in a window.
Solution:   Check for w_buffer being NULL in more places. (Bjorn Winckler)
2011-12-30 15:01:59 +01:00
Bram Moolenaar 914fd5138b Added tag v7-3-389 for changeset c97c3272d7a6 2011-12-30 14:14:29 +01:00
Bram Moolenaar d5955032da updated for version 7.3.389
Problem:    After typing at a prompt the "MORE" message appears too soon.
Solution:   reset lines_left in msg_end_prompt(). (Eswald)
2011-12-30 14:14:29 +01:00
Bram Moolenaar bc359a10dc Added tag v7-3-388 for changeset 683fab13904c 2011-12-30 13:39:10 +01:00
Bram Moolenaar 888f1c097d updated for version 7.3.388
Problem:    Crash on exit when EXITFREE is defined and using tiny features.
Solution:   Check for NULL window pointer. (Dominique Pelle)
2011-12-30 13:39:10 +01:00
Bram Moolenaar a99ae26266 Updated runtime files. 2011-12-30 13:11:27 +01:00
Bram Moolenaar 1a79389c38 Added tag v7-3-387 for changeset ac16c62282ac 2011-12-30 13:09:21 +01:00
Bram Moolenaar 8173a74c57 updated for version 7.3.387
Problem:    Test 83 may fail for some encodings.
Solution:   Set 'encoding' to utf-8 earlier.
2011-12-30 13:09:21 +01:00
Bram Moolenaar b0f4915b3b Added tag v7-3-386 for changeset 1cedbee50ca6 2011-12-23 14:56:28 +01:00
Bram Moolenaar 195da7fc0e updated for version 7.3.386
Problem:    Test 83 fails when iconv does not support cp932. (raf)
Solution:   Test if conversion works. (Yukihiro Nakadaira)
2011-12-23 14:56:28 +01:00
Bram Moolenaar 84124b653a Added tag v7-3-385 for changeset 910eb66c9768 2011-12-23 14:54:04 +01:00
Bram Moolenaar 38df9f960c updated for version 7.3.385
Problem:    When using an expression mapping on the command line the cursor
	    ends up in the wrong place. (Yasuhiro Matsumoto)
Solution:   Save and restore msg_col and msg_row when evaluating the
	    expression.
2011-12-23 14:54:04 +01:00
Bram Moolenaar d17f7a30b1 Added tag v7-3-384 for changeset e958eeffa0a7 2011-12-23 13:15:03 +01:00
Bram Moolenaar d0e026bd16 updated for version 7.3.384
Problem:    Mapping CTRL-K in Insert mode breaks CTRL-X CTRL-K for dictionary
	    completion.
Solution:   Add CTRL-K to the list of recognized keys. (James McCoy)
2011-12-23 13:15:03 +01:00
Bram Moolenaar c73130366f Added tag v7-3-383 for changeset f8d2ef4512f8 2011-12-23 12:47:03 +01:00
Bram Moolenaar 1f7beb1fa2 updated for version 7.3.383
Problem:    For EBCDIC pound sign is defined as 't'.
Solution:   Correctly define POUND.
2011-12-23 12:47:03 +01:00
Bram Moolenaar 85f61ede43 Added tag v7-3-382 for changeset 2260435283f2 2011-12-15 21:51:36 +01:00
Bram Moolenaar 62fb548a8e updated for version 7.3.382
Problem:    IME characters are inserted twice.
Solution:   Do not call DefWindowProc() if the event was handled. (Yasuhiro
	    Matsumoto)
2011-12-15 21:51:36 +01:00
Bram Moolenaar 7feea4182e Update runtime files. 2011-12-14 21:17:39 +01:00
Bram Moolenaar 2738d17027 Added tag v7-3-381 for changeset 6cc788692b2e 2011-12-14 20:51:25 +01:00
Bram Moolenaar 43a5cf079b updated for version 7.3.381
Problem:    Configure silently skips interfaces that won't work.
Solution:   Add the --enable-fail_if_missing argument. (Shlomi Fish)
2011-12-14 20:51:25 +01:00
Bram Moolenaar 33a302570a Added tag v7-3-380 for changeset 534b3ef1cf14 2011-12-14 20:21:35 +01:00
Bram Moolenaar 419b108ea8 updated for version 7.3.380
Problem:    C-indenting wrong for a function header.
Solution:   Skip to the start paren. (Lech Lorens)
2011-12-14 20:21:35 +01:00
Bram Moolenaar afc0ee855b Added tag v7-3-379 for changeset 0f193ef0f429 2011-12-14 20:05:21 +01:00
Bram Moolenaar 75eaa81e2a updated for version 7.3.379
Problem:    C-indenting wrong for static enum.
Solution:   Skip over "static". (Lech Lorens)
2011-12-14 20:05:21 +01:00
Bram Moolenaar fe541bf662 Added tag v7-3-378 for changeset a7517e84d9b8 2011-12-14 19:22:34 +01:00
Bram Moolenaar 970de7213e updated for version 7.3.378
Problem:    When cross-compiling the check for uint32_t fails.
Solution:   Only give a warning message. (Maksim Melnikau)
2011-12-14 19:22:34 +01:00
Bram Moolenaar f73c0a0e98 Added tag v7-3-377 for changeset cd145cc2f2c9 2011-12-14 15:32:50 +01:00
Bram Moolenaar 2770a975b8 updated for version 7.3.377
Problem:    No support for bitwise AND, OR, XOR and invert.
Solution:   Add add(), or(), invert() and xor() functions.
2011-12-14 15:32:50 +01:00
Bram Moolenaar c0974a9f35 Added tag v7-3-376 for changeset 1d7434010de1 2011-12-14 15:24:00 +01:00
Bram Moolenaar 743874de49 updated for version 7.3.376
Problem:    Win32: Toolbar repainting does not work when the mouse pointer
	    hovers over a button.
Solution:   Call DefWindowProc() when not hanlding an event. (Sergiu Dotenco)
2011-12-14 15:23:59 +01:00
Bram Moolenaar e4aa2807b2 Added tag v7-3-375 for changeset 767bb493e7d3 2011-12-14 15:07:29 +01:00
Bram Moolenaar 26b286f74a updated for version 7.3.375
Problem:    Duplicate return statement.
Solution:   Remove the superfluous one. (Dominique Pelle)
2011-12-14 15:07:29 +01:00
Bram Moolenaar 70ac6f7e8a Added tag v7-3-374 for changeset 0a9d7cf90f94 2011-12-14 14:49:46 +01:00
Bram Moolenaar 2f39b20b79 updated for version 7.3.374
Problem:    ++encoding does not work properly.
Solution:   Recognize ++encoding before ++enc. (Charles Cooper)
2011-12-14 14:49:45 +01:00
Bram Moolenaar 1747abb091 Added tag v7-3-373 for changeset a1d2f741d45c 2011-12-14 14:15:17 +01:00
Bram Moolenaar b615c2a7d7 updated for version 7.3.373
Problem:    A tags file with an extremely long name may cause an infinite loop.
Solution:   When encountering a long name switch to linear search.
2011-12-14 14:15:16 +01:00
Bram Moolenaar 8569f3c852 Added tag v7-3-372 for changeset 6ff80dd02b51 2011-12-08 18:44:51 +01:00
Bram Moolenaar 4d60cde999 updated for version 7.3.372
Problem:    When using a command line mapping to <Up> with file name
	    completion to go one directory up, 'wildchar' is inserted.
	    (Yasuhiro Matsumoto)
Solution:   Set the KeyTyped flag.
2011-12-08 18:44:51 +01:00
Bram Moolenaar 4e4180769d Added tag v7-3-371 for changeset e757e1127d21 2011-12-08 17:49:35 +01:00
Bram Moolenaar 9ebb981533 updated for version 7.3.371
Problem:    Crash in autocomplete. (Greg Weber)
Solution:   Check not going over allocated buffer size.
2011-12-08 17:49:35 +01:00
Bram Moolenaar f93992c87f Added tag v7-3-370 for changeset 3801e4811b0e 2011-12-08 16:00:16 +01:00
Bram Moolenaar c868faa2ea updated for version 7.3.370
Problem:    Compiler warns for unused variable in Lua interface.
Solution:   Remove the variable.
2011-12-08 16:00:16 +01:00
Bram Moolenaar 55a0ca6c35 Added tag v7-3-369 for changeset 0df9718c45b6 2011-12-08 15:58:00 +01:00
Bram Moolenaar f2f9112610 updated for version 7.3.369
Problem:    When compiled with Gnome get an error message when using --help.
Solution:   Don't fork. (Ivan Krasilnikov)
2011-12-08 15:57:59 +01:00
Bram Moolenaar a484c8c8f8 Added tag v7-3-368 for changeset 4e9c5338f44c 2011-12-08 15:17:34 +01:00
Bram Moolenaar 82e0369e71 updated for version 7.3.368
Problem:    Gcc complains about redefining _FORTIFY_SOURCE.
Solution:   Undefine it before redefining it.
2011-12-08 15:17:34 +01:00
Bram Moolenaar 83bc3455ba Added tag v7-3-367 for changeset 972bd3fca556 2011-12-08 15:14:09 +01:00
Bram Moolenaar 98776df749 updated for version 7.3.367
Problem:    :wundo and :rundo use a wrong checksum.
Solution:   Include the last line when computing the hash. (Christian Brabandt)
2011-12-08 15:14:09 +01:00
Bram Moolenaar 9e252ddc89 Added tag v7-3-366 for changeset 436b42f3cba1 2011-12-08 15:12:12 +01:00
Bram Moolenaar 6738a32b58 updated for version 7.3.366
Problem:    A tags file with an extremely long name causes errors.
Solution:   Ignore tags that are too long. (Arno Renevier)
2011-12-08 15:12:11 +01:00
Bram Moolenaar 6eadacf8fd Added tag v7-3-365 for changeset 54ef99c39139 2011-12-08 15:09:52 +01:00
Bram Moolenaar 796ef5f351 updated for version 7.3.365
Problem:    Crash when using a large Unicode character in a file that has
	    syntax highlighting. (ngollan)
Solution:   Check for going past the end of the utf tables. (Dominique Pelle)
2011-12-08 15:09:52 +01:00
Bram Moolenaar d3cf5ffbad Added tag v7-3-364 for changeset b0bbaf1020f0 2011-12-01 20:59:21 +01:00
Bram Moolenaar a616baa0cf updated for version 7.3.364
Problem:    Can't compile on HP-UX. (John Marriott)
Solution:   Only use TTYM_URXVT when it is defined.
2011-12-01 20:59:21 +01:00
Bram Moolenaar a2e61ceba4 Added tag v7-3-363 for changeset c025592d7b1d 2011-11-30 17:20:23 +01:00
Bram Moolenaar 7da942d3d1 updated for version 7.3.363
Problem:    C indenting is wrong after #endif followed by a semicolon.
Solution:   Add special handling for a semicolon in a line by itself. (Lech
	    Lorens)
2011-11-30 17:20:23 +01:00
Bram Moolenaar 5692b65b99 Added tag v7-3-362 for changeset 074ddc768fea 2011-11-30 17:01:59 +01:00
Bram Moolenaar 6ce66062f1 updated for version 7.3.362
Problem:    ml_get error when using ":g" with folded lines.
Solution:   Adjust the line number for changed_lines(). (Christian Brabandt)
2011-11-30 17:01:58 +01:00
Bram Moolenaar bcebbef918 Added tag v7-3-361 for changeset e42252611e74 2011-11-30 15:40:56 +01:00
Bram Moolenaar 8503faebb8 updated for version 7.3.361
Problem:    Accessing memory after it is freed when EXITFREE is defined.
Solution:   Don't access curwin when firstwin is NULL. (Dominique Pelle)
2011-11-30 15:40:56 +01:00
Bram Moolenaar 9b4e286354 Added tag v7-3-360 for changeset 28480c9006e6 2011-11-30 15:19:28 +01:00
Bram Moolenaar 09229a2135 updated for version 7.3.360
Problem:    Interrupting the load of an autoload function may cause a crash.
Solution:   Do not use the hashitem when not valid. (Yukihiro Nakadaira)
2011-11-30 15:19:28 +01:00
Bram Moolenaar da97c9645b Added tag v7-3-359 for changeset b7f0f23bf906 2011-11-30 14:57:31 +01:00
Bram Moolenaar 4fa9ba0ada updated for version 7.3.359
Problem:    Command line completion shows dict functions.
Solution:   Skip dict functions for completion. (Yasuhiro Matsumoto)
2011-11-30 14:57:31 +01:00
Bram Moolenaar b1ec0cea9a Added tag v7-3-358 for changeset 97a52300ef2b 2011-11-30 14:47:16 +01:00
Bram Moolenaar 2df903ec35 updated for version 7.3.358
Problem:    Mouse support doesn't work properly.
Solution:   Add HMT_URXVT. (lilydjwg, James McCoy)
2011-11-30 14:47:15 +01:00
Bram Moolenaar 388549d35a Added tag v7-3-357 for changeset e618700297e8 2011-11-30 13:42:44 +01:00
Bram Moolenaar 86785e5ce3 updated for version 7.3.357
Problem:    Compiler warning in MS-Windows console build.
Solution:   Adjust return type of PrintHookProc(). (Mike Williams)
2011-11-30 13:42:44 +01:00
Bram Moolenaar 39858bbc91 Added tag v7-3-356 for changeset c349a670716a 2011-11-30 13:03:28 +01:00
Bram Moolenaar 4452bc50b1 updated for version 7.3.356
Problem:    Using "o" with 'cindent' set may freeze Vim. (lolilolicon)
Solution:   Skip over {} correctly. (Hari G)
2011-11-30 13:03:28 +01:00
Bram Moolenaar f7c74110b8 Added tag v7-3-355 for changeset d2f70593afeb 2011-11-30 11:31:30 +01:00
Bram Moolenaar 88061e2320 updated for version 7.3.355
Problem:    GTK warnings when using netrw.vim. (Ivan Krasilnikov)
Solution:   Do not remove the beval event handler twice.
2011-11-30 11:31:30 +01:00
Bram Moolenaar 0e9adf589b Added tag v7-3-354 for changeset 6672b1645306 2011-11-30 11:15:47 +01:00
Bram Moolenaar 5ca1b85d14 updated for version 7.3.354
Problem:    ":set backspace+=eol" doesn't work when 'backspace' has a
	    backwards compatible value of 2.
Solution:   Convert the number to a string. (Hirohito Higashi)
2011-11-30 11:15:47 +01:00
ervandew 4b764c5b86 Fix processing of netbeans messages
Processing of netbeans messages in macvim has been broken since
b4winckler/macvim@1e08012084 due to that
processing being moved to gui_x11.c. Add similar block to gui_macvim.m
to restore the processing of netbeans messages.
2011-11-22 09:26:54 +01:00
Bjorn Winckler a914f7d905 Snapshot 63 2011-11-10 17:56:33 +01:00
Bjorn Winckler a2efcc4e0e Merge branch 'vim'
Conflicts:
	src/option.c
2011-11-10 17:42:44 +01:00
Bram Moolenaar acbc24e693 Added tag v7-3-353 for changeset 12bb368fef2c 2011-10-26 23:48:21 +02:00
Bram Moolenaar 23bfbcb797 updated for version 7.3.353
Problem:    Missing part of the urxvt patch.
Solution:   Add the change in term.c
2011-10-26 23:48:20 +02:00
Bram Moolenaar e32a8f0ace Added tag v7-3-352 for changeset ca65249eb34b 2011-10-26 22:02:15 +02:00
Bram Moolenaar a9a480862c updated for version 7.3.352
Problem:    When completing methods dict functions and script-local functions
	    get in the way.
Solution:   Sort function names starting with "<" to the end. (Yasuhiro
	    Matsumoto)
2011-10-26 22:02:15 +02:00
Bram Moolenaar 2c85ee38a5 Added tag v7-3-351 for changeset ff69efc4bc55 2011-10-26 17:04:29 +02:00
Bram Moolenaar c66e217f33 updated for version 7.3.351
Problem:    Text formatting uses start of insert position when it should not.
	    (Peter Wagenaar)
Solution:   Do not use Insstart when intentionally formatting.
2011-10-26 17:04:29 +02:00
Bram Moolenaar 78997dd9ef Added tag v7-3-350 for changeset 07956eab189c 2011-10-26 13:19:27 +02:00
Bram Moolenaar 7f936da91c updated for version 7.3.350
Problem:    Block of code after ":lua << EOF" may not work. (Paul Isambert)
Solution:   Recognize the ":lua" command, skip to EOF.
2011-10-26 13:19:27 +02:00
Bram Moolenaar 5fe4915e30 Added tag v7-3-349 for changeset 075acc2dccaa 2011-10-26 11:44:19 +02:00
Bram Moolenaar 9e50ec2e90 updated for version 7.3.349
Problem:    When running out of memory during startup trying to open a
	    swapfile will loop forever.
Solution:   Let findswapname() set dirp to NULL if out of memory.
2011-10-26 11:44:18 +02:00
Bram Moolenaar 69f47b4a0c Added tag v7-3-348 for changeset 4d4a328f199e 2011-10-26 11:41:00 +02:00
Bram Moolenaar 26a7f66364 updated for version 7.3.348
Problem:    "call range(1, 947948399)" causes a crash. (ZyX)
Solution:   Avoid a loop in the out of memory message.
2011-10-26 11:41:00 +02:00
Bram Moolenaar a1024b19ea Added tag v7-3-347 for changeset 72528c5eb87e 2011-10-26 11:36:25 +02:00
Bram Moolenaar cf6ae55400 updated for version 7.3.347
Problem:    When dropping text from a browser on Vim it receives HTML even
	    though "html" is excluded from 'clipboard'. (Andrei Avk)
Solution:   Fix the condition for TARGET_HTML.
2011-10-26 11:36:25 +02:00
Bram Moolenaar b2ebf7c277 Updated runtime files. 2011-10-20 22:22:38 +02:00
Bram Moolenaar c72a3758a9 Added tag v7-3-346 for changeset af76a61a7f79 2011-10-20 21:58:35 +02:00
Bram Moolenaar 960c755f2f updated for version 7.3.346
Problem:    It's hard to test netbeans commands.
Solution:   Process netbeans commands after :sleep. (Xavier de Gaye)
2011-10-20 21:58:34 +02:00
Bram Moolenaar de489086dd Added tag v7-3-345 for changeset 35f098371af6 2011-10-20 21:41:09 +02:00
Bram Moolenaar c901b52c08 updated for version 7.3.345 2011-10-20 21:41:09 +02:00
Bram Moolenaar f1be92c811 Added tag v7-3-344 for changeset 7ba2f171cdac 2011-10-20 21:28:01 +02:00
Bram Moolenaar 6eb9338757 updated for version 7.3.344
Problem:    Problem with GUI startup related to XInitThreads.
Solution:   Use read() and write() instead of fputs() and fread(). (James
	    Vega)
2011-10-20 21:28:01 +02:00
Bram Moolenaar 13510d9153 Added tag v7-3-343 for changeset 98a05814f1b4 2011-10-20 21:09:35 +02:00
Bram Moolenaar d77012934a updated for version 7.3.343
Problem:    No mouse support for urxvt.
Solution:   Implement urxvt mouse support, also for > 252 columns.  (Yiding
	    Jia)
2011-10-20 21:09:35 +02:00
Bram Moolenaar 2d7f1279c8 Added tag v7-3-342 for changeset 314d9368069e 2011-10-20 18:24:22 +02:00
Bram Moolenaar dca6f03f01 updated for version 7.3.342
Problem:    Code not in Vim style.
Solution:   Fix the style. (Elias Diem)
2011-10-20 18:24:22 +02:00
Bram Moolenaar 53ec8158c3 Added tag v7-3-341 for changeset 6963603ec6dc 2011-10-20 18:17:42 +02:00
Bram Moolenaar 065efdcb23 updated for version 7.3.341
Problem:    Local help files are only listed in help.txt, not in translated
	    help files.
Solution:   Also find translated help files. (Yasuhiro Matsumoto)
2011-10-20 18:17:42 +02:00
Bram Moolenaar 672ee036f6 Added tag v7-3-340 for changeset 49b08c9b9f5b 2011-10-20 18:12:32 +02:00
Bram Moolenaar 89b6b3bf5f updated for version 7.3.340
Problem:    When 'verbosefile' is set ftplugof.vim can give an error.
Solution:   Only remove filetypeplugin autocommands when they exist. (Yasuhiro
	    Matsumoto)
2011-10-20 18:12:32 +02:00
Bram Moolenaar e6df0dd645 Added tag v7-3-339 for changeset b5a2b4c0c1ca 2011-10-20 16:35:35 +02:00
Bram Moolenaar a88e58f6e2 updated for version 7.3.339
Problem:    "make shadow" doesn't link all test files.
Solution:   Add a line in Makefile and Filelist.
2011-10-20 16:35:35 +02:00
Bram Moolenaar 9bce6ce276 Added tag v7-3-338 for changeset 7919a3d7333b 2011-10-12 22:02:14 +02:00
Bram Moolenaar 64bbf477d0 updated for version 7.3.338
Problem:    Using getchar() in an expression mapping doesn't work well.
Solution:   Don't save and restore the typeahead. (James Vega)
2011-10-12 22:02:14 +02:00
Bram Moolenaar 84cf08594c Added tag v7-3-337 for changeset 176bfa951339 2011-10-12 21:04:20 +02:00
Bram Moolenaar 40546c34f4 updated for version 7.3.337
Problem:    Screen doesn't update after resizing the xterm until a character
	    is typed.
Solution:   When the select call is interrupted check do_resize. (Taylor
	    Hedberg)
2011-10-12 21:04:20 +02:00
Bram Moolenaar fdbce8b6e7 Added tag v7-3-336 for changeset 52526aec4afb 2011-10-12 19:53:52 +02:00
Bram Moolenaar a162ddc680 updated for version 7.3.336
Problem:    When a tags file specifies an encoding different from 'enc' it
	    may hang and using a pattern doesn't work.
Solution:   Convert the whole line.  Continue reading the header after the
	    SORT tag.  Add test83. (Yukihiro Nakadaira)
2011-10-12 19:53:52 +02:00
Bram Moolenaar cebc2eb063 Added tag v7-3-335 for changeset dc3f90a73fb3 2011-10-12 16:57:13 +02:00
Bram Moolenaar 3a032a4b39 updated for version 7.3.335
Problem:    When 'imdisable' is reset from an autocommand in Insert mode it
	    doesn't take effect.
Solution:   Call im_set_active() in Insert mode. (Taro Muraoka)
2011-10-12 16:57:13 +02:00
Bram Moolenaar 8ce9a8785f Added tag v7-3-334 for changeset fdc723632298 2011-10-12 14:11:46 +02:00
Bram Moolenaar 8fa56bd765 updated for version 7.3.334
Problem:    Latest MingW about XSUBPP referencing itself. (Gongqian Li)
Solution:   Rename the first use to XSUBPPTRY.
2011-10-12 14:11:45 +02:00
Bjorn Winckler 54b2b3cf5e Don't set GCC_VERSION
This effectively reverts a previous commit which set this flag to "4.2"
causing problems with compilation when gcc-4.2 was not installed.

When GCC_VERSION is not set Xcode is supposed to use /usr/bin/gcc which
is presumably the same gcc version that the Vim Makefile uses.
2011-10-07 16:11:29 +02:00
Bjorn Winckler 2e43d084ee Merge branch 'vim' 2011-10-07 15:53:18 +02:00
Bram Moolenaar 7d66bb5e2a Added tag v7-3-333 for changeset 992b24149a9e 2011-10-04 21:22:44 +02:00
Bram Moolenaar 05c65fc201 updated for version 7.3.333
Problem:    Using "." to repeat a Visual delete counts the size in bytes, not
	    characters.  (Connor Lane Smith)
Solution:   Store the virtual column numbers instead of byte positions.
2011-10-04 21:22:44 +02:00
Bram Moolenaar 9784a17de9 Added tag v7-3-332 for changeset 0ecfe54a273f 2011-10-04 18:03:47 +02:00
Bram Moolenaar b491089907 updated for version 7.3.332
Problem:    Indent after "public:" is not increased in C++ code. (Lech Lorens)
Solution:   Check for namespace after the regular checks. (partly by Martin
	    Gieseking)
2011-10-04 18:03:47 +02:00
Bram Moolenaar e9dd1852ea Added tag v7-3-331 for changeset 4b8c614c1c91 2011-10-04 17:00:21 +02:00
Bram Moolenaar 6e71ef1f6d updated for version 7.3.331
Problem:    "vit" selects wrong text when a tag name starts with the same text
	    as an outer tag name. (Ben Fritz)
Solution:   Add "\>" to the pattern to check for word boundary.
2011-10-04 17:00:20 +02:00
Bram Moolenaar b802b6e322 Added tag v7-3-330 for changeset abb03be99d66 2011-10-04 16:43:53 +02:00
Bram Moolenaar d10420e2db updated for version 7.3.330
Problem:    When longjmp() is invoked if the X server gives an error the state
	    is not properly restored.
Solution:   Reset vgetc_busy. (Yukihiro Nakadaira)
2011-10-04 16:43:53 +02:00
Bram Moolenaar 8312d799a4 Add files aaded by patch 7.3.326. 2011-10-03 22:12:32 +02:00
Bram Moolenaar c388368a14 Added tag v7-3-329 for changeset ec901ddc84d5 2011-09-30 18:35:57 +02:00
Bram Moolenaar 5f19dd4ae5 updated for version 7.3.329
Problem:    When skipping over code from ":for" to ":endfor" get an error for
	    calling a dict function. (Yasuhiro Matsumoto)
Solution:   Ignore errors when skipping over :call command.
2011-09-30 18:35:57 +02:00
Bram Moolenaar c19bca2199 Added tag v7-3-328 for changeset 5b53cea62e5d 2011-09-30 17:46:21 +02:00
Bram Moolenaar 31c1fcc6b2 updated for version 7.3.328
Problem:    When command line wraps the cursor may be displayed wrong when
	    there are multi-byte characters.
Solution:   Position the cursor before drawing the text. (Yasuhiro Matsumoto)
2011-09-30 17:46:21 +02:00
Bram Moolenaar de67d3e257 Added tag v7-3-327 for changeset 9028c70adafd 2011-09-30 17:30:31 +02:00
Bram Moolenaar 3d4ff9d210 updated for version 7.3.327
Problem:    When jumping to a help tag a closed fold doesn't open.
Solution:   Save and restore KeyTyped. (Yasuhiro Matsumoto)
2011-09-30 17:30:31 +02:00
Bram Moolenaar 075318e8e0 Added tag v7-3-326 for changeset d3758064ff99 2011-09-30 16:56:02 +02:00
Bram Moolenaar 014cde7bfa updated for version 7.3.326
Problem:    MingW 4.6 no longer supports the -mno-cygwin option.
Solution:   Split the Cygwin and MingW makefiles. (Matsushita Shougo)
2011-09-30 16:56:02 +02:00
Bram Moolenaar c140e21beb Added tag v7-3-325 for changeset 8aca621c0091 2011-09-30 16:39:48 +02:00
Bram Moolenaar dc75ffcab3 updated for version 7.3.325
Problem:    A duplicated function argument gives an internal error.
Solution:   Give a proper error message. (based on patch by Tyru)
2011-09-30 16:39:48 +02:00
Bram Moolenaar f8a94ed692 Added tag v7-3-324 for changeset f04619f1fc16 2011-09-30 16:23:32 +02:00
Bram Moolenaar ac88a5268a updated for version 7.3.324
Problem:    Completion for ":compiler" shows color scheme names.
Solution:   Fix the directory name. (James Vega)
2011-09-30 16:23:32 +02:00
Bram Moolenaar 176870f93a Added tag v7-3-323 for changeset 3bdb646fc8a4 2011-09-30 14:44:54 +02:00
Bram Moolenaar 9d405f05b6 updated for version 7.3.323
Problem:    The default 'errorformat' does not ignore some "included from"
	    lines.
Solution:   Add a few more patterns. (Ben Boeckel)
2011-09-30 14:44:54 +02:00
Bjorn Winckler 4fe710d0f9 Merge branch 'vim'
Conflicts:
	runtime/syntax/vim.vim
2011-09-22 17:37:28 +02:00
Bram Moolenaar 05413de810 Added tag v7-3-322 for changeset 38a7fd904347 2011-09-21 20:09:42 +02:00
Bram Moolenaar 019001d897 updated for version 7.3.322
Problem:    #ifdef for PDP_RETVAL doesn't work, INT_PTR can be a typedef.
Solution:   Check the MSC version and 64 bit flags. (Sergiu Dotenco)
2011-09-21 20:09:42 +02:00
Bram Moolenaar 10384920c9 Added tag v7-3-321 for changeset fc0804089b29 2011-09-21 19:50:05 +02:00
Bram Moolenaar a4ef2c0ee1 updated for version 7.3.321
Problem:    Code not following Vim style.
Solution:   Fix the style. (Elias Diem)
2011-09-21 19:50:05 +02:00
Bram Moolenaar 456ae485bf Updated a few runtime files. 2011-09-21 19:22:10 +02:00
Bram Moolenaar 922ae9bb15 Added tag v7-3-320 for changeset 738ea87c1964 2011-09-21 19:10:46 +02:00
Bram Moolenaar ce41316357 updated for version 7.3.320
Problem:    When a 0xa0 character is in a sourced file the error message for
	    unrecognized command does not show the problem.
Solution:   Display 0xa0 as <a0>.
2011-09-21 19:10:46 +02:00
Bram Moolenaar 7b66728522 Added tag v7-3-319 for changeset dc7f2f975920 2011-09-21 18:23:05 +02:00
Bram Moolenaar 9484026b5f updated for version 7.3.319
Problem:    Redobuff doesn't always include changes of the completion leader.
Solution:   Insert backspaces as needed. (idea by Taro Muraoka)
2011-09-21 18:23:05 +02:00
Bram Moolenaar 43dc546e05 Added tag v7-3-318 for changeset d68f20a86a3e 2011-09-21 17:33:53 +02:00
Bram Moolenaar 811ca11441 updated for version 7.3.318
Problem:    "C" on the last line deletes that line if it's blank.
Solution:   Only delete the last line for a delete operation. (James Vega)
2011-09-21 17:33:53 +02:00
Bram Moolenaar ff682f8240 Added tag v7-3-317 for changeset 92a181a1cec3 2011-09-21 17:15:39 +02:00
Bram Moolenaar 21743328d5 updated for version 7.3.317
Problem:    Calling debug.debug() in Lua may cause Vim to hang.
Solution:   Add a better debug method. (Rob Hoelz, Luis Carvalho)
2011-09-21 17:15:39 +02:00
Bram Moolenaar c972a5f2f6 Added tag v7-3-316 for changeset 33c140e4664d 2011-09-21 13:40:17 +02:00
Bram Moolenaar c9cd0464d2 updated for version 7.3.316
Problem:    Crash when 'colorcolumn' is set and closing buffer.
Solution:   Check for w_buffer to be NULL. (Yasuhiro Matsumoto)
2011-09-21 13:40:17 +02:00
Bjorn Winckler 095821635f Regenerate configure scripts 2011-09-20 18:34:14 +02:00
Nikola Knezevic bea5e3c0d8 Fix a building problem with perl 5.14.1 on Mac OS X
When building on a Mac OS X with perl 5.14.1 set as the system default,
generating if_perl.c fails with a message about undefined method:

Undefined subroutine &ExtUtils::ParseXS::errors called at [snip] line 41.

The problem occurs because Makefile uses xsubpp from perl's lib
directory. Problem goes away if Makefile uses xsubpp from site_lib. This
patch enables detecting the site_lib location, and using that xsubpp.
2011-09-20 18:29:36 +02:00
Tim Oxley 907403411b Noted --help param to reduce initial confusion 2011-09-19 20:27:42 +02:00
1037 changed files with 111985 additions and 46439 deletions
+3
View File
@@ -24,8 +24,11 @@ src/MacVim/PSMTabBarControl/build
src/MacVim/build
src/TAGS
src/Vim
src/auto/config.cache
src/auto/config.h
src/auto/config.log
src/auto/config.mk
src/auto/config.status
src/auto/if_perl.c
src/auto/link.log
src/auto/link.sed
+8
View File
@@ -32,22 +32,30 @@ src/auto/pathdef.c
*.suo
*.res
*.RES
src/if_perl.c
src/pathdef.c
src/Obj*/pathdef.c
gvimext.dll
gvimext.lib
# Mac OSX
src/xxd/xxd.dSYM
# All platforms
*.rej
*.orig
*.mo
*.swp
*~
*.pyc
src/po/vim.pot
# Generated by "make test"
src/po/*.ck
src/testdir/mbyte.vim
src/testdir/mzscheme.vim
src/testdir/lua.vim
src/testdir/small.vim
src/testdir/tiny.vim
src/testdir/test*.out
src/testdir/test.log
+1095
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
messages, shows current file name in window title, on-line
help, rectangular cut/paste, etc., etc., etc...
Version 7.3. Also runs under UNIX, MSDOS and other systems.
vim73rt.tgz contains the documentation and syntax files.
vim73bin.tgz contains the binaries.
vim73src.tgz contains the sources.
Version 7.4. Also runs under UNIX, MSDOS and other systems.
vim74rt.tgz contains the documentation and syntax files.
vim74bin.tgz contains the binaries.
vim74src.tgz contains the sources.
Author: Bram Moolenaar et al.
+37 -2
View File
@@ -57,6 +57,7 @@ SRC_ALL = \
src/popupmnu.c \
src/quickfix.c \
src/regexp.c \
src/regexp_nfa.c \
src/regexp.h \
src/screen.c \
src/search.c \
@@ -73,6 +74,7 @@ SRC_ALL = \
src/version.c \
src/version.h \
src/vim.h \
src/winclip.c \
src/window.c \
src/xxd/xxd.c \
src/main.aap \
@@ -81,6 +83,16 @@ SRC_ALL = \
src/testdir/test[0-9]*.ok \
src/testdir/test49.vim \
src/testdir/test60.vim \
src/testdir/test83-tags? \
src/testdir/python2/*.py \
src/testdir/python3/*.py \
src/testdir/pythonx/*.py \
src/testdir/pythonx/topmodule/__init__.py \
src/testdir/pythonx/topmodule/submodule/__init__.py \
src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py \
src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py \
src/testdir/python_after/*.py \
src/testdir/python_before/*.py \
src/proto.h \
src/proto/blowfish.pro \
src/proto/buffer.pro \
@@ -129,6 +141,7 @@ SRC_ALL = \
src/proto/ui.pro \
src/proto/undo.pro \
src/proto/version.pro \
src/proto/winclip.pro \
src/proto/window.pro \
@@ -260,6 +273,7 @@ SRC_DOS = \
src/Make_mvc.mak \
src/Make_w16.mak \
src/bigvim.bat \
src/bigvim64.bat \
src/msvcsetup.bat \
src/msvc2008.bat \
src/msvc2010.bat \
@@ -313,6 +327,7 @@ SRC_DOS = \
src/xxd/Make_bc5.mak \
src/xxd/Make_cyg.mak \
src/xxd/Make_djg.mak \
src/xxd/Make_ming.mak \
src/xxd/Make_mvc.mak \
nsis/gvim.nsi \
nsis/README.txt \
@@ -347,6 +362,13 @@ SRC_DOS_BIN = \
src/vim*.ico \
src/vim.tlb \
src/vimtbar.lib \
src/xpm/COPYRIGHT \
src/xpm/README.txt \
src/xpm/include/*.h \
src/xpm/x64/lib/libXpm.a \
src/xpm/x64/lib/libXpm.lib \
src/xpm/x86/lib/libXpm.a \
src/xpm/x86/lib/libXpm.lib \
src/vimtbar.dll \
nsis/icons/*.bmp \
nsis/icons/*.ico \
@@ -434,6 +456,7 @@ SRC_EXTRA = \
src/os_beos.c \
src/os_beos.h \
src/os_beos.rsrc \
src/proto/os_beos.pro \
src/os_mint.h \
src/os_vms_fix.com \
src/toolbar.phi \
@@ -461,6 +484,7 @@ RT_ALL = \
runtime/macros/hanoi/hanoi.vim \
runtime/macros/hanoi/poster \
runtime/macros/justify.vim \
runtime/macros/less.bat \
runtime/macros/less.sh \
runtime/macros/less.vim \
runtime/macros/life/click.me \
@@ -664,10 +688,13 @@ EXTRA = \
# generic language files
LANG_GEN = \
runtime/doc/*-de.1 \
runtime/doc/*-de.UTF-8.1 \
runtime/doc/*-fr.1 \
runtime/doc/*-fr.UTF-8.1 \
runtime/doc/*-it.1 \
runtime/doc/*-it.UTF-8.1 \
runtime/doc/*-ja.UTF-8.1 \
runtime/doc/*-pl.1 \
runtime/doc/*-pl.UTF-8.1 \
runtime/doc/*-ru.1 \
@@ -680,9 +707,17 @@ LANG_GEN = \
runtime/tutor/Makefile \
runtime/tutor/tutor.utf-8 \
runtime/tutor/tutor.?? \
runtime/tutor/tutor.??.* \
runtime/tutor/tutor.??.utf-8 \
runtime/tutor/tutor.??.euc \
runtime/tutor/tutor.??.sjis \
runtime/tutor/tutor.??.iso9 \
runtime/tutor/tutor.??.big5 \
runtime/tutor/tutor.??.cp1250 \
runtime/tutor/tutor.??.cp1251 \
runtime/tutor/tutor.??.cp737 \
runtime/tutor/tutor.??_??.utf-8 \
runtime/tutor/tutor.bar \
runtime/tutor/tutor.bar.* \
runtime/tutor/tutor.bar.utf-8 \
runtime/spell/README.txt \
runtime/spell/??/*.diff \
runtime/spell/??/main.aap \
+67 -47
View File
@@ -74,14 +74,17 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
# Before creating an archive first delete all backup files, *.orig, etc.
MAJOR = 7
MINOR = 3
MINOR = 4
# Uncomment this line if the Win32s version is to be included.
DOSBIN_S = dosbin_s
# DOSBIN_S = dosbin_s
# Uncomment this line if the 16 bit DOS version is to be included.
# DOSBIN_D16 = dosbin_d16
# Uncomment this line if the 32 bit DOS version is to be included.
# DOSBIN_D32 = dosbin_d32
# CHECKLIST for creating a new version:
#
# - Update Vim version number. For a test version in: src/version.h, Contents,
@@ -89,8 +92,6 @@ DOSBIN_S = dosbin_s
# runtime/doc/*.txt and nsis/gvim.nsi. Other things in README_os2.txt. For a
# minor/major version: src/GvimExt/GvimExt.reg, src/vim.def, src/vim16.def,
# src/gvim.exe.mnf.
# - Adjust the date and other info in src/version.h.
# - Correct included_patches[] in src/version.c.
# - Compile Vim with GTK, Perl, Python, Python3, TCL, Ruby, MZscheme, Lua (if
# you can make it all work), Cscope and "huge" features. Exclude workshop
# and SNiFF.
@@ -99,8 +100,14 @@ DOSBIN_S = dosbin_s
# - With these features: "make depend" (works best with gcc).
# - If you have a lint program: "make lint" and check the output (ignore GTK
# warnings).
# - Enable the efence library in "src/Makefile" and run "make test". Disable
# Python and Ruby to avoid trouble with threads (efence is not threadsafe).
# - If you have valgrind, enable it in src/testdir/Makefile and run "make
# test". Enable EXITFREE, disable GUI, scheme and tcl to avoid false alarms.
# Check the valgrind output.
# - If you have the efence library, enable it in "src/Makefile" and run "make
# test". Disable Python and Ruby to avoid trouble with threads (efence is
# not threadsafe).
# - Adjust the date and other info in src/version.h.
# - Correct included_patches[] in src/version.c.
# - Check for missing entries in runtime/makemenu.vim (with checkmenu script).
# - Check for missing options in runtime/optwin.vim et al. (with check.vim).
# - Do "make menu" to update the runtime/synmenu.vim file.
@@ -108,8 +115,8 @@ DOSBIN_S = dosbin_s
# - Check that runtime/doc/help.txt doesn't contain entries in "LOCAL
# ADDITIONS".
# - In runtime/doc run "make" and "make html" to check for errors.
# - Check if src/Makefile and src/feature.h don't contain any personal
# preferences or the GTK, Perl, etc. mentioned above.
# - Check if src/Makefile, src/testdir/Makefile and src/feature.h don't contain
# any personal preferences or the changes mentioned above.
# - Check file protections to be "644" for text and "755" for executables (run
# the "check" script).
# - Check compiling on Amiga, MS-DOS and MS-Windows.
@@ -128,36 +135,20 @@ DOSBIN_S = dosbin_s
# PC:
# - Run make on Unix to update the ".mo" files.
# - "make dossrc" and "make dosrt". Unpack the archives on a PC.
# 16 bit DOS version: (OBSOLETE, 16 bit version doesn't build)
# - Set environment for compiling with Borland C++ 3.1.
# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
# case set environment for compiling with Borland C++ 4.0 and do
# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
# NOTE: this currently fails because Vim is too big.
# - "make test" and check the output.
# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
# "uninstald16.exe".
# 32 bit DOS version:
# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for
# "ALL DONE".
# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
# "uninstald32.exe".
# Win32 console version:
# - Set environment for Visual C++ 2008, e.g.:
# "E:\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat". Or, when using the
# Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the paths when necessary).
# For Windows 98/ME the 2003 version is required, but then it won't work on
# Windows 7 and 64 bit.
# - "nmake -f Make_mvc.mak"
# - Set environment for Visual C++ 2008, e.g.: "msvc2008.bat" Or:
# "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat".
# Or, when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the
# paths when necessary).
# For Windows 98/ME the 2003 version is required, but then the executable
# won't work on Windows 7 and 64 bit systems.
# - "nmake -f Make_mvc.mak" (use the same path as for vcvars32.bat)
# - "rm testdir/*.out", "nmake -f Make_mvc.mak test" and check the output.
# - Rename the executables to "vimw32.exe", "xxdw32.exe".
# - Rename vim.exe to vimw32.exe, xxd/xxd.exe to xxdw32.exe.
# - Rename vim.pdb to vimw32.pdb.
# - When building the Win32s version later, delete vimrun.exe, install.exe and
# uninstal.exe. Otherwise rename executables to installw32.exe and
# uninstalw32.exe.
# - Rename install.exe to installw32.exe and uninstal.exe to uninstalw32.exe.
# Win32 GUI version:
# - "nmake -f Make_mvc.mak GUI=yes.
# - "nmake -f Make_mvc.mak GUI=yes"
# - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
# - Move gvim.pdb to here.
# - Delete vimrun.exe, install.exe and uninstal.exe.
@@ -167,23 +158,13 @@ DOSBIN_S = dosbin_s
# - Rename "gvim.exe" to "gvim_ole.exe".
# - Rename gvim.pdb to "gvim_ole.pdb".
# - Delete install.exe and uninstal.exe.
# - If building the Win32s version delete vimrun.exe.
# Win32s GUI version:
# - Set environment for Visual C++ 4.1 (requires a new console window):
# "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin)
# - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1)
# - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1)
# - Rename "gvim.exe" to "gvim_w32s.exe".
# - Rename "install.exe" to "installw32.exe"
# - Rename "uninstal.exe" to "uninstalw32.exe"
# - The produced uninstalw32.exe and vimrun.exe are used.
# Create the archives:
# - Copy all the "*.exe" files to where this Makefile is.
# - Copy all the "*.pdb" files to where this Makefile is.
# - "make dosbin".
# NSIS self installing exe:
# - To get NSIS see http://nsis.sourceforge.net
# - Make sure gvim_ole.exe, vimd32.exe, vimw32.exe, installw32.exe,
# - Make sure gvim_ole.exe, vimw32.exe, installw32.exe,
# uninstalw32.exe and xxdw32.exe have been build as mentioned above.
# - copy these files (get them from a binary archive or build them):
# gvimext.dll in src/GvimExt
@@ -196,7 +177,44 @@ DOSBIN_S = dosbin_s
# - go to ../nsis and do "makensis gvim.nsi" (takes a few minutes).
# - Copy gvim##.exe to the dist directory.
#
# OS/2: (OBSOLETE, OS/2 version is no longer distributed)
# 64 bit builds (these are not in the normal distribution, the 32 bit build
# works just fine on 64 bit systems).
# Like the console and GUI version, but first run vcvars64.bat or
# "..\VC\vcvarsall.bat x86_amd64".
# - "nmake -f Make_mvc.mak"
# - "nmake -f Make_mvc.mak GUI=yes"
# Or run src/bigvim64.bat for an OLE version.
#
# OBSOLETE systems: You can build this if you have an appropriate system.
#
# 16 bit DOS version: (doesn't build anywhere)
# - Set environment for compiling with Borland C++ 3.1.
# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
# case set environment for compiling with Borland C++ 4.0 and do
# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
# NOTE: this currently fails because Vim is too big.
# - "make test" and check the output.
# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
# "uninstald16.exe".
#
# 32 bit DOS version: (requires Windows XP or earlier)
# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for
# "ALL DONE".
# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
# "uninstald32.exe".
#
# Win32s GUI version: (requires very old compiler)
# - Set environment for Visual C++ 4.1 (requires a new console window):
# "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin)
# - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1)
# - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1)
# - Rename "gvim.exe" to "gvim_w32s.exe".
# - Rename "install.exe" to "installw32.exe"
# - Rename "uninstal.exe" to "uninstalw32.exe"
# - The produced uninstalw32.exe and vimrun.exe are used.
#
# OS/2: (requires an OS/2 system)
# - Unpack the Unix archive.
# - "make -f Make_os2.mak".
# - Rename the executables to vimos2.exe, xxdos2.exe and teeos2.exe and copy
@@ -295,6 +313,8 @@ unixall: dist prepare
$(LANG_SRC) \
| (cd dist/$(VIMRTDIR); tar xf -)
# Need to use a "distclean" config.mk file
# Note: this file is not included in the repository to avoid problems, but it's
# OK to put it in the archive.
cp -f src/config.mk.dist dist/$(VIMRTDIR)/src/auto/config.mk
# Create an empty config.h file, make dependencies require it
touch dist/$(VIMRTDIR)/src/auto/config.h
@@ -450,7 +470,7 @@ runtime_unix2dos: dosrt_unix2dos
cd dist/vim/$(VIMRTDIR); tar cf - * \
| (cd ../../../runtime/dos; tar xf -)
dosbin: prepare dosbin_gvim dosbin_w32 dosbin_d32 dosbin_ole $(DOSBIN_S) $(DOSBIN_D16)
dosbin: prepare dosbin_gvim dosbin_w32 $(DOSBIN_D32) dosbin_ole $(DOSBIN_S) $(DOSBIN_D16)
# make Win32 gvim
dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
+6 -4
View File
@@ -1,4 +1,4 @@
README.txt for version 7.3 of Vim: Vi IMproved.
README.txt for version 7.4 of Vim: Vi IMproved.
WHAT IS VIM
@@ -97,10 +97,12 @@ The latest news about Vim can be found on the Vim home page:
If you have problems, have a look at the Vim FAQ:
http://vimdoc.sf.net/vimfaq.html
Send bug reports to:
Bram Moolenaar <Bram@vim.org>
If you still have problems or any other questions, use one of the mailing
lists to discuss them with Vim users and developers:
http://www.vim.org/maillist.php
There are several mailing lists for Vim, see http://www.vim.org/maillist.php.
If nothing else works, report bugs directly:
Bram Moolenaar <Bram@vim.org>
MAIN AUTHOR
+1 -1
View File
@@ -1,4 +1,4 @@
README_ami.txt for version 7.3 of Vim: Vi IMproved.
README_ami.txt for version 7.4 of Vim: Vi IMproved.
This file explains the installation of Vim on Amiga systems.
See README.txt for general information about Vim.
+1 -1
View File
@@ -1,4 +1,4 @@
README_amibin.txt for version 7.3 of Vim: Vi IMproved.
README_amibin.txt for version 7.4 of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga.
+1 -1
View File
@@ -1,4 +1,4 @@
README_amisrc.txt for version 7.3 of Vim: Vi IMproved.
README_amisrc.txt for version 7.4 of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga.
+7 -10
View File
@@ -1,19 +1,16 @@
README_bindos.txt for version 7.3 of Vim: Vi IMproved.
README_bindos.txt for version 7.4 of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
These files are in the runtime archive (vim73rt.zip).
These files are in the runtime archive (vim74rt.zip).
There are several binary distributions of Vim for the PC. You would normally
pick only one of them, but it's also possible to install several.
These ones are available (the version number may differ):
vim73d16.zip 16 bit DOS version
vim73d32.zip 32 bit DOS version
vim73w32.zip Windows 95/98/NT/etc. console version
gvim73.zip Windows 95/98/NT/etc. GUI version
gvim73ole.zip Windows 95/98/NT/etc. GUI version with OLE
gvim73_s.zip Windows 3.1 GUI version
vim74w32.zip Windows 95/98/NT/etc. console version
gvim74.zip Windows 95/98/NT/etc. GUI version
gvim74ole.zip Windows 95/98/NT/etc. GUI version with OLE
You MUST also get the runtime archive (vim73rt.zip).
The sources are also available (vim73src.zip).
You MUST also get the runtime archive (vim74rt.zip).
The sources are also available (vim74src.zip).
+17 -17
View File
@@ -1,4 +1,4 @@
README_dos.txt for version 7.3 of Vim: Vi IMproved.
README_dos.txt for version 7.4 of Vim: Vi IMproved.
This file explains the installation of Vim on MS-DOS and MS-Windows systems.
See "README.txt" for general information about Vim.
@@ -47,13 +47,13 @@ These are the normal steps to install Vim from the .zip archives:
Binary and runtime Vim archives are normally unpacked in the same location,
on top of each other.
2. Unpack the zip archives. This will create a new directory "vim\vim73",
2. Unpack the zip archives. This will create a new directory "vim\vim74",
in which all the distributed Vim files are placed. Since the directory
name includes the version number, it is unlikely that you overwrite
existing files.
Examples:
pkunzip -d gvim73.zip
unzip vim73w32.zip
pkunzip -d gvim74.zip
unzip vim74w32.zip
You need to unpack the runtime archive and at least one of the binary
archives. When using more than one binary version, be careful not to
@@ -69,7 +69,7 @@ These are the normal steps to install Vim from the .zip archives:
archive and follow the instructions in the documentation.
3. Change to the new directory:
cd vim\vim73
cd vim\vim74
Run the "install.exe" program. It will ask you a number of questions about
how you would like to have your Vim setup. Among these are:
- You can tell it to write a "_vimrc" file with your preferences in the
@@ -80,8 +80,8 @@ These are the normal steps to install Vim from the .zip archives:
console or in a shell. You can select one of the directories in your
$PATH. If you skip this, you can add Vim to the search path manually:
The simplest is to add a line to your autoexec.bat. Examples:
set path=%path%;C:\vim\vim73
set path=%path%;D:\editors\vim\vim73
set path=%path%;C:\vim\vim74
set path=%path%;D:\editors\vim\vim74
- Create entries for Vim on the desktop and in the Start menu.
That's it!
@@ -93,8 +93,8 @@ Remarks:
won't show a menubar. Then you need to set the $VIM environment variable to
point to the top directory of your Vim files. Example:
set VIM=C:\editors\vim
Vim version 7.3 will look for your vimrc file in $VIM, and for the runtime
files in $VIM/vim73. See ":help $VIM" for more information.
Vim version 7.4 will look for your vimrc file in $VIM, and for the runtime
files in $VIM/vim74. See ":help $VIM" for more information.
- To avoid confusion between distributed files of different versions and your
own modified vim scripts, it is recommended to use this directory layout:
@@ -105,14 +105,14 @@ Remarks:
C:\vim\vimfiles\ftplugin\*.vim Filetype plugins
C:\vim\... Other files you made.
Distributed files:
C:\vim\vim73\vim.exe The Vim version 7.3 executable.
C:\vim\vim73\doc\*.txt The version 7.3 documentation files.
C:\vim\vim73\bugreport.vim A Vim version 7.3 script.
C:\vim\vim73\... Other version 7.3 distributed files.
C:\vim\vim74\vim.exe The Vim version 7.4 executable.
C:\vim\vim74\doc\*.txt The version 7.4 documentation files.
C:\vim\vim74\bugreport.vim A Vim version 7.4 script.
C:\vim\vim74\... Other version 7.4 distributed files.
In this case the $VIM environment variable would be set like this:
set VIM=C:\vim
Then $VIMRUNTIME will automatically be set to "$VIM\vim73". Don't add
"vim73" to $VIM, that won't work.
Then $VIMRUNTIME will automatically be set to "$VIM\vim74". Don't add
"vim74" to $VIM, that won't work.
- You can put your Vim executable anywhere else. If the executable is not
with the other Vim files, you should set $VIM. The simplest is to add a line
@@ -136,8 +136,8 @@ Remarks:
Select Properties.
5. In the Program tab, change the "Cmdline" to add "/c" and the name of the
Vim executable. Examples:
C:\command.com /c C:\vim\vim73\vim.exe
C:\command.com /c D:\editors\vim\vim73\vim.exe
C:\command.com /c C:\vim\vim74\vim.exe
C:\command.com /c D:\editors\vim\vim74\vim.exe
6. Select the font, window size, etc. that you like. If this isn't
possible, select "Advanced" in the Program tab, and deselect "MS-DOS
mode".
+1 -1
View File
@@ -1,4 +1,4 @@
README_extra.txt for version 7.3 of Vim: Vi IMproved.
README_extra.txt for version 7.4 of Vim: Vi IMproved.
These extra files of Vim are for special purposes. This README explains what
the files are for. For general information about Vim, see the "README.txt"
+3 -2
View File
@@ -1,4 +1,4 @@
README_mac.txt for version 7.3 of Vim: Vi IMproved.
README_mac.txt for version 7.4 of Vim: Vi IMproved.
This file explains the installation of MacVim.
See "README.txt" for general information about Vim.
@@ -12,7 +12,8 @@ install in (usually `/Applications').
How to build and install
========================
Run `./configure` in the `src/` directory with the flags you want, e.g.:
Run `./configure` in the `src/` directory with the flags you want (call
`./configure --help` to see a list of flags) e.g.:
$ cd src
$ ./configure --with-features=huge \
+1 -1
View File
@@ -1,4 +1,4 @@
README_ole.txt for version 7.3 of Vim: Vi IMproved.
README_ole.txt for version 7.4 of Vim: Vi IMproved.
This archive contains gvim.exe with OLE interface and VisVim.
This version of gvim.exe can also load a number of interface dynamically (you
+12 -12
View File
@@ -1,32 +1,32 @@
README_os2.txt for version 7.3 of Vim: Vi IMproved.
README_os2.txt for version 7.4 of Vim: Vi IMproved.
This file explains the installation of Vim on OS/2 systems.
See "README.txt" for general information about Vim.
NOTE: You will need two archives:
vim73rt.zip contains the runtime files (same as for the PC version)
vim73os2.zip contains the OS/2 executables
vim74rt.zip contains the runtime files (same as for the PC version)
vim74os2.zip contains the OS/2 executables
1. Go to the directory where you want to put the Vim files. Examples:
cd C:\
cd D:\editors
2. Unpack the zip archives. This will create a new directory "vim/vim73",
2. Unpack the zip archives. This will create a new directory "vim/vim74",
in which all the distributed Vim files are placed. Since the directory
name includes the version number, it is unlikely that you overwrite
existing files.
Examples:
pkunzip -d vim73os2.zip
unzip vim73os2.zip
pkunzip -d vim74os2.zip
unzip vim74os2.zip
After you unpacked the files, you can still move the whole directory tree
to another location.
3. Add the directory where vim.exe is to your path. The simplest is to add a
line to your autoexec.bat. Examples:
set path=%path%;C:\vim\vim73
set path=%path%;D:\editors\vim\vim73
set path=%path%;C:\vim\vim74
set path=%path%;D:\editors\vim\vim74
That's it!
@@ -41,10 +41,10 @@ Extra remarks:
C:\vim\_viminfo Dynamic info for 'viminfo'.
C:\vim\... Other files you made.
Distributed files:
C:\vim\vim73\vim.exe The Vim version 7.3 executable.
C:\vim\vim73\doc\*.txt The version 7.3 documentation files.
C:\vim\vim73\bugreport.vim A Vim version 7.3 script.
C:\vim\vim73\... Other version 7.3 distributed files.
C:\vim\vim74\vim.exe The Vim version 7.4 executable.
C:\vim\vim74\doc\*.txt The version 7.4 documentation files.
C:\vim\vim74\bugreport.vim A Vim version 7.4 script.
C:\vim\vim74\... Other version 7.4 distributed files.
In this case the $VIM environment variable would be set like this:
set VIM=C:\vim
+3 -3
View File
@@ -1,4 +1,4 @@
README_zOS.txt for version 7.3 of Vim: Vi IMproved.
README_zOS.txt for version 7.4 of Vim: Vi IMproved.
This readme explains how to build Vim on z/OS. Formerly called OS/390.
See "README.txt" for general information about Vim.
@@ -29,7 +29,7 @@ console version).
Compiling:
==========
Vim can be compiled with or without GUI support. For 7.3 only the compilation
Vim can be compiled with or without GUI support. For 7.4 only the compilation
without GUI was tested. Below is a section about compiling with X11 but this
is from an earlier version of Vim.
@@ -78,7 +78,7 @@ Change to the vim directory and do:
With X11:
---------
WARNING: This instruction was not tested with Vim 7.3.
WARNING: This instruction was not tested with Vim 7.4.
There are two ways for building VIM with X11 support. The first way is simple
and results in a big executable (~13 Mb), the second needs a few additional
+3 -5
View File
@@ -1,10 +1,8 @@
README_src.txt for version 7.3 of Vim: Vi IMproved.
README_src.txt for version 7.4 of Vim: Vi IMproved.
The source archive contains the files needed to compile Vim on Unix systems.
It is packed for Unix systems (NL line separator). It is also used for other
systems in combination with the extra archive (vim-7.3-extra.tar.gz, in the
"extra" directory of ftp.vim.org).
It is packed for Unix systems (NL line separator).
For more information, see the README.txt file that comes with the runtime
archive (vim-7.3-rt.tar.gz). To be able to run Vim you MUST get the runtime
archive (vim-7.4-rt.tar.gz). To be able to run Vim you MUST get the runtime
archive too!
+2 -2
View File
@@ -1,8 +1,8 @@
README_srcdos.txt for version 7.3 of Vim: Vi IMproved.
README_srcdos.txt for version 7.4 of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
These files are in the runtime archive (vim73rt.zip).
These files are in the runtime archive (vim74rt.zip).
The DOS source archive contains the files needed to compile Vim on MS-DOS or
+1 -1
View File
@@ -1,4 +1,4 @@
README_unix.txt for version 7.3 of Vim: Vi IMproved.
README_unix.txt for version 7.4 of Vim: Vi IMproved.
This file explains the installation of Vim on Unix systems.
See "README.txt" for general information about Vim.
+1 -1
View File
@@ -1,4 +1,4 @@
README_vms.txt for version 7.3 of Vim: Vi IMproved.
README_vms.txt for version 7.4 of Vim: Vi IMproved.
This file explains the installation of Vim on VMS systems.
See "README.txt" in the runtime archive for information about Vim.
+1 -1
View File
@@ -1,4 +1,4 @@
README_w32s.txt for version 7.3 of Vim: Vi IMproved.
README_w32s.txt for version 7.4 of Vim: Vi IMproved.
This archive contains the gvim.exe that was specifically compiled for use in
the Win32s subsystem in MS-Windows 3.1 and 3.11.
+8 -6
View File
@@ -5,7 +5,7 @@
# WARNING: if you make changes to this script, look out for $0 to be valid,
# because uninstall deletes most files in $0.
# Location of gvim_ole.exe, vimd32.exe, GvimExt/*, etc.
# Location of gvim_ole.exe, vimw32.exe, GvimExt/*, etc.
!define VIMSRC "..\src"
# Location of runtime files
@@ -22,7 +22,7 @@
!define HAVE_NLS
!define VER_MAJOR 7
!define VER_MINOR 3
!define VER_MINOR 4
# ----------- No configurable settings below this line -----------
@@ -40,7 +40,7 @@ RequestExecutionLevel highest
ComponentText "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer."
DirText "Choose a directory to install Vim (must end in 'vim')"
Icon icons\vim_16c.ico
# NSIS2 uses a different strategy with six diferent images in a strip...
# NSIS2 uses a different strategy with six different images in a strip...
#EnabledBitmap icons\enabled.bmp
#DisabledBitmap icons\disabled.bmp
UninstallText "This will uninstall Vim ${VER_MAJOR}.${VER_MINOR} from your system."
@@ -56,6 +56,9 @@ LicenseData ${VIMRT}\doc\uganda.nsis.txt
!packhdr temp.dat "upx --best --compress-icons=1 temp.dat"
!endif
SetCompressor /SOLID lzma
XPStyle on
# This adds '\vim' to the user choice automagically. The actual value is
# obtained below with ReadINIStr.
InstallDir "$PROGRAMFILES\Vim"
@@ -247,11 +250,10 @@ Section "Vim console program (vim.exe)"
ReadRegStr $R0 HKLM \
"SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
IfErrors 0 lbl_winnt
# Windows 95/98/ME
File /oname=vim.exe ${VIMSRC}\vimd32.exe
# Windows 95/98/ME: not supported
Goto lbl_done
lbl_winnt:
# Windows NT/2000/XT
# Windows NT/2000/XP and later
File /oname=vim.exe ${VIMSRC}\vimw32.exe
lbl_done:
StrCpy $2 "$2 vim view vimdiff"
+5
View File
@@ -29,6 +29,8 @@
if version < 700
finish
endif
let s:keepcpo= &cpo
set cpo&vim
" Section: Constants {{{1
"
@@ -619,6 +621,9 @@ lockvar g:ada#Comment
lockvar! g:ada#Keywords
lockvar! g:ada#Ctags_Kinds
let &cpo = s:keepcpo
unlet s:keepcpo
finish " 1}}}
"------------------------------------------------------------------------------
+7 -2
View File
@@ -1,8 +1,10 @@
" Vim completion script
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2010 Mar 23
" Last Change: 2012 Jun 20
let s:cpo_save = &cpo
set cpo&vim
" This function is used for the 'omnifunc' option.
function! ccomplete#Complete(findstart, base)
@@ -498,7 +500,7 @@ function! s:StructMembers(typename, items, all)
endif
if !cached
while 1
exe 'silent! ' . n . 'vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames
exe 'silent! keepj noautocmd ' . n . 'vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames
let qflist = getqflist()
if len(qflist) > 0 || match(typename, "::") < 0
@@ -603,3 +605,6 @@ function! s:SearchMembers(matches, items, all)
endfor
return res
endfunc
let &cpo = s:cpo_save
unlet s:cpo_save
File diff suppressed because one or more lines are too long
+27 -10
View File
@@ -1,8 +1,8 @@
" ---------------------------------------------------------------------
" getscript.vim
" Author: Charles E. Campbell, Jr.
" Date: May 31, 2011
" Version: 33
" Author: Charles E. Campbell
" Date: Apr 17, 2013
" Version: 35
" Installing: :help glvs-install
" Usage: :help glvs
"
@@ -15,7 +15,7 @@
if exists("g:loaded_getscript")
finish
endif
let g:loaded_getscript= "v33"
let g:loaded_getscript= "v35"
if &cp
echoerr "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
finish
@@ -74,6 +74,11 @@ if !exists("g:GetLatestVimScripts_allowautoinstall")
let g:GetLatestVimScripts_allowautoinstall= 1
endif
" set up default scriptaddr address
if !exists("g:GetLatestVimScripts_scriptaddr")
let g:GetLatestVimScripts_scriptaddr = 'http://vim.sourceforge.net/script.php?script_id='
endif
"" For debugging:
"let g:GetLatestVimScripts_wget = "echo"
"let g:GetLatestVimScripts_options = "options"
@@ -314,7 +319,7 @@ fun! getscript#GetLatestVimScripts()
if &mod
silent! w!
endif
q
q!
" restore events and current directory
exe "cd ".fnameescape(substitute(origdir,'\','/','ge'))
@@ -415,7 +420,7 @@ fun! s:GetOneScript(...)
echo 'considering <'.aicmmnt.'> scriptid='.scriptid.' srcid='.srcid
" grab a copy of the plugin's vim.sourceforge.net webpage
let scriptaddr = 'http://vim.sourceforge.net/script.php?script_id='.scriptid
let scriptaddr = g:GetLatestVimScripts_scriptaddr.scriptid
let tmpfile = tempname()
let v:errmsg = ""
@@ -550,30 +555,42 @@ fun! s:GetOneScript(...)
" decompress
if sname =~ '\.bz2$'
" call Decho("decompress: attempt to bunzip2 ".sname)
exe "silent !bunzip2 ".shellescape(sname)
exe "sil !bunzip2 ".shellescape(sname)
let sname= substitute(sname,'\.bz2$','','')
" call Decho("decompress: new sname<".sname."> after bunzip2")
elseif sname =~ '\.gz$'
" call Decho("decompress: attempt to gunzip ".sname)
exe "silent !gunzip ".shellescape(sname)
exe "sil !gunzip ".shellescape(sname)
let sname= substitute(sname,'\.gz$','','')
" call Decho("decompress: new sname<".sname."> after gunzip")
elseif sname =~ '\.xz$'
" call Decho("decompress: attempt to unxz ".sname)
exe "silent !unxz ".shellescape(sname)
exe "sil !unxz ".shellescape(sname)
let sname= substitute(sname,'\.xz$','','')
" call Decho("decompress: new sname<".sname."> after unxz")
else
" call Decho("no decompression needed")
endif
" distribute archive(.zip, .tar, .vba) contents
" distribute archive(.zip, .tar, .vba, ...) contents
if sname =~ '\.zip$'
" call Decho("dearchive: attempt to unzip ".sname)
exe "silent !unzip -o ".shellescape(sname)
elseif sname =~ '\.tar$'
" call Decho("dearchive: attempt to untar ".sname)
exe "silent !tar -xvf ".shellescape(sname)
elseif sname =~ '\.tgz$'
" call Decho("dearchive: attempt to untar+gunzip ".sname)
exe "silent !tar -zxvf ".shellescape(sname)
elseif sname =~ '\.taz$'
" call Decho("dearchive: attempt to untar+uncompress ".sname)
exe "silent !tar -Zxvf ".shellescape(sname)
elseif sname =~ '\.tbz$'
" call Decho("dearchive: attempt to untar+bunzip2 ".sname)
exe "silent !tar -jxvf ".shellescape(sname)
elseif sname =~ '\.txz$'
" call Decho("dearchive: attempt to untar+xz ".sname)
exe "silent !tar -Jxvf ".shellescape(sname)
elseif sname =~ '\.vba$'
" call Decho("dearchive: attempt to handle a vimball: ".sname)
silent 1split
+2969 -1802
View File
File diff suppressed because it is too large Load Diff
+14 -13
View File
@@ -1,9 +1,9 @@
" netrwFileHandlers: contains various extension-based file handlers for
" netrw's browsers' x command ("eXecute launcher")
" Author: Charles E. Campbell, Jr.
" Date: Sep 30, 2008
" Version: 10
" Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1
" Author: Charles E. Campbell
" Date: May 03, 2013
" Version: 11b ASTRO-ONLY
" Copyright: Copyright (C) 1999-2012 Charles E. Campbell {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
@@ -20,7 +20,7 @@
if exists("g:loaded_netrwFileHandlers") || &cp
finish
endif
let g:loaded_netrwFileHandlers= "v10"
let g:loaded_netrwFileHandlers= "v11b"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of netrwFileHandlers needs vim 7.2"
@@ -34,10 +34,10 @@ set cpo&vim
" netrwFileHandlers#Invoke: {{{1
fun! netrwFileHandlers#Invoke(exten,fname)
" call Dfunc("netrwFileHandlers#Invoke(exten<".a:exten."> fname<".a:fname.">)")
let fname= a:fname
let exten= a:exten
" list of supported special characters. Consider rcs,v --- that can be
" supported with a NFH_rcsCOMMAv() handler
if a:fname =~ '[@:,$!=\-+%?;~]'
if exten =~ '[@:,$!=\-+%?;~]'
let specials= {
\ '@' : 'AT',
\ ':' : 'COLON',
@@ -51,20 +51,20 @@ fun! netrwFileHandlers#Invoke(exten,fname)
\ '?' : 'QUESTION',
\ ';' : 'SEMICOLON',
\ '~' : 'TILDE'}
let fname= substitute(a:fname,'[@:,$!=\-+%?;~]','\=specials[submatch(0)]','ge')
let exten= substitute(a:exten,'[@:,$!=\-+%?;~]','\=specials[submatch(0)]','ge')
" call Decho('fname<'.fname.'> done with dictionary')
endif
if a:exten != "" && exists("*NFH_".a:exten)
if a:exten != "" && exists("*NFH_".exten)
" support user NFH_*() functions
" call Decho("let ret= netrwFileHandlers#NFH_".a:exten.'("'.fname.'")')
exe "let ret= NFH_".a:exten.'("'.fname.'")'
elseif a:exten != "" && exists("*s:NFH_".a:exten)
exe "let ret= NFH_".exten.'("'.a:fname.'")'
elseif a:exten != "" && exists("*s:NFH_".exten)
" use builtin-NFH_*() functions
" call Decho("let ret= netrwFileHandlers#NFH_".a:exten.'("'.fname.'")')
exe "let ret= s:NFH_".a:exten.'("'.fname.'")'
exe "let ret= s:NFH_".a:exten.'("'.a:fname.'")'
endif
" call Dret("netrwFileHandlers#Invoke 0 : ret=".ret)
return 0
endfun
@@ -356,6 +356,7 @@ fun! s:NFH_obj(obj)
endfun
let &cpo= s:keepcpo
unlet s:keepcpo
" ---------------------------------------------------------------------
" Modelines: {{{1
" vim: fdm=marker
+46 -15
View File
@@ -1,8 +1,8 @@
" netrwSettings.vim: makes netrw settings simpler
" Date: Sep 03, 2008
" Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
" Version: 13
" Copyright: Copyright (C) 1999-2007 Charles E. Campbell, Jr. {{{1
" Date: May 03, 2013
" Maintainer: Charles E Campbell <drchipNOSPAM at campbellfamily dot biz>
" Version: 14a ASTRO-ONLY
" Copyright: Copyright (C) 1999-2007 Charles E. Campbell {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
@@ -19,7 +19,7 @@
if exists("g:loaded_netrwSettings") || &cp
finish
endif
let g:loaded_netrwSettings = "v13"
let g:loaded_netrwSettings = "v14a"
if v:version < 700
echohl WarningMsg
echo "***warning*** this version of netrwSettings needs vim 7.0"
@@ -63,7 +63,7 @@ fun! netrwSettings#NetrwSettings()
endif
put ='+ ---------------------------------------------'
put ='+ NetrwSettings: by Charles E. Campbell, Jr.'
put ='+ NetrwSettings: by Charles E. Campbell'
put ='+ Press <F1> with cursor atop any line for help'
put ='+ ---------------------------------------------'
let s:netrw_settings_stop= line(".")
@@ -88,6 +88,7 @@ fun! netrwSettings#NetrwSettings()
put = 'let g:netrw_ftpmode = '.g:netrw_ftpmode
put = 'let g:netrw_ignorenetrc = '.g:netrw_ignorenetrc
put = 'let g:netrw_sshport = '.g:netrw_sshport
put = 'let g:netrw_silent = '.g:netrw_silent
put = 'let g:netrw_use_nt_rcp = '.g:netrw_use_nt_rcp
put = 'let g:netrw_win95ftp = '.g:netrw_win95ftp
let s:netrw_xfer_stop= line(".")
@@ -99,51 +100,81 @@ fun! netrwSettings#NetrwSettings()
put ='+ Netrw Browser Control'
put = 'let g:netrw_alto = '.g:netrw_alto
put = 'let g:netrw_altv = '.g:netrw_altv
put = 'let g:netrw_banner = '.g:netrw_banner
if exists("g:netrw_bannerbackslash")
put = 'let g:netrw_bannerbackslash = '.g:netrw_bannerbackslash
else
put = '\" let g:netrw_bannerbackslash = (not defined)'
endif
put = 'let g:netrw_browse_split = '.g:netrw_browse_split
if exists("g:netrw_browsex_viewer")
put = 'let g:netrw_browsex_viewer = '.g:netrw_browsex_viewer
put = 'let g:netrw_browsex_viewer = '.g:netrw_browsex_viewer
else
put = 'let g:netrw_browsex_viewer = (not defined)'
put = '\" let g:netrw_browsex_viewer = (not defined)'
endif
put = 'let g:netrw_compress = '.g:netrw_compress
put = 'let g:netrw_cursorline = '.g:netrw_cursorline
if exists("g:Netrw_corehandler")
put = 'let g:Netrw_corehandler = '.g:Netrw_corehandler
else
put = '\" let g:Netrw_corehandler = (not defined)'
endif
put = 'let g:netrw_ctags = '.g:netrw_ctags
put = 'let g:netrw_cursor = '.g:netrw_cursor
let decompressline= line("$")
put ='let g:netrw_decompress...'
put = 'let g:netrw_decompress = '.string(g:netrw_decompress)
if exists("g:netrw_dynamic_maxfilenamelen")
put = 'let g:netrw_dynamic_maxfilenamelen='.g:netrw_dynamic_maxfilenamelen
else
put = '\" let g:netrw_dynamic_maxfilenamelen= (not defined)'
endif
put = 'let g:netrw_dirhistmax = '.g:netrw_dirhistmax
put = 'let g:netrw_errorlvl = '.g:netrw_errorlvl
put = 'let g:netrw_fastbrowse = '.g:netrw_fastbrowse
let fnameescline= line("$")
put = 'let g:netrw_fname_escape...'
put = 'let g:netrw_fname_escape = '.string(g:netrw_fname_escape)
put = 'let g:netrw_ftp_browse_reject = '.g:netrw_ftp_browse_reject
put = 'let g:netrw_ftp_list_cmd = '.g:netrw_ftp_list_cmd
put = 'let g:netrw_ftp_sizelist_cmd = '.g:netrw_ftp_sizelist_cmd
put = 'let g:netrw_ftp_timelist_cmd = '.g:netrw_ftp_timelist_cmd
let globescline= line("$")
put ='let g:netrw_glob_escape...'
put = 'let g:netrw_glob_escape = '.string(g:netrw_glob_escape)
put = 'let g:netrw_hide = '.g:netrw_hide
if exists("g:netrw_home")
put = 'let g:netrw_home = '.g:netrw_home
else
put = '\" let g:netrw_home = (not defined)'
endif
put = 'let g:netrw_keepdir = '.g:netrw_keepdir
put = 'let g:netrw_list_cmd = '.g:netrw_list_cmd
put = 'let g:netrw_list_hide = '.g:netrw_list_hide
put = 'let g:netrw_liststyle = '.g:netrw_liststyle
put = 'let g:netrw_localcopycmd = '.g:netrw_localcopycmd
put = 'let g:netrw_local_mkdir = '.g:netrw_local_mkdir
put = 'let g:netrw_localmkdir = '.g:netrw_localmkdir
put = 'let g:netrw_localmovecmd = '.g:netrw_localmovecmd
put = 'let g:netrw_local_rmdir = '.g:netrw_local_rmdir
put = 'let g:netrw_localrmdir = '.g:netrw_localrmdir
put = 'let g:netrw_maxfilenamelen = '.g:netrw_maxfilenamelen
put = 'let g:netrw_menu = '.g:netrw_menu
put = 'let g:netrw_mousemaps = '.g:netrw_mousemaps
put = 'let g:netrw_mkdir_cmd = '.g:netrw_mkdir_cmd
if exists("g:netrw_nobeval")
put = 'let g:netrw_nobeval = '.g:netrw_nobeval
else
put = '\" let g:netrw_nobeval = (not defined)'
endif
put = 'let g:netrw_remote_mkdir = '.g:netrw_remote_mkdir
put = 'let g:netrw_preview = '.g:netrw_preview
put = 'let g:netrw_rename_cmd = '.g:netrw_rename_cmd
put = 'let g:netrw_retmap = '.g:netrw_retmap
put = 'let g:netrw_rm_cmd = '.g:netrw_rm_cmd
put = 'let g:netrw_rmdir_cmd = '.g:netrw_rmdir_cmd
put = 'let g:netrw_rmf_cmd = '.g:netrw_rmf_cmd
put = 'let g:netrw_silent = '.g:netrw_silent
put = 'let g:netrw_sort_by = '.g:netrw_sort_by
put = 'let g:netrw_sort_direction = '.g:netrw_sort_direction
put = 'let g:netrw_sort_options = '.g:netrw_sort_options
put = 'let g:netrw_sort_sequence = '.g:netrw_sort_sequence
put = 'let g:netrw_special_syntax = '.g:netrw_special_syntax
put = 'let g:netrw_ssh_browse_reject = '.g:netrw_ssh_browse_reject
put = 'let g:netrw_ssh_cmd = '.g:netrw_ssh_cmd
put = 'let g:netrw_scpport = '.g:netrw_scpport
put = 'let g:netrw_sepchr = '.g:netrw_sepchr
put = 'let g:netrw_sshport = '.g:netrw_sshport
+5 -1
View File
@@ -1,7 +1,7 @@
" Vim completion script
" Language: PHP
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
" Last Change: 2006 May 9
" Last Change: 2011 Dec 08
"
" TODO:
" - Class aware completion:
@@ -650,6 +650,7 @@ function! phpcomplete#GetClassContents(file, name) " {{{
" this is the most efficient way. The other way
" is to go through the looong string looking for
" matching {}
let original_window = winnr()
below 1new
0put =cfile
call search('class\s\+'.a:name)
@@ -667,6 +668,9 @@ function! phpcomplete#GetClassContents(file, name) " {{{
let classcontent = join(classc, "\n")
bw! %
" go back to where we started
exe original_window.'wincmd w'
if extends_class != ''
let classlocation = phpcomplete#GetClassLocation(extends_class)
if filereadable(classlocation)
+25 -22
View File
@@ -1,9 +1,7 @@
" Vim completion script
" Language: Ruby
" Maintainer: Mark Guzman <segfault@hasno.info>
" Last Change: 2009 Sep 28
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" URL: https://github.com/vim-ruby/vim-ruby
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
" Maintainer Version: 0.8.1
" ----------------------------------------------------------------------------
@@ -12,16 +10,23 @@
" ----------------------------------------------------------------------------
" {{{ requirement checks
function! s:ErrMsg(msg)
echohl ErrorMsg
echo a:msg
echohl None
endfunction
if !has('ruby')
s:ErrMsg( "Error: Rubycomplete requires vim compiled with +ruby" )
s:ErrMsg( "Error: falling back to syntax completion" )
call s:ErrMsg( "Error: Rubycomplete requires vim compiled with +ruby" )
call s:ErrMsg( "Error: falling back to syntax completion" )
" lets fall back to syntax completion
setlocal omnifunc=syntaxcomplete#Complete
finish
endif
if version < 700
s:ErrMsg( "Error: Required vim >= 7.0" )
call s:ErrMsg( "Error: Required vim >= 7.0" )
finish
endif
" }}} requirement checks
@@ -51,12 +56,6 @@ endif
" {{{ vim-side support functions
let s:rubycomplete_debug = 0
function! s:ErrMsg(msg)
echohl ErrorMsg
echo a:msg
echohl None
endfunction
function! s:dprint(msg)
if s:rubycomplete_debug == 1
echom a:msg
@@ -133,7 +132,7 @@ function! s:GetRubyVarType(v)
let stopline = 1
let vtp = ''
let pos = getpos('.')
let sstr = '^\s*#\s*@var\s*'.a:v.'\>\s\+[^ \t]\+\s*$'
let sstr = '^\s*#\s*@var\s*'.escape(a:v, '*').'\>\s\+[^ \t]\+\s*$'
let [lnum,lcol] = searchpos(sstr,'nb',stopline)
if lnum != 0 && lcol != 0
call setpos('.',pos)
@@ -275,7 +274,7 @@ class VimRubyCompletion
pare = /^\s*class\s*(.*)\s*<\s*(.*)\s*\n/.match( classdef )
load_buffer_class( $2 ) if pare != nil && $2 != name # load parent class if needed
mixre = /.*\n\s*include\s*(.*)\s*\n/.match( classdef )
mixre = /.*\n\s*(include|prepend)\s*(.*)\s*\n/.match( classdef )
load_buffer_module( $2 ) if mixre != nil && $2 != name # load mixins if needed
begin
@@ -364,6 +363,10 @@ class VimRubyCompletion
print txt if @@debug
end
def escape_vim_singlequote_string(str)
str.to_s.gsub(/'/,"\\'")
end
def get_buffer_entity_list( type )
# this will be a little expensive.
loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
@@ -526,9 +529,9 @@ class VimRubyCompletion
end
def clean_sel(sel, msg)
sel.delete_if { |x| x == nil }
sel.uniq!
sel.grep(/^#{Regexp.quote(msg)}/) if msg != nil
ret = sel.reject{|x|x.nil?}.uniq
ret = ret.grep(/^#{Regexp.quote(msg)}/) if msg != nil
ret
end
def get_rails_view_methods
@@ -767,10 +770,10 @@ class VimRubyCompletion
constants = clean_sel( constants, message )
valid = []
valid += methods.collect { |m| { :name => m, :type => 'm' } }
valid += variables.collect { |v| { :name => v, :type => 'v' } }
valid += classes.collect { |c| { :name => c, :type => 't' } }
valid += constants.collect { |d| { :name => d, :type => 'd' } }
valid += methods.collect { |m| { :name => m.to_s, :type => 'm' } }
valid += variables.collect { |v| { :name => v.to_s, :type => 'v' } }
valid += classes.collect { |c| { :name => c.to_s, :type => 't' } }
valid += constants.collect { |d| { :name => d.to_s, :type => 'd' } }
valid.sort! { |x,y| x[:name] <=> y[:name] }
outp = ""
@@ -779,7 +782,7 @@ class VimRubyCompletion
rg.step(150) do |x|
stpos = 0+x
enpos = 150+x
valid[stpos..enpos].each { |c| outp += "{'word':'%s','item':'%s','kind':'%s'}," % [ c[:name], c[:name], c[:type] ] }
valid[stpos..enpos].each { |c| outp += "{'word':'%s','item':'%s','kind':'%s'}," % [ c[:name], c[:name], c[:type] ].map{|x|escape_vim_singlequote_string(x)} }
outp.sub!(/,$/, '')
VIM::command("call extend(g:rubycomplete_completions, [%s])" % outp)
+4 -3
View File
@@ -1,6 +1,6 @@
" Vim script to download a missing spell file
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2008 Nov 29
" Last Change: 2012 Jan 08
if !exists('g:spellfile_URL')
" Prefer using http:// when netrw should be able to use it, since
@@ -70,7 +70,7 @@ function! spellfile#LoadFile(lang)
" Remember the buffer number, we check it below.
new
let newbufnr = winbufnr(0)
setlocal bin
setlocal bin fenc=
echo 'Downloading ' . fname . '...'
call spellfile#Nread(fname)
if getline(2) !~ 'VIMspell'
@@ -83,7 +83,7 @@ function! spellfile#LoadFile(lang)
" Our buffer has vanished!? Open a new window.
echomsg "download buffer disappeared, opening a new one"
new
setlocal bin
setlocal bin fenc=
else
exe winnr . "wincmd w"
endif
@@ -120,6 +120,7 @@ function! spellfile#LoadFile(lang)
else
let dirname = escape(dirlist[dirchoice], ' ')
endif
setlocal fenc=
exe "write " . dirname . '/' . fname
" Also download the .sug file, if the user wants to.
+262 -90
View File
@@ -1,16 +1,63 @@
" Vim OMNI completion script for SQL
" Language: SQL
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
" Version: 10.0
" Last Change: 2010 Jun 11
" Version: 15.0
" Last Change: 2013 May 13
" Homepage: http://www.vim.org/scripts/script.php?script_id=1572
" Usage: For detailed help
" ":help sql.txt"
" or ":help ft-sql-omni"
" ":help sql.txt"
" or ":help ft-sql-omni"
" or read $VIMRUNTIME/doc/sql.txt
" History
"
" TODO
" - Jonas Enberg - if no table is found when using column completion
" look backwards to a FROM clause and find the first table
" and complete it.
"
" Version 15.0 (May 2013)
" - NF: Changed the SQL precached syntax items, omni_sql_precache_syntax_groups,
" to use regular expressions to pick up extended syntax group names.
" This requires an updated SyntaxComplete plugin version 13.0.
" If the required versions have not been installed, previous
" behaviour will not be impacted.
"
" Version 14.0 (Dec 2012)
" - BF: Added check for cpo
"
" Version 13.0 (Dec 2012)
" - NF: When completing column lists or drilling into a table
" and g:omni_sql_include_owner is enabled, the
" only the table name would be replaced with the column
" list instead of the table name and owner (if specified).
" - NF: When completing column lists using table aliases
" and g:omni_sql_include_owner is enabled, account
" for the owner name when looking up the table
" list instead of the table name and owner (if specified).
" - BF: When completing column lists or drilling into a table
" and g:omni_sql_include_owner is enabled, the
" column list could often not be found for the table.
" - BF: When OMNI popped up, possibly the wrong word
" would be replaced for column and column list options.
"
" Version 12.0 (Feb 2012)
" - Partial column name completion did not work when a table
" name or table alias was provided (Jonas Enberg).
" - Improved the handling of column completion. First we match any
" columns from a previous completion. If not matches are found, we
" consider the partial name to be a table or table alias for the
" query and attempt to match on it.
"
" Version 11.0 (Jan 2012)
" Added g:omni_sql_default_compl_type variable
" - You can specify which type of completion to default to
" when pressing <C-X><C-O>. The entire list of available
" choices can be found in the calls to sqlcomplete#Map in:
" ftplugin/sql.vim
"
" Version 10.0
" Updated PreCacheSyntax()
" Updated PreCacheSyntax()
" - Now returns a List of the syntax items it finds.
" This allows other plugins / scripts to use this list for their own
" purposes. In this case XPTemplate can use them for a Choose list.
@@ -18,33 +65,33 @@
" warning if not.
" - Verifies the parameters are the correct type and displays a
" warning if not.
" Updated SQLCWarningMsg()
" Updated SQLCWarningMsg()
" - Prepends warning message with SQLComplete so you know who issued
" the warning.
" Updated SQLCErrorMsg()
" Updated SQLCErrorMsg()
" - Prepends error message with SQLComplete so you know who issued
" the error.
"
" Version 9.0
"
" Version 9.0 (May 2010)
" This change removes some of the support for tables with spaces in their
" names in order to simplify the regexes used to pull out query table
" names in order to simplify the regexes used to pull out query table
" aliases for more robust table name and column name code completion.
" Full support for "table names with spaces" can be added in again
" after 7.3.
"
" Version 8.0
" Incorrectly re-executed the g:ftplugin_sql_omni_key_right and g:ftplugin_sql_omni_key_left
" Incorrectly re-executed the g:ftplugin_sql_omni_key_right and g:ftplugin_sql_omni_key_left
" when drilling in and out of a column list for a table.
"
" Version 7.0
" Version 7.0 (Jan 2010)
" Better handling of object names
"
" Version 6.0
" Version 6.0 (Apr 2008)
" Supports object names with spaces "my table name"
"
" Set completion with CTRL-X CTRL-O to autoloaded function.
" This check is in place in case this script is
" sourced directly instead of using the autoload feature.
" sourced directly instead of using the autoload feature.
if exists('&omnifunc')
" Do not set the option if already set since this
" results in an E117 warning.
@@ -54,9 +101,11 @@ if exists('&omnifunc')
endif
if exists('g:loaded_sql_completion')
finish
finish
endif
let g:loaded_sql_completion = 100
let g:loaded_sql_completion = 150
let s:keepcpo= &cpo
set cpo&vim
" Maintains filename of dictionary
let s:sql_file_table = ""
@@ -69,17 +118,19 @@ let s:tbl_alias = []
let s:tbl_cols = []
let s:syn_list = []
let s:syn_value = []
" Used in conjunction with the syntaxcomplete plugin
let s:save_inc = ""
let s:save_exc = ""
if exists('g:omni_syntax_group_include_sql')
let s:save_inc = g:omni_syntax_group_include_sql
if !exists('g:omni_syntax_group_include_sql')
let g:omni_syntax_group_include_sql = ''
endif
if exists('g:omni_syntax_group_exclude_sql')
let s:save_exc = g:omni_syntax_group_exclude_sql
if !exists('g:omni_syntax_group_exclude_sql')
let g:omni_syntax_group_exclude_sql = ''
endif
let s:save_inc = g:omni_syntax_group_include_sql
let s:save_exc = g:omni_syntax_group_exclude_sql
" Used with the column list
let s:save_prev_table = ""
@@ -90,12 +141,12 @@ endif
" Default syntax items to precache
if !exists('g:omni_sql_precache_syntax_groups')
let g:omni_sql_precache_syntax_groups = [
\ 'syntax',
\ 'sqlKeyword',
\ 'sqlFunction',
\ 'sqlOption',
\ 'sqlType',
\ 'sqlStatement'
\ 'syntax\w*',
\ 'sqlKeyword\w*',
\ 'sqlFunction\w*',
\ 'sqlOption\w*',
\ 'sqlType\w*',
\ 'sqlStatement\w*'
\ ]
endif
" Set ignorecase to the ftplugin standard
@@ -110,14 +161,25 @@ if !exists('g:omni_sql_include_owner')
if g:loaded_dbext >= 300
" New to dbext 3.00, by default the table lists include the owner
" name of the table. This is used when determining how much of
" whatever has been typed should be replaced as part of the
" whatever has been typed should be replaced as part of the
" code replacement.
let g:omni_sql_include_owner = 1
endif
endif
endif
" Default type of completion used when <C-X><C-O> is pressed
if !exists('g:omni_sql_default_compl_type')
let g:omni_sql_default_compl_type = 'table'
endif
" This function is used for the 'omnifunc' option.
" It is called twice by omni and it is responsible
" for returning the completion list of items.
" But it must also determine context of what to complete
" and what to "replace" with the completion.
" The a:base, is replaced directly with what the user
" chooses from the choices.
" The s:prepend provides context for the completion.
function! sqlcomplete#Complete(findstart, base)
" Default to table name completion
@@ -126,6 +188,7 @@ function! sqlcomplete#Complete(findstart, base)
if exists('b:sql_compl_type')
let compl_type = b:sql_compl_type
endif
let begindot = 0
" First pass through this function determines how much of the line should
" be replaced by whatever is chosen from the completion list
@@ -134,13 +197,12 @@ function! sqlcomplete#Complete(findstart, base)
let line = getline('.')
let start = col('.') - 1
let lastword = -1
let begindot = 0
" Check if the first character is a ".", for column completion
if line[start - 1] == '.'
let begindot = 1
endif
while start > 0
" Additional code was required to handle objects which
" Additional code was required to handle objects which
" can contain spaces like "my table name".
if line[start - 1] !~ '\(\w\|\.\)'
" If the previous character is not a period or word character
@@ -150,7 +212,7 @@ function! sqlcomplete#Complete(findstart, base)
elseif line[start - 1] =~ '\w'
" If the previous character is word character continue back
let start -= 1
elseif line[start - 1] =~ '\.' &&
elseif line[start - 1] =~ '\.' &&
\ compl_type =~ 'column\|table\|view\|procedure'
" If the previous character is a period and we are completing
" an object which can be specified with a period like this:
@@ -160,7 +222,10 @@ function! sqlcomplete#Complete(findstart, base)
" If lastword has already been set for column completion
" break from the loop, since we do not also want to pickup
" a table name if it was also supplied.
if lastword != -1 && compl_type == 'column'
" Unless g:omni_sql_include_owner == 1, then we can
" include the ownername.
if lastword != -1 && compl_type == 'column'
\ && g:omni_sql_include_owner == 0
break
endif
" If column completion was specified stop at the "." if
@@ -171,8 +236,8 @@ function! sqlcomplete#Complete(findstart, base)
endif
" If omni_sql_include_owner = 0, do not include the table
" name as part of the substitution, so break here
if lastword == -1 &&
\ compl_type =~ 'table\|view\|procedure\column_csv' &&
if lastword == -1 &&
\ compl_type =~ '\<\(table\|view\|procedure\|column\|column_csv\)\>' &&
\ g:omni_sql_include_owner == 0
let lastword = start
break
@@ -202,7 +267,7 @@ function! sqlcomplete#Complete(findstart, base)
let compl_list = []
" Default to table name completion
let compl_type = 'table'
let compl_type = g:omni_sql_default_compl_type
" Allow maps to specify what type of object completion they want
if exists('b:sql_compl_type')
let compl_type = b:sql_compl_type
@@ -216,7 +281,7 @@ function! sqlcomplete#Complete(findstart, base)
if compl_type == 'table' ||
\ compl_type == 'procedure' ||
\ compl_type == 'view'
\ compl_type == 'view'
" This type of completion relies upon the dbext.vim plugin
if s:SQLCCheck4dbext() == -1
@@ -254,7 +319,7 @@ function! sqlcomplete#Complete(findstart, base)
if base == ""
" The last time we displayed a column list we stored
" the table name. If the user selects a column list
" the table name. If the user selects a column list
" without a table name of alias present, assume they want
" the previous column list displayed.
let base = s:save_prev_table
@@ -269,20 +334,26 @@ function! sqlcomplete#Complete(findstart, base)
let table = matchstr( base, '^\(.*\.\)\?\zs.*\ze\..*' )
let column = matchstr( base, '.*\.\zs.*' )
if g:omni_sql_include_owner == 1 && owner == '' && table != '' && column != ''
let owner = table
let table = column
let column = ''
endif
" It is pretty well impossible to determine if the user
" has entered:
" owner.table
" table.column_prefix
" So there are a couple of things we can do to mitigate
" So there are a couple of things we can do to mitigate
" this issue.
" 1. Check if the dbext plugin has the option turned
" on to even allow owners
" 2. Based on 1, if the user is showing a table list
" and the DrillIntoTable (using <Right>) then
" and the DrillIntoTable (using <Right>) then
" this will be owner.table. In this case, we can
" check to see the table.column exists in the
" check to see the table.column exists in the
" cached table list. If it does, then we have
" determined the user has actually chosen
" determined the user has actually chosen
" owner.table, not table.column_prefix.
let found = -1
if g:omni_sql_include_owner == 1 && owner == ''
@@ -297,17 +368,46 @@ function! sqlcomplete#Complete(findstart, base)
" If the user has indicated not to use table owners at all and
" the base ends in a '.' we know they are not providing a column
" name, so we can shift the items appropriately.
if found != -1 || (g:omni_sql_include_owner == 0 && base !~ '\.$')
let owner = table
let table = column
let column = ''
endif
" if found != -1 || (g:omni_sql_include_owner == 0 && base !~ '\.$')
" let owner = table
" let table = column
" let column = ''
" endif
else
" If no "." was provided and the user asked for
" column level completion, first attempt the match
" on any previous column lists. If the user asked
" for a list of columns comma separated, continue as usual.
if compl_type == 'column' && s:save_prev_table != ''
" The last time we displayed a column list we stored
" the table name. If the user selects a column list
" without a table name of alias present, assume they want
" the previous column list displayed.
let table = s:save_prev_table
let list_type = ''
let compl_list = s:SQLCGetColumns(table, list_type)
if ! empty(compl_list)
" If no column prefix has been provided and the table
" name was provided, append it to each of the items
" returned.
let compl_list = filter(deepcopy(compl_list), 'v:val=~"^'.base.'"' )
" If not empty, we have a match on columns
" return the list
if ! empty(compl_list)
return compl_list
endif
endif
endif
" Since no columns were found to match the base supplied
" assume the user is trying to complete the column list
" for a table (and or an alias to a table).
let table = base
endif
" Get anything after the . and consider this the table name
" If an owner has been specified, then we must consider the
" If an owner has been specified, then we must consider the
" base to be a partial column name
" let base = matchstr( base, '^\(.*\.\)\?\zs.*' )
@@ -322,16 +422,25 @@ function! sqlcomplete#Complete(findstart, base)
let list_type = 'csv'
endif
let compl_list = s:SQLCGetColumns(table, list_type)
" If we are including the OWNER for the objects, then for
" table completion, if we have it, it should be included
" as there can be the same table names in a database yet
" with different owner names.
if g:omni_sql_include_owner == 1 && owner != '' && table != ''
let compl_list = s:SQLCGetColumns(owner.'.'.table, list_type)
else
let compl_list = s:SQLCGetColumns(table, list_type)
endif
if column != ''
" If no column prefix has been provided and the table
" name was provided, append it to each of the items
" returned.
let compl_list = map(compl_list, "table.'.'.v:val")
let compl_list = map(compl_list, 'table.".".v:val')
if owner != ''
" If an owner has been provided append it to each of the
" items returned.
let compl_list = map(compl_list, "owner.'.'.v:val")
let compl_list = map(compl_list, 'owner.".".v:val')
endif
else
let base = ''
@@ -345,11 +454,14 @@ function! sqlcomplete#Complete(findstart, base)
endif
elseif compl_type == 'resetCache'
" Reset all cached items
let s:tbl_name = []
let s:tbl_alias = []
let s:tbl_cols = []
let s:syn_list = []
let s:syn_value = []
let s:tbl_name = []
let s:tbl_alias = []
let s:tbl_cols = []
let s:syn_list = []
let s:syn_value = []
let s:sql_file_table = ""
let s:sql_file_procedure = ""
let s:sql_file_view = ""
let msg = "All SQL cached items have been removed."
call s:SQLCWarningMsg(msg)
@@ -361,22 +473,41 @@ function! sqlcomplete#Complete(findstart, base)
if base != ''
" Filter the list based on the first few characters the user entered.
" Check if the text matches at the beginning
" or
" Check if the text matches at the beginning
" \\(^.base.'\\)
" or
" Match to a owner.table or alias.column type match
" ^\\(\\w\\+\\.\\)\\?'.base.'\\)
" or
" Handle names with spaces "my table name"
" "\\(^'.base.'\\|^\\(\\w\\+\\.\\)\\?'.base.'\\)"'
"
let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|^\\(\\w\\+\\.\\)\\?'.base.'\\)"'
" let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\)"'
" let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|\\(\\.\\)\\?'.base.'\\)"'
" let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|\\([^.]*\\)\\?'.base.'\\)"'
let compl_list = filter(deepcopy(compl_list), expr)
if empty(compl_list) && compl_type == 'table' && base =~ '\.$'
" It is possible we could be looking for column name completion
" and the user simply hit C-X C-O to lets try it as well
" since we had no hits with the tables.
" If the base ends with a . it is hard to know if we are
" completing table names or column names.
let list_type = ''
let compl_list = s:SQLCGetColumns(base, list_type)
endif
endif
if exists('b:sql_compl_savefunc') && b:sql_compl_savefunc != ""
let &omnifunc = b:sql_compl_savefunc
endif
if empty(compl_list)
call s:SQLCWarningMsg( 'Could not find type['.compl_type.'] using prepend[.'.s:prepended.'] base['.a:base.']' )
endif
return compl_list
endfunc
@@ -384,7 +515,7 @@ function! sqlcomplete#PreCacheSyntax(...)
let syn_group_arr = []
let syn_items = []
if a:0 > 0
if a:0 > 0
if type(a:1) != 3
call s:SQLCWarningMsg("Parameter is not a list. Example:['syntaxGroup1', 'syntaxGroup2']")
return ''
@@ -407,7 +538,7 @@ endfunction
function! sqlcomplete#ResetCacheSyntax(...)
let syn_group_arr = []
if a:0 > 0
if a:0 > 0
if type(a:1) != 3
call s:SQLCWarningMsg("Parameter is not a list. Example:['syntaxGroup1', 'syntaxGroup2']")
return ''
@@ -458,7 +589,7 @@ function! sqlcomplete#DrillIntoTable()
" If the popup is not visible, simple perform the normal
" key behaviour.
" Must use exec since they key must be preceeded by "\"
" or feedkeys will simply push each character of the string
" or feedkeys will simply push each character of the string
" rather than the "key press".
exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_right.'", "n")'
endif
@@ -475,7 +606,7 @@ function! sqlcomplete#DrillOutOfColumns()
" If the popup is not visible, simple perform the normal
" key behaviour.
" Must use exec since they key must be preceeded by "\"
" or feedkeys will simply push each character of the string
" or feedkeys will simply push each character of the string
" rather than the "key press".
exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_left.'", "n")'
endif
@@ -484,16 +615,16 @@ endfunction
function! s:SQLCWarningMsg(msg)
echohl WarningMsg
echomsg 'SQLComplete:'.a:msg
echomsg 'SQLComplete:'.a:msg
echohl None
endfunction
function! s:SQLCErrorMsg(msg)
echohl ErrorMsg
echomsg 'SQLComplete:'.a:msg
echomsg 'SQLComplete:'.a:msg
echohl None
endfunction
function! s:SQLCGetSyntaxList(syn_group)
let syn_group = a:syn_group
let compl_list = []
@@ -504,19 +635,23 @@ function! s:SQLCGetSyntaxList(syn_group)
" Return previously cached value
let compl_list = s:syn_value[list_idx]
else
" Request the syntax list items from the
let s:save_inc = g:omni_syntax_group_include_sql
let s:save_exc = g:omni_syntax_group_exclude_sql
let g:omni_syntax_group_include_sql = ''
let g:omni_syntax_group_exclude_sql = ''
" Request the syntax list items from the
" syntax completion plugin
if syn_group == 'syntax'
" Handle this special case. This allows the user
" to indicate they want all the syntax items available,
" so do not specify a specific include list.
let g:omni_syntax_group_include_sql = ''
let syn_value = syntaxcomplete#OmniSyntaxList()
else
" The user has specified a specific syntax group
let g:omni_syntax_group_include_sql = syn_group
let syn_value = syntaxcomplete#OmniSyntaxList(syn_group)
endif
let g:omni_syntax_group_exclude_sql = ''
let syn_value = syntaxcomplete#OmniSyntaxList()
let g:omni_syntax_group_include_sql = s:save_inc
let g:omni_syntax_group_exclude_sql = s:save_exc
" Cache these values for later use
@@ -552,7 +687,7 @@ function! s:SQLCAddAlias(table_name, table_alias, cols)
let table_alias = a:table_alias
let cols = a:cols
if g:omni_sql_use_tbl_alias != 'n'
if g:omni_sql_use_tbl_alias != 'n'
if table_alias == ''
if 'da' =~? g:omni_sql_use_tbl_alias
if table_name =~ '_'
@@ -562,13 +697,13 @@ function! s:SQLCAddAlias(table_name, table_alias, cols)
setlocal iskeyword-=_
" Get the first letter of each word
" [[:alpha:]] is used instead of \w
" [[:alpha:]] is used instead of \w
" to catch extended accented characters
"
let table_alias = substitute(
\ table_name,
\ '\<[[:alpha:]]\+\>_\?',
\ '\=strpart(submatch(0), 0, 1)',
let table_alias = substitute(
\ table_name,
\ '\<[[:alpha:]]\+\>_\?',
\ '\=strpart(submatch(0), 0, 1)',
\ 'g'
\ )
" Restore original value
@@ -596,7 +731,7 @@ function! s:SQLCAddAlias(table_name, table_alias, cols)
return cols
endfunction
function! s:SQLCGetObjectOwner(object)
function! s:SQLCGetObjectOwner(object)
" The owner regex matches a word at the start of the string which is
" followed by a dot, but doesn't include the dot in the result.
" ^ - from beginning of line
@@ -609,11 +744,29 @@ function! s:SQLCGetObjectOwner(object)
" let owner = matchstr( a:object, '^\s*\zs.*\ze\.' )
let owner = matchstr( a:object, '^\("\|\[\)\?\zs\.\{-}\ze\("\|\]\)\?\.' )
return owner
endfunction
endfunction
function! s:SQLCGetColumns(table_name, list_type)
if a:table_name =~ '\.'
" Check if the owner/creator has been specified
let owner = matchstr( a:table_name, '^\zs.*\ze\..*\..*' )
let table = matchstr( a:table_name, '^\(.*\.\)\?\zs.*\ze\..*' )
let column = matchstr( a:table_name, '.*\.\zs.*' )
if g:omni_sql_include_owner == 1 && owner == '' && table != '' && column != ''
let owner = table
let table = column
let column = ''
endif
else
let owner = ''
let table = matchstr(a:table_name, '^["\[\]a-zA-Z0-9_ ]\+\ze\.\?')
let column = ''
endif
" Check if the table name was provided as part of the column name
let table_name = matchstr(a:table_name, '^["\[\]a-zA-Z0-9_ ]\+\ze\.\?')
" let table_name = matchstr(a:table_name, '^["\[\]a-zA-Z0-9_ ]\+\ze\.\?')
let table_name = table
let table_cols = []
let table_alias = ''
let move_to_top = 1
@@ -636,7 +789,7 @@ function! s:SQLCGetColumns(table_name, list_type)
if list_idx > -1
let table_cols = split(s:tbl_cols[list_idx], '\n')
else
" Check if we have already cached the column list for this table
" Check if we have already cached the column list for this table
" by its alias, assuming the table_name provided was actually
" the alias for the table instead
" select *
@@ -654,7 +807,7 @@ function! s:SQLCGetColumns(table_name, list_type)
" And the table ends in a "." or we are looking for a column list
" if list_idx == -1 && (a:table_name =~ '\.' || b:sql_compl_type =~ 'column')
" if list_idx == -1 && (a:table_name =~ '\.' || a:list_type =~ 'csv')
if list_idx == -1
if list_idx == -1
let saveY = @y
let saveSearch = @/
let saveWScan = &wrapscan
@@ -665,7 +818,7 @@ function! s:SQLCGetColumns(table_name, list_type)
setlocal nowrapscan
" If . was entered, look at the word just before the .
" We are looking for something like this:
" select *
" select *
" from customer c
" where c.
" So when . is pressed, we need to find 'c'
@@ -692,15 +845,15 @@ function! s:SQLCGetColumns(table_name, list_type)
" if query =~? '^\c\(select\)'
if query =~? '^\(select\|update\|delete\)'
let found = 1
" \(\(\<\w\+\>\)\.\)\? -
" \(\(\<\w\+\>\)\.\)\? -
" '\c\(from\|join\|,\).\{-}' - Starting at the from clause (case insensitive)
" '\zs\(\(\<\w\+\>\)\.\)\?' - Get the owner name (optional)
" '\<\w\+\>\ze' - Get the table name
" '\<\w\+\>\ze' - Get the table name
" '\s\+\<'.table_name.'\>' - Followed by the alias
" '\s*\.\@!.*' - Cannot be followed by a .
" '\(\<where\>\|$\)' - Must be followed by a WHERE clause
" '.*' - Exclude the rest of the line in the match
" let table_name_new = matchstr(@y,
" let table_name_new = matchstr(@y,
" \ '\c\(from\|join\|,\).\{-}'.
" \ '\zs\(\("\|\[\)\?.\{-}\("\|\]\)\.\)\?'.
" \ '\("\|\[\)\?.\{-}\("\|\]\)\?\ze'.
@@ -711,7 +864,16 @@ function! s:SQLCGetColumns(table_name, list_type)
" \ '\(\<where\>\|$\)'.
" \ '.*'
" \ )
let table_name_new = matchstr(@y,
"
"
" ''\c\(\<from\>\|\<join\>\|,\)\s*' - Starting at the from clause (case insensitive)
" '\zs\(\("\|\[\)\?\w\+\("\|\]\)\?\.\)\?' - Get the owner name (optional)
" '\("\|\[\)\?\w\+\("\|\]\)\?\ze' - Get the table name
" '\s\+\%(as\s\+\)\?\<'.matchstr(table_name, '.\{-}\ze\.\?$').'\>' - Followed by the alias
" '\s*\.\@!.*' - Cannot be followed by a .
" '\(\<where\>\|$\)' - Must be followed by a WHERE clause
" '.*' - Exclude the rest of the line in the match
let table_name_new = matchstr(@y,
\ '\c\(\<from\>\|\<join\>\|,\)\s*'.
\ '\zs\(\("\|\[\)\?\w\+\("\|\]\)\?\.\)\?'.
\ '\("\|\[\)\?\w\+\("\|\]\)\?\ze'.
@@ -725,7 +887,12 @@ function! s:SQLCGetColumns(table_name, list_type)
if table_name_new != ''
let table_alias = table_name
let table_name = matchstr( table_name_new, '^\(.*\.\)\?\zs.*\ze' )
if g:omni_sql_include_owner == 1
let table_name = matchstr( table_name_new, '^\zs\(.\{-}\.\)\?\(.\{-}\.\)\?.*\ze' )
else
" let table_name = matchstr( table_name_new, '^\(.*\.\)\?\zs.*\ze' )
let table_name = matchstr( table_name_new, '^\(.\{-}\.\)\?\zs\(.\{-}\.\)\?.*\ze' )
endif
let list_idx = index(s:tbl_name, table_name, 0, &ignorecase)
if list_idx > -1
@@ -753,7 +920,7 @@ function! s:SQLCGetColumns(table_name, list_type)
" Return to previous location
call cursor(curline, curcol)
if found == 0
if g:loaded_dbext > 300
exec 'DBSetOption use_tbl_alias='.saveSettingAlias
@@ -762,12 +929,13 @@ function! s:SQLCGetColumns(table_name, list_type)
" Not a SQL statement, do not display a list
return []
endif
endif
endif
if empty(table_cols)
" Specify silent mode, no messages to the user (tbl, 1)
" Specify do not comma separate (tbl, 1, 1)
let table_cols_str = DB_getListColumn(table_name, 1, 1)
" let table_cols_str = DB_getListColumn(table_name, 1, 1)
let table_cols_str = DB_getListColumn((owner!=''?owner.'.':'').table_name, 1, 1)
if table_cols_str != ""
let s:tbl_name = add( s:tbl_name, table_name )
@@ -793,3 +961,7 @@ function! s:SQLCGetColumns(table_name, list_type)
return table_cols
endfunction
" Restore:
let &cpo= s:keepcpo
unlet s:keepcpo
" vim: ts=4 fdm=marker
+426 -121
View File
@@ -1,38 +1,80 @@
" Vim completion script
" Language: All languages, uses existing syntax highlighting rules
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
" Version: 7.0
" Last Change: 2010 Jul 29
" Usage: For detailed help, ":help ft-syntax-omni"
" Version: 13.0
" Last Change: 2013 May 14
" Usage: For detailed help, ":help ft-syntax-omni"
" History
"
" Version 13.0
" - Extended the option omni_syntax_group_include_{filetype}
" to accept a comma separated list of regex's rather than
" string. For example, for the javascript filetype you could
" use:
" let g:omni_syntax_group_include_javascript = 'javascript\w\+,jquery\w\+'
" - Some syntax files (perl.vim) use the match // syntax as a mechanism
" to identify keywords. This update attempts to parse the
" match syntax and pull out syntax items which are at least
" 3 words or more.
"
" Version 12.0
" - It is possible to have '-' as part of iskeyword, when
" checking for character ranges, tighten up the regex.
" E688: More targets than List items.
"
" Version 11.0
" - Corrected which characters required escaping during
" substitution calls.
"
" Version 10.0
" - Cycle through all the character ranges specified in the
" iskeyword option and build a list of valid word separators.
" Prior to this change, only actual characters were used,
" where for example ASCII "45" == "-". If "45" were used
" in iskeyword the hyphen would not be picked up.
" This introduces a new option, since the character ranges
" specified could be multibyte:
" let g:omni_syntax_use_single_byte = 1
" - This by default will only allow single byte ASCII
" characters to be added and an additional check to ensure
" the charater is printable (see documentation for isprint).
"
" Version 9.0
" - Add the check for cpo.
"
" Version 8.0
" - Updated SyntaxCSyntaxGroupItems()
" - Some additional syntax items were also allowed
" on nextgroup= lines which were ignored by default.
" Now these lines are processed independently.
"
" Version 7.0
" Updated syntaxcomplete#OmniSyntaxList()
" - Updated syntaxcomplete#OmniSyntaxList()
" - Looking up the syntax groups defined from a syntax file
" looked for only 1 format of {filetype}GroupName, but some
" looked for only 1 format of {filetype}GroupName, but some
" syntax writers use this format as well:
" {b:current_syntax}GroupName
" OmniSyntaxList() will now check for both if the first
" - OmniSyntaxList() will now check for both if the first
" method does not find a match.
"
" Version 6.0
" Added syntaxcomplete#OmniSyntaxList()
" - Allows other plugins to use this for their own
" - Added syntaxcomplete#OmniSyntaxList()
" - Allows other plugins to use this for their own
" purposes.
" - It will return a List of all syntax items for the
" syntax group name passed in.
" - XPTemplate for SQL will use this function via the
" syntax group name passed in.
" - XPTemplate for SQL will use this function via the
" sqlcomplete plugin to populate a Choose box.
"
" Version 5.0
" Updated SyntaxCSyntaxGroupItems()
" - Updated SyntaxCSyntaxGroupItems()
" - When processing a list of syntax groups, the final group
" was missed in function SyntaxCSyntaxGroupItems.
"
" Set completion with CTRL-X CTRL-O to autoloaded function.
" This check is in place in case this script is
" sourced directly instead of using the autoload feature.
" sourced directly instead of using the autoload feature.
if exists('+omnifunc')
" Do not set the option if already set since this
" results in an E117 warning.
@@ -42,9 +84,13 @@ if exists('+omnifunc')
endif
if exists('g:loaded_syntax_completion')
finish
finish
endif
let g:loaded_syntax_completion = 70
let g:loaded_syntax_completion = 130
" Turn on support for line continuations when creating the script
let s:cpo_save = &cpo
set cpo&vim
" Set ignorecase to the ftplugin standard
" This is the default setting, but if you define a buffer local
@@ -61,6 +107,18 @@ if !exists('g:omni_syntax_use_iskeyword')
let g:omni_syntax_use_iskeyword = 1
endif
" When using iskeyword, this setting controls whether the characters
" should be limited to single byte characters.
if !exists('g:omni_syntax_use_single_byte')
let g:omni_syntax_use_single_byte = 1
endif
" When using iskeyword, this setting controls whether the characters
" should be limited to single byte characters.
if !exists('g:omni_syntax_use_iskeyword_numeric')
let g:omni_syntax_use_iskeyword_numeric = 1
endif
" Only display items in the completion window that are at least
" this many characters in length.
" This is the default setting, but if you define a buffer local
@@ -71,8 +129,10 @@ endif
" This script will build a completion list based on the syntax
" elements defined by the files in $VIMRUNTIME/syntax.
let s:syn_remove_words = 'match,matchgroup=,contains,'.
\ 'links to,start=,end=,nextgroup='
" let s:syn_remove_words = 'match,matchgroup=,contains,'.
let s:syn_remove_words = 'matchgroup=,contains,'.
\ 'links to,start=,end='
" \ 'links to,start=,end=,nextgroup='
let s:cache_name = []
let s:cache_list = []
@@ -151,7 +211,7 @@ endfunc
function! syntaxcomplete#OmniSyntaxList(...)
if a:0 > 0
let parms = []
if 3 == type(a:1)
if 3 == type(a:1)
let parms = a:1
elseif 1 == type(a:1)
let parms = split(a:1, ',')
@@ -165,7 +225,7 @@ endfunc
function! OmniSyntaxList(...)
let list_parms = []
if a:0 > 0
if 3 == type(a:1)
if 3 == type(a:1)
let list_parms = a:1
elseif 1 == type(a:1)
let list_parms = split(a:1, ',')
@@ -201,18 +261,18 @@ function! OmniSyntaxList(...)
let saveL = @l
let filetype = substitute(&filetype, '\.', '_', 'g')
if empty(list_parms)
" Default the include group to include the requested syntax group
let syntax_group_include_{filetype} = ''
" Check if there are any overrides specified for this filetype
if exists('g:omni_syntax_group_include_'.filetype)
let syntax_group_include_{filetype} =
\ substitute( g:omni_syntax_group_include_{filetype},'\s\+','','g')
\ substitute( g:omni_syntax_group_include_{filetype},'\s\+','','g')
let list_parms = split(g:omni_syntax_group_include_{filetype}, ',')
if syntax_group_include_{filetype} =~ '\w'
let syntax_group_include_{filetype} =
\ substitute( syntax_group_include_{filetype},
let syntax_group_include_{filetype} =
\ substitute( syntax_group_include_{filetype},
\ '\s*,\s*', '\\|', 'g'
\ )
endif
@@ -222,24 +282,34 @@ function! OmniSyntaxList(...)
endif
" Loop through all the syntax groupnames, and build a
" syntax file which contains these names. This can
" syntax file which contains these names. This can
" work generically for any filetype that does not already
" have a plugin defined.
" This ASSUMES the syntax groupname BEGINS with the name
" of the filetype. From my casual viewing of the vim7\syntax
" of the filetype. From my casual viewing of the vim7\syntax
" directory this is true for almost all syntax definitions.
" As an example, the SQL syntax groups have this pattern:
" sqlType
" sqlOperators
" sqlKeyword ...
redir @l
silent! exec 'syntax list '.join(list_parms)
redir END
if !empty(list_parms) && empty(substitute(join(list_parms), '[a-zA-Z ]', '', 'g'))
" If list_parms only includes word characters, use it to limit
" the syntax elements.
" If using regex syntax list will fail to find those items, so
" simply grab the who syntax list.
redir @l
silent! exec 'syntax list '.join(list_parms)
redir END
else
redir @l
silent! exec 'syntax list'
redir END
endif
let syntax_full = "\n".@l
let @l = saveL
if syntax_full =~ 'E28'
if syntax_full =~ 'E28'
\ || syntax_full =~ 'E411'
\ || syntax_full =~ 'E415'
\ || syntax_full =~ 'No Syntax items'
@@ -249,7 +319,7 @@ function! OmniSyntaxList(...)
let filetype = substitute(&filetype, '\.', '_', 'g')
let list_exclude_groups = []
if a:0 > 0
if a:0 > 0
" Do nothing since we have specific a specific list of groups
else
" Default the exclude group to nothing
@@ -257,93 +327,178 @@ function! OmniSyntaxList(...)
" Check if there are any overrides specified for this filetype
if exists('g:omni_syntax_group_exclude_'.filetype)
let syntax_group_exclude_{filetype} =
\ substitute( g:omni_syntax_group_exclude_{filetype},'\s\+','','g')
\ substitute( g:omni_syntax_group_exclude_{filetype},'\s\+','','g')
let list_exclude_groups = split(g:omni_syntax_group_exclude_{filetype}, ',')
if syntax_group_exclude_{filetype} =~ '\w'
let syntax_group_exclude_{filetype} =
\ substitute( syntax_group_exclude_{filetype},
if syntax_group_exclude_{filetype} =~ '\w'
let syntax_group_exclude_{filetype} =
\ substitute( syntax_group_exclude_{filetype},
\ '\s*,\s*', '\\|', 'g'
\ )
endif
endif
endif
" Sometimes filetypes can be composite names, like c.doxygen
" Loop through each individual part looking for the syntax
" items specific to each individual filetype.
if empty(list_parms)
let list_parms = [&filetype.'\w\+']
endif
let syn_list = ''
let ftindex = 0
let ftindex = match(&filetype, '\w\+', ftindex)
let index = 0
for group_regex in list_parms
" Sometimes filetypes can be composite names, like c.doxygen
" Loop through each individual part looking for the syntax
" items specific to each individual filetype.
" let ftindex = 0
" let ftindex = match(syntax_full, group_regex, ftindex)
while ftindex > -1
let ft_part_name = matchstr( &filetype, '\w\+', ftindex )
" while ftindex > -1
" let ft_part_name = matchstr( syntax_full, '\w\+', ftindex )
" Syntax rules can contain items for more than just the current
" filetype. They can contain additional items added by the user
" via autocmds or their vimrc.
" Some syntax files can be combined (html, php, jsp).
" We want only items that begin with the filetype we are interested in.
let next_group_regex = '\n' .
\ '\zs'.ft_part_name.'\w\+\ze'.
\ '\s\+xxx\s\+'
let index = 0
let index = match(syntax_full, next_group_regex, index)
if index == -1 && exists('b:current_syntax') && ft_part_name != b:current_syntax
" There appears to be two standards when writing syntax files.
" Either items begin as:
" syn keyword {filetype}Keyword values ...
" let b:current_syntax = "sql"
" let b:current_syntax = "sqlanywhere"
" Or
" syn keyword {syntax_filename}Keyword values ...
" let b:current_syntax = "mysql"
" So, we will make the format of finding the syntax group names
" a bit more flexible and look for both if the first fails to
" find a match.
" Syntax rules can contain items for more than just the current
" filetype. They can contain additional items added by the user
" via autocmds or their vimrc.
" Some syntax files can be combined (html, php, jsp).
" We want only items that begin with the filetype we are interested in.
let next_group_regex = '\n' .
\ '\zs'.b:current_syntax.'\w\+\ze'.
\ '\s\+xxx\s\+'
let index = 0
\ '\zs'.group_regex.'\ze'.
\ '\s\+xxx\s\+'
let index = match(syntax_full, next_group_regex, index)
endif
while index > -1
let group_name = matchstr( syntax_full, '\w\+', index )
let get_syn_list = 1
for exclude_group_name in list_exclude_groups
if '\<'.exclude_group_name.'\>' =~ '\<'.group_name.'\>'
let get_syn_list = 0
endif
endfor
" This code is no longer needed in version 6.0 since we have
" augmented the syntax list command to only retrieve the syntax
" groups we are interested in.
"
" if get_syn_list == 1
" if syntax_group_include_{filetype} != ''
" if '\<'.syntax_group_include_{filetype}.'\>' !~ '\<'.group_name.'\>'
" let get_syn_list = 0
" endif
" endif
" endif
if get_syn_list == 1
" Pass in the full syntax listing, plus the group name we
" are interested in.
let extra_syn_list = s:SyntaxCSyntaxGroupItems(group_name, syntax_full)
let syn_list = syn_list . extra_syn_list . "\n"
" For the matched group name, strip off any of the regex special
" characters and see if we get a match with the current syntax
if index == -1 && exists('b:current_syntax') && substitute(group_regex, '[^a-zA-Z ]\+.*', '', 'g') !~ '^'.b:current_syntax
" There appears to be two standards when writing syntax files.
" Either items begin as:
" syn keyword {filetype}Keyword values ...
" let b:current_syntax = "sql"
" let b:current_syntax = "sqlanywhere"
" Or
" syn keyword {syntax_filename}Keyword values ...
" let b:current_syntax = "mysql"
" So, we will make the format of finding the syntax group names
" a bit more flexible and look for both if the first fails to
" find a match.
let next_group_regex = '\n' .
\ '\zs'.b:current_syntax.'\w\+\ze'.
\ '\s\+xxx\s\+'
let index = 0
let index = match(syntax_full, next_group_regex, index)
endif
let index = index + strlen(group_name)
let index = match(syntax_full, next_group_regex, index)
endwhile
while index > -1
let group_name = matchstr( syntax_full, '\w\+', index )
let ftindex = ftindex + len(ft_part_name)
let ftindex = match( &filetype, '\w\+', ftindex )
endwhile
let get_syn_list = 1
for exclude_group_name in list_exclude_groups
if '\<'.exclude_group_name.'\>' =~ '\<'.group_name.'\>'
let get_syn_list = 0
endif
endfor
" This code is no longer needed in version 6.0 since we have
" augmented the syntax list command to only retrieve the syntax
" groups we are interested in.
"
" if get_syn_list == 1
" if syntax_group_include_{filetype} != ''
" if '\<'.syntax_group_include_{filetype}.'\>' !~ '\<'.group_name.'\>'
" let get_syn_list = 0
" endif
" endif
" endif
if get_syn_list == 1
" Pass in the full syntax listing, plus the group name we
" are interested in.
let extra_syn_list = s:SyntaxCSyntaxGroupItems(group_name, syntax_full)
let syn_list = syn_list . extra_syn_list . "\n"
endif
let index = index + strlen(group_name)
let index = match(syntax_full, next_group_regex, index)
endwhile
" let ftindex = ftindex + len(ft_part_name)
" let ftindex = match( syntax_full, group_regex, ftindex )
" endwhile
endfor
" " Sometimes filetypes can be composite names, like c.doxygen
" " Loop through each individual part looking for the syntax
" " items specific to each individual filetype.
" let syn_list = ''
" let ftindex = 0
" let ftindex = match(&filetype, '\w\+', ftindex)
" while ftindex > -1
" let ft_part_name = matchstr( &filetype, '\w\+', ftindex )
" " Syntax rules can contain items for more than just the current
" " filetype. They can contain additional items added by the user
" " via autocmds or their vimrc.
" " Some syntax files can be combined (html, php, jsp).
" " We want only items that begin with the filetype we are interested in.
" let next_group_regex = '\n' .
" \ '\zs'.ft_part_name.'\w\+\ze'.
" \ '\s\+xxx\s\+'
" let index = 0
" let index = match(syntax_full, next_group_regex, index)
" if index == -1 && exists('b:current_syntax') && ft_part_name != b:current_syntax
" " There appears to be two standards when writing syntax files.
" " Either items begin as:
" " syn keyword {filetype}Keyword values ...
" " let b:current_syntax = "sql"
" " let b:current_syntax = "sqlanywhere"
" " Or
" " syn keyword {syntax_filename}Keyword values ...
" " let b:current_syntax = "mysql"
" " So, we will make the format of finding the syntax group names
" " a bit more flexible and look for both if the first fails to
" " find a match.
" let next_group_regex = '\n' .
" \ '\zs'.b:current_syntax.'\w\+\ze'.
" \ '\s\+xxx\s\+'
" let index = 0
" let index = match(syntax_full, next_group_regex, index)
" endif
" while index > -1
" let group_name = matchstr( syntax_full, '\w\+', index )
" let get_syn_list = 1
" for exclude_group_name in list_exclude_groups
" if '\<'.exclude_group_name.'\>' =~ '\<'.group_name.'\>'
" let get_syn_list = 0
" endif
" endfor
" " This code is no longer needed in version 6.0 since we have
" " augmented the syntax list command to only retrieve the syntax
" " groups we are interested in.
" "
" " if get_syn_list == 1
" " if syntax_group_include_{filetype} != ''
" " if '\<'.syntax_group_include_{filetype}.'\>' !~ '\<'.group_name.'\>'
" " let get_syn_list = 0
" " endif
" " endif
" " endif
" if get_syn_list == 1
" " Pass in the full syntax listing, plus the group name we
" " are interested in.
" let extra_syn_list = s:SyntaxCSyntaxGroupItems(group_name, syntax_full)
" let syn_list = syn_list . extra_syn_list . "\n"
" endif
" let index = index + strlen(group_name)
" let index = match(syntax_full, next_group_regex, index)
" endwhile
" let ftindex = ftindex + len(ft_part_name)
" let ftindex = match( &filetype, '\w\+', ftindex )
" endwhile
" Convert the string to a List and sort it.
let compl_list = sort(split(syn_list))
@@ -385,7 +540,7 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
" \| - 2nd potential match
" \%$ - matches end of the file or string
" \) - end a group
let syntax_group = matchstr(a:syntax_full,
let syntax_group = matchstr(a:syntax_full,
\ "\n".a:group_name.'\s\+xxx\s\+\zs.\{-}\ze\(\n\w\|\%$\)'
\ )
@@ -395,26 +550,97 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
" We only want the words for the lines begining with
" containedin, but there could be other items.
" Tried to remove all lines that do not begin with contained
" but this does not work in all cases since you can have
" contained nextgroup=...
" So this will strip off the ending of lines with known
" keywords.
let syn_list = substitute(
let syn_list = substitute(
\ syntax_group, '\<\('.
\ substitute(
\ escape(s:syn_remove_words, '\\/.*$^~[]')
\ , ',', '\\|', 'g'
\ ).
\ '\).\{-}\%($\|'."\n".'\)'
\ , "\n", 'g'
\ , "\n", 'g'
\ )
" Now strip off the newline + blank space + contained
let syn_list = substitute(
\ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\)'
\ , "", 'g'
" Attempt to deal with lines using the match syntax
" javaScriptDocTags xxx match /@\(param\|argument\|requires\|file\)\>/
" Though it can use any types of regex, so this plugin will attempt
" to restrict it
" 1. Only use \( or \%( constructs remove all else
" 2 Remove and []s
" 3. Account for match //constructs
" \%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?
" 4. Hope for the best
"
"
let syn_list_old = syn_list
while syn_list =~ '\<match\>\s\+\/'
if syn_list =~ 'perlElseIfError'
let syn_list = syn_list
endif
" Check if the match has words at least 3 characters long
if syn_list =~ '\<match \/\zs.\{-}\<\w\{3,}\>.\{-}\ze\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+'
" Remove everything after / and before the first \(
let syn_list = substitute( syn_list, '\<match \/\zs.\{-}\ze\\%\?(.\{-}\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
" Remove everything after \) and up to the ending /
let syn_list = substitute( syn_list, '\<match \/.\{-}\\)\zs.\{-}\ze\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
" Remove any character classes
" let syn_list = substitute( syn_list, '\<match /\zs.\{-}\[[^]]*\].\{-}\ze\/ ', '', 'g' )
let syn_list = substitute( syn_list, '\%(\<match \/[^/]\{-}\)\@<=\[[^]]*\]\ze.\{-}\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?', '', 'g' )
" Remove any words < 3 characters
let syn_list = substitute( syn_list, '\%(\<match \/[^/]\{-}\)\@<=\<\w\{1,2}\>\ze.\{-}\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
" Remove all non-word characters
" let syn_list = substitute( syn_list, '\<match /\zs.\{-}\<\W\+\>.\{-}\ze\/ ', "", 'g' )
" let syn_list = substitute( syn_list, '\%(\<match \/[^/]\{-}\)\@<=\W\+\ze.\{-}\/ ', ' ', 'g' )
" Do this by using the outer substitue() call to gather all
" text between the match /.../ tags.
" The inner substitute() call operates on the text selected
" and replaces all non-word characters.
let syn_list = substitute( syn_list, '\<match \/\zs\(.\{-}\)\ze\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+'
\ , '\=substitute(submatch(1), "\\W\\+", " ", "g")'
\ , 'g' )
" Remove the match / / syntax
let syn_list = substitute( syn_list, '\<match \/\(.\{-}\)\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '\1', 'g' )
else
" No words long enough, remove the match
" Remove the match syntax
" let syn_list = substitute( syn_list, '\<match \/[^\/]*\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
let syn_list = substitute( syn_list, '\<match \/\%(.\{-}\)\?\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
endif
if syn_list =~ '\<match\>\s\+\/'
" Problem removing the match / / tags
let syn_list = ''
endif
endwhile
" Now strip off the newline + blank space + contained.
" Also include lines with nextgroup=@someName skip_key_words syntax_element
" \ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\|nextgroup=\)'
" \ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\|nextgroup=[@a-zA-Z,]*\)'
let syn_list = substitute(
\ syn_list, '\<\(contained\|nextgroup=[@a-zA-Z,]*\)'
\ , "", 'g'
\ )
" This can leave lines like this
" =@vimMenuList skipwhite onoremenu
" Strip the special option keywords first
" :h :syn-skipwhite*
let syn_list = substitute(
\ syn_list, '\<\(skipwhite\|skipnl\|skipempty\)\>'
\ , "", 'g'
\ )
" Now remove the remainder of the nextgroup=@someName lines
let syn_list = substitute(
\ syn_list, '\%(^\|\n\)\@<=\s*\(@\w\+\)'
\ , "", 'g'
\ )
if b:omni_syntax_use_iskeyword == 0
@@ -423,19 +649,74 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
" This will replace non-word characters with spaces.
let syn_list = substitute( syn_list, '[^0-9A-Za-z_ ]', ' ', 'g' )
else
let accept_chars = ','.&iskeyword.','
" Remove all character ranges
" let accept_chars = substitute(accept_chars, ',[^,]\+-[^,]\+,', ',', 'g')
let accept_chars = substitute(accept_chars, ',\@<=[^,]\+-[^,]\+,', '', 'g')
" Remove all numeric specifications
" let accept_chars = substitute(accept_chars, ',\d\{-},', ',', 'g')
let accept_chars = substitute(accept_chars, ',\@<=\d\{-},', '', 'g')
" Remove all commas
let accept_chars = substitute(accept_chars, ',', '', 'g')
" Escape special regex characters
let accept_chars = escape(accept_chars, '\\/.*$^~[]' )
" Remove all characters that are not acceptable
let syn_list = substitute( syn_list, '[^0-9A-Za-z_ '.accept_chars.']', ' ', 'g' )
if g:omni_syntax_use_iskeyword_numeric == 1
" iskeyword can contain value like this
" 38,42,43,45,47-58,60-62,64-90,97-122,_,+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
" Numeric values convert to their ASCII equivalent using the
" nr2char() function.
" & 38
" * 42
" + 43
" - 45
" ^ 94
" Iterate through all numeric specifications and convert those
" to their ascii equivalent ensuring the character is printable.
" If so, add it to the list.
let accepted_chars = ''
for item in split(&iskeyword, ',')
if item =~ '\d-\d'
" This is a character range (ie 47-58),
" cycle through each character within the range
let [b:start, b:end] = split(item, '-')
for range_item in range( b:start, b:end )
if range_item <= 127 || g:omni_syntax_use_single_byte == 0
if nr2char(range_item) =~ '\p'
let accepted_chars = accepted_chars . nr2char(range_item)
endif
endif
endfor
elseif item =~ '^\d\+$'
" Only numeric, translate to a character
if item < 127 || g:omni_syntax_use_single_byte == 0
if nr2char(item) =~ '\p'
let accepted_chars = accepted_chars . nr2char(item)
endif
endif
else
if char2nr(item) < 127 || g:omni_syntax_use_single_byte == 0
if item =~ '\p'
let accepted_chars = accepted_chars . item
endif
endif
endif
endfor
" Escape special regex characters
" Looks like the wrong chars are escaped. In a collection,
" :h /[]
" only `]', `\', `-' and `^' are special:
" let accepted_chars = escape(accepted_chars, '\\/.*$^~[]' )
let accepted_chars = escape(accepted_chars, ']\-^' )
" Remove all characters that are not acceptable
let syn_list = substitute( syn_list, '[^A-Za-z'.accepted_chars.']', ' ', 'g' )
else
let accept_chars = ','.&iskeyword.','
" Remove all character ranges
" let accept_chars = substitute(accept_chars, ',[^,]\+-[^,]\+,', ',', 'g')
let accept_chars = substitute(accept_chars, ',\@<=[^,]\+-[^,]\+,', '', 'g')
" Remove all numeric specifications
" let accept_chars = substitute(accept_chars, ',\d\{-},', ',', 'g')
let accept_chars = substitute(accept_chars, ',\@<=\d\{-},', '', 'g')
" Remove all commas
let accept_chars = substitute(accept_chars, ',', '', 'g')
" Escape special regex characters
" Looks like the wrong chars are escaped. In a collection,
" :h /[]
" only `]', `\', `-' and `^' are special:
" let accept_chars = escape(accept_chars, '\\/.*$^~[]' )
let accept_chars = escape(accept_chars, ']\-^' )
" Remove all characters that are not acceptable
let syn_list = substitute( syn_list, '[^0-9A-Za-z_'.accept_chars.']', ' ', 'g' )
endif
endif
if b:omni_syntax_minimum_length > 0
@@ -448,3 +729,27 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
return syn_list
endfunction
function! OmniSyntaxShowChars(spec)
let result = []
for item in split(a:spec, ',')
if len(item) > 1
if item == '@-@'
call add(result, char2nr(item))
else
call extend(result, call('range', split(item, '-')))
endif
else
if item == '@' " assume this is [A-Za-z]
for [c1, c2] in [['A', 'Z'], ['a', 'z']]
call extend(result, range(char2nr(c1), char2nr(c2)))
endfor
else
call add(result, char2nr(item))
endif
endif
endfor
return join(map(result, 'nr2char(v:val)'), ', ')
endfunction
let &cpo = s:cpo_save
unlet s:cpo_save
+41 -14
View File
@@ -1,13 +1,13 @@
" tar.vim: Handles browsing tarfiles
" AUTOLOAD PORTION
" Date: May 31, 2011
" Version: 27
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" Date: Apr 17, 2013
" Version: 29
" Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" License: Vim License (see vim's :help license)
"
" Contains many ideas from Michael Toren's <tar.vim>
"
" Copyright: Copyright (C) 2005-2011 Charles E. Campbell, Jr. {{{1
" Copyright: Copyright (C) 2005-2011 Charles E. Campbell {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
@@ -22,7 +22,7 @@
if &cp || exists("g:loaded_tar")
finish
endif
let g:loaded_tar= "v27"
let g:loaded_tar= "v29"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of tar needs vim 7.2"
@@ -31,6 +31,7 @@ if v:version < 702
endif
let s:keepcpo= &cpo
set cpo&vim
"DechoTabOn
"call Decho("loading autoload/tar.vim")
" ---------------------------------------------------------------------
@@ -80,7 +81,7 @@ endif
" set up shell quoting character
if !exists("g:tar_shq")
if exists("&shq") && &shq != ""
if exists("+shq") && exists("&shq") && &shq != ""
let g:tar_shq= &shq
elseif has("win32") || has("win95") || has("win64") || has("win16")
if exists("g:netrw_cygwin") && g:netrw_cygwin
@@ -143,11 +144,11 @@ fun! tar#Browse(tarfile)
call setline(lastline+2,'" Browsing tarfile '.a:tarfile)
call setline(lastline+3,'" Select a file with cursor and press ENTER')
keepj $put =''
keepj 0d
keepj sil! 0d
keepj $
let tarfile= a:tarfile
if has("win32") && executable("cygpath")
if has("win32unix") && executable("cygpath")
" assuming cygwin
let tarfile=substitute(system("cygpath -u ".shellescape(tarfile,0)),'\n$','','e')
endif
@@ -158,10 +159,10 @@ fun! tar#Browse(tarfile)
elseif tarfile =~# '\.lrp'
" call Decho("2: exe silent r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.bz2$'
elseif tarfile =~# '\.\(bz2\|tbz\|tb2\)$'
" call Decho("3: exe silent r! bzip2 -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.lzma$'
elseif tarfile =~# '\.\(lzma\|tlz\)$'
" call Decho("3: exe silent r! lzma -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! lzma -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.\(xz\|txz\)$'
@@ -227,7 +228,7 @@ fun! s:TarBrowseSelect()
" about to make a new window, need to use b:tarfile
let tarfile= b:tarfile
let curfile= expand("%")
if has("win32") && executable("cygpath")
if has("win32unix") && executable("cygpath")
" assuming cygwin
let tarfile=substitute(system("cygpath -u ".shellescape(tarfile,0)),'\n$','','e')
endif
@@ -239,6 +240,8 @@ fun! s:TarBrowseSelect()
let s:tblfile_{winnr()}= curfile
call tar#Read("tarfile:".tarfile.'::'.fname,1)
filetype detect
set nomod
exe 'com! -buffer -nargs=? -complete=file TarDiff :call tar#Diff(<q-args>,"'.fnameescape(fname).'")'
let &report= repkeep
" call Dret("TarBrowseSelect : s:tblfile_".winnr()."<".s:tblfile_{winnr()}.">")
@@ -252,7 +255,7 @@ fun! tar#Read(fname,mode)
set report=10
let tarfile = substitute(a:fname,'tarfile:\(.\{-}\)::.*$','\1','')
let fname = substitute(a:fname,'tarfile:.\{-}::\(.*\)$','\1','')
if has("win32") && executable("cygpath")
if has("win32unix") && executable("cygpath")
" assuming cygwin
let tarfile=substitute(system("cygpath -u ".shellescape(tarfile,0)),'\n$','','e')
endif
@@ -425,7 +428,7 @@ fun! tar#Write(fname)
if fname =~ '/'
let dirpath = substitute(fname,'/[^/]\+$','','e')
if executable("cygpath")
if has("win32unix") && executable("cygpath")
let dirpath = substitute(system("cygpath ".shellescape(dirpath, 0)),'\n','','e')
endif
call mkdir(dirpath,"p")
@@ -445,7 +448,7 @@ fun! tar#Write(fname)
let tar_secure= " "
endif
exe "w! ".fnameescape(fname)
if executable("cygpath")
if has("win32unix") && executable("cygpath")
let tarfile = substitute(system("cygpath ".shellescape(tarfile,0)),'\n','','e')
endif
@@ -500,6 +503,30 @@ fun! tar#Write(fname)
" call Dret("tar#Write")
endfun
" ---------------------------------------------------------------------
" tar#Diff: {{{2
fun! tar#Diff(userfname,fname)
" call Dfunc("tar#Diff(userfname<".a:userfname."> fname<".a:fname.")")
let fname= a:fname
if a:userfname != ""
let fname= a:userfname
endif
if filereadable(fname)
" sets current file (from tarball) for diff'ing
" splits window vertically
" opens original file, sets it for diff'ing
" sets up b:tardiff_otherbuf variables so each buffer knows about the other (for closing purposes)
diffthis
wincmd v
exe "e ".fnameescape(fname)
diffthis
else
redraw!
echo "***warning*** unable to read file<".fname.">"
endif
" call Dret("tar#Diff")
endfun
" ---------------------------------------------------------------------
" s:Rmdir: {{{2
fun! s:Rmdir(fname)
+181 -16
View File
@@ -1,6 +1,6 @@
" Vim autoload file for the tohtml plugin.
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
" Last Change: 2011 Apr 05
" Last Change: 2013 Jun 19
"
" Additional contributors:
"
@@ -11,7 +11,7 @@
" this file uses line continuations
let s:cpo_sav = &cpo
set cpo-=C
set cpo&vim
" Automatically find charsets from all encodings supported natively by Vim. With
" the 8bit- and 2byte- prefixes, Vim can actually support more encodings than
@@ -391,12 +391,25 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
call add(html, '<meta name="plugin-version" content="'.g:loaded_2html_plugin.'"'.tag_close)
call add(html, '<meta name="settings" content="'.
\ join(filter(keys(s:settings),'s:settings[v:val]'),',').
\ ',prevent_copy='.s:settings.prevent_copy.
\ '"'.tag_close)
call add(html, '<meta name="colorscheme" content="'.
\ (exists('g:colors_name')
\ ? g:colors_name
\ : 'none'). '"'.tag_close)
call add(html, '</head>')
let body_line_num = len(html)
call add(html, '<body>')
call add(html, '<table border="1" width="100%">')
if !empty(s:settings.prevent_copy)
call add(html, "<body onload='FixCharWidth();".(s:settings.line_ids ? " JumpToLine();" : "")."'>")
call add(html, "<!-- hidden divs used by javascript to get the width of a char -->")
call add(html, "<div id='oneCharWidth'>0</div>")
call add(html, "<div id='oneInputWidth'><input size='1' value='0'".tag_close."</div>")
call add(html, "<div id='oneEmWidth' style='width: 1em;'></div>")
else
call add(html, '<body'.(s:settings.line_ids ? ' onload="JumpToLine();"' : '').'>')
endif
call add(html, "<table border='1' width='100%' id='vimCodeElement".s:settings.id_suffix."'>")
call add(html, '<tr>')
for buf in a:win_list
@@ -454,16 +467,19 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
let insert_index = diff_style_start
endif
" Delete those parts that are not needed so
" we can include the rest into the resulting table
1,/^<body/d_
" Delete those parts that are not needed so we can include the rest into the
" resulting table.
1,/^<body.*\%(\n<!--.*-->\_s\+.*id='oneCharWidth'.*\_s\+.*id='oneInputWidth'.*\_s\+.*id='oneEmWidth'\)\?\zs/d_
$
?</body>?,$d_
let temp = getline(1,'$')
" clean out id on the main content container because we already set it on
" the table
let temp[0] = substitute(temp[0], " id='vimCodeElement[^']*'", "", "")
" undo deletion of start and end part
" so we can later save the file as valid html
" TODO: restore using grabbed lines if undolevel is 1?
normal 2u
normal! 2u
if s:settings.use_css
call add(html, '<td valign="top"><div>')
elseif s:settings.use_xhtml
@@ -487,6 +503,11 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
call add(html, s:body_end_line)
call add(html, '</html>')
" The generated HTML is admittedly ugly and takes a LONG time to fold.
" Make sure the user doesn't do syntax folding when loading a generated file,
" using a modeline.
call add(html, '<!-- vim: set foldmethod=manual : -->')
let i = 1
let name = "Diff" . (s:settings.use_xhtml ? ".xhtml" : ".html")
" Find an unused file name if current file name is already in use
@@ -520,12 +541,94 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
1
let style_start = search('^</head>')-1
" Insert javascript to toggle matching folds open and closed in all windows,
" if dynamic folding is active. {{{
" add required javascript in reverse order so we can just call append again
" and again without adjusting {{{
" insert script closing tag
call append(style_start, [
\ '',
\ s:settings.use_xhtml ? '//]]>' : '-->',
\ "</script>"
\ ])
" insert script which corrects the size of small input elements in
" prevent_copy mode. See 2html.vim for details on why this is needed and how
" it works.
if !empty(s:settings.prevent_copy)
call append(style_start, [
\ '',
\ '/* simulate a "ch" unit by asking the browser how big a zero character is */',
\ 'function FixCharWidth() {',
\ ' /* get the hidden element which gives the width of a single character */',
\ ' var goodWidth = document.getElementById("oneCharWidth").clientWidth;',
\ ' /* get all input elements, we''ll filter on class later */',
\ ' var inputTags = document.getElementsByTagName("input");',
\ ' var ratio = 5;',
\ ' var inputWidth = document.getElementById("oneInputWidth").clientWidth;',
\ ' var emWidth = document.getElementById("oneEmWidth").clientWidth;',
\ ' if (inputWidth > goodWidth) {',
\ ' while (ratio < 100*goodWidth/emWidth && ratio < 100) {',
\ ' ratio += 5;',
\ ' }',
\ ' document.getElementById("vimCodeElement'.s:settings.id_suffix.'").className = "em"+ratio;',
\ ' }',
\ '}'
\ ])
endif
"
" insert javascript to get IDs from line numbers, and to open a fold before
" jumping to any lines contained therein
call append(style_start, [
\ " /* Always jump to new location even if the line was hidden inside a fold, or",
\ " * we corrected the raw number to a line ID.",
\ " */",
\ " if (lineElem) {",
\ " lineElem.scrollIntoView(true);",
\ " }",
\ " return true;",
\ "}",
\ "if ('onhashchange' in window) {",
\ " window.onhashchange = JumpToLine;",
\ "}"
\ ])
if s:settings.dynamic_folds
call append(style_start, [
\ "",
\ " /* navigate upwards in the DOM tree to open all folds containing the line */",
\ " var node = lineElem;",
\ " while (node && node.id != 'vimCodeElement".s:settings.id_suffix."')",
\ " {",
\ " if (node.className == 'closed-fold')",
\ " {",
\ " /* toggle open the fold ID (remove window ID) */",
\ " toggleFold(node.id.substr(4));",
\ " }",
\ " node = node.parentNode;",
\ " }",
\ ])
endif
call append(style_start, [
\ "",
\ "/* function to open any folds containing a jumped-to line before jumping to it */",
\ "function JumpToLine()",
\ "{",
\ " var lineNum;",
\ " lineNum = window.location.hash;",
\ " lineNum = lineNum.substr(1); /* strip off '#' */",
\ "",
\ " if (lineNum.indexOf('L') == -1) {",
\ " lineNum = 'L'+lineNum;",
\ " }",
\ " if (lineNum.indexOf('W') == -1) {",
\ " lineNum = 'W1'+lineNum;",
\ " }",
\ " lineElem = document.getElementById(lineNum);"
\ ])
" Insert javascript to toggle matching folds open and closed in all windows,
" if dynamic folding is active.
if s:settings.dynamic_folds
call append(style_start, [
\ "<script type='text/javascript'>",
\ s:settings.use_xhtml ? '//<![CDATA[' : " <!--",
\ " function toggleFold(objID)",
\ " {",
\ " for (win_num = 1; win_num <= ".len(a:buf_list)."; win_num++)",
@@ -542,10 +645,14 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
\ " }",
\ " }",
\ " }",
\ s:settings.use_xhtml ? '//]]>' : " -->",
\ "</script>"
\ ])
endif "}}}
endif
" insert script tag; javascript is always needed for the line number
" normalization for URL hashes
call append(style_start, [
\ "<script type='text/javascript'>",
\ s:settings.use_xhtml ? '//<![CDATA[' : "<!--"])
" Insert styles from all the generated html documents and additional styles
" for the table-based layout of the side-by-side diff. The diff should take
@@ -609,11 +716,13 @@ func! tohtml#GetUserSettings() "{{{
call tohtml#GetOption(user_settings, 'ignore_conceal', 0 )
call tohtml#GetOption(user_settings, 'ignore_folding', 0 )
call tohtml#GetOption(user_settings, 'dynamic_folds', 0 )
call tohtml#GetOption(user_settings, 'no_foldcolumn', 0 )
call tohtml#GetOption(user_settings, 'no_foldcolumn', user_settings.ignore_folding)
call tohtml#GetOption(user_settings, 'hover_unfold', 0 )
call tohtml#GetOption(user_settings, 'no_pre', 0 )
call tohtml#GetOption(user_settings, 'no_invalid', 0 )
call tohtml#GetOption(user_settings, 'whole_filler', 0 )
call tohtml#GetOption(user_settings, 'use_xhtml', 0 )
call tohtml#GetOption(user_settings, 'line_ids', user_settings.number_lines )
" }}}
" override those settings that need it {{{
@@ -637,6 +746,8 @@ func! tohtml#GetUserSettings() "{{{
" dynamic folding implies css
if user_settings.dynamic_folds
let user_settings.use_css = 1
else
let user_settings.no_foldcolumn = 1 " won't do anything but for consistency and for the test suite
endif
" if we're not using CSS we cannot use a pre section because <font> tags
@@ -663,6 +774,7 @@ func! tohtml#GetUserSettings() "{{{
endif
" }}}
" textual options
if exists("g:html_use_encoding") "{{{
" user specified the desired MIME charset, figure out proper
" 'fileencoding' from it or warn the user if we cannot
@@ -705,6 +817,59 @@ func! tohtml#GetUserSettings() "{{{
endif
endif "}}}
" Default to making nothing uncopyable, because we default to
" not-standards way of doing things, and also because Microsoft Word and
" others paste the <input> elements anyway.
"
" html_prevent_copy only has an effect when using CSS.
"
" All options:
" f - fold column
" n - line numbers (also within fold text)
" t - fold text
" d - diff filler
" c - concealed text (reserved future)
" l - listchars (reserved possible future)
" s - signs (reserved possible future)
"
" Normal text is always selectable.
let user_settings.prevent_copy = ""
if user_settings.use_css
if exists("g:html_prevent_copy")
if user_settings.dynamic_folds && !user_settings.no_foldcolumn && g:html_prevent_copy =~# 'f'
let user_settings.prevent_copy .= 'f'
endif
if user_settings.number_lines && g:html_prevent_copy =~# 'n'
let user_settings.prevent_copy .= 'n'
endif
if &diff && g:html_prevent_copy =~# 'd'
let user_settings.prevent_copy .= 'd'
endif
if !user_settings.ignore_folding && g:html_prevent_copy =~# 't'
let user_settings.prevent_copy .= 't'
endif
else
let user_settings.prevent_copy = ""
endif
endif
if empty(user_settings.prevent_copy)
let user_settings.no_invalid = 0
endif
if exists('g:html_id_expr')
let user_settings.id_suffix = eval(g:html_id_expr)
if user_settings.id_suffix !~ '^[-_:.A-Za-z0-9]*$'
echohl WarningMsg
echomsg '2html: g:html_id_expr evaluated to invalid string for HTML id attributes'
echomsg '2html: Omitting user-specified suffix'
echohl None
sleep 3
let user_settings.id_suffix=""
endif
else
let user_settings.id_suffix=""
endif
" TODO: font
return user_settings
+30 -5
View File
@@ -1,7 +1,7 @@
" vimball.vim : construct a file containing both paths and files
" Author: Charles E. Campbell, Jr.
" Date: Apr 02, 2011
" Version: 33
" Date: Jan 17, 2012
" Version: 35
" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
" Copyright: (c) 2004-2011 by Charles E. Campbell, Jr.
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt
@@ -14,7 +14,7 @@
if &cp || exists("g:loaded_vimball")
finish
endif
let g:loaded_vimball = "v33"
let g:loaded_vimball = "v35"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of vimball needs vim 7.2"
@@ -220,7 +220,16 @@ fun! vimball#Vimball(really,...)
" go to vim plugin home
if a:0 > 0
" let user specify the directory where the vimball is to be unpacked.
" If, however, the user did not specify a full path, set the home to be below the current directory
let home= expand(a:1)
if has("win32") || has("win95") || has("win64") || has("win16")
if home !~ '^\a:[/\\]'
let home= getcwd().'/'.a:1
endif
elseif home !~ '^/'
let home= getcwd().'/'.a:1
endif
else
let home= vimball#VimballHome()
endif
@@ -282,11 +291,14 @@ fun! vimball#Vimball(really,...)
" call Decho("making directories if they don't exist yet (fname<".fname.">)")
let fnamebuf= substitute(fname,'\\','/','g')
let dirpath = substitute(home,'\\','/','g')
" call Decho("init: fnamebuf<".fnamebuf.">")
" call Decho("init: dirpath <".dirpath.">")
while fnamebuf =~ '/'
let dirname = dirpath."/".substitute(fnamebuf,'/.*$','','')
let dirpath = dirname
let fnamebuf = substitute(fnamebuf,'^.\{-}/\(.*\)$','\1','')
" call Decho("dirname<".dirname.">")
" call Decho("dirpath<".dirpath.">")
if !isdirectory(dirname)
" call Decho("making <".dirname.">")
if exists("g:vimball_mkdir")
@@ -569,9 +581,19 @@ endfun
fun! s:ChgDir(newdir)
" call Dfunc("ChgDir(newdir<".a:newdir.">)")
if (has("win32") || has("win95") || has("win64") || has("win16"))
exe 'silent cd '.fnameescape(substitute(a:newdir,'/','\\','g'))
try
exe 'silent cd '.fnameescape(substitute(a:newdir,'/','\\','g'))
catch /^Vim\%((\a\+)\)\=:E/
call mkdir(fnameescape(substitute(a:newdir,'/','\\','g')))
exe 'silent cd '.fnameescape(substitute(a:newdir,'/','\\','g'))
endtry
else
exe 'silent cd '.fnameescape(a:newdir)
try
exe 'silent cd '.fnameescape(a:newdir)
catch /^Vim\%((\a\+)\)\=:E/
call mkdir(fnameescape(a:newdir))
exe 'silent cd '.fnameescape(a:newdir)
endtry
endif
" call Dret("ChgDir : curdir<".getcwd().">")
endfun
@@ -745,6 +767,9 @@ fun! vimball#RestoreSettings()
" call Dret("RestoreSettings")
endfun
let &cpo = s:keepcpo
unlet s:keepcpo
" ---------------------------------------------------------------------
" Modelines: {{{1
" vim: fdm=marker
+4 -4
View File
@@ -1,7 +1,7 @@
" Vim completion script
" Language: XML
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
" Last Change: 2006 Aug 15
" Last Change: 2013 Jun 29
" Version: 1.9
"
" Changelog:
@@ -475,12 +475,12 @@ function! s:InCommentAt(line, col)
endfunction
function! s:SetKeywords()
let g:IsKeywordBak=&iskeyword
let &iskeyword='33-255'
let s:IsKeywordBak=&l:iskeyword
let &l:iskeyword='33-255'
endfunction
function! s:RestoreKeywords()
let &iskeyword=g:IsKeywordBak
let &l:iskeyword=s:IsKeywordBak
endfunction
function! s:Push(el, sname)
+37 -14
View File
@@ -1,10 +1,10 @@
" zip.vim: Handles browsing zipfiles
" AUTOLOAD PORTION
" Date: May 24, 2011
" Version: 24
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" Date: Jul 02, 2013
" Version: 27
" Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" License: Vim License (see vim's :help license)
" Copyright: Copyright (C) 2005-2011 Charles E. Campbell, Jr. {{{1
" Copyright: Copyright (C) 2005-2013 Charles E. Campbell {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
@@ -13,13 +13,14 @@
" this plugin, you agree that in no event will the copyright
" holder be liable for any damages resulting from the use
" of this software.
"redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore()
" ---------------------------------------------------------------------
" Load Once: {{{1
if &cp || exists("g:loaded_zip")
finish
endif
let g:loaded_zip= "v24"
let g:loaded_zip= "v27"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of zip needs vim 7.2"
@@ -28,6 +29,7 @@ if v:version < 702
endif
let s:keepcpo= &cpo
set cpo&vim
"DechoTabOn
let s:zipfile_escape = ' ?&;\'
let s:ERROR = 2
@@ -60,6 +62,16 @@ endif
" zip#Browse: {{{2
fun! zip#Browse(zipfile)
" call Dfunc("zip#Browse(zipfile<".a:zipfile.">)")
" sanity check: insure that the zipfile has "PK" as its first two letters
" (zipped files have a leading PK as a "magic cookie")
if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK'
exe "noautocmd e ".fnameescape(a:zipfile)
" call Dret("zip#Browse : not a zipfile<".a:zipfile.">")
return
" else " Decho
" call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - its a zip file")
endif
let repkeep= &report
set report=10
@@ -104,12 +116,12 @@ fun! zip#Browse(zipfile)
" give header
call append(0, ['" zip.vim version '.g:loaded_zip,
\ '" Browsing zipfile '.a:zipfile,
\ '" Select a file with cursor and press ENTER'])
\ '" Browsing zipfile '.a:zipfile,
\ '" Select a file with cursor and press ENTER'])
keepj $
" call Decho("exe silent r! ".g:zip_unzipcmd." -l -- ".s:Escape(a:zipfile,1))
exe "silent r! ".g:zip_unzipcmd." -Z -1 -- ".s:Escape(a:zipfile,1)
exe "keepj sil! r! ".g:zip_unzipcmd." -Z -1 -- ".s:Escape(a:zipfile,1)
if v:shell_error != 0
redraw!
echohl WarningMsg | echo "***warning*** (zip#Browse) ".fnameescape(a:zipfile)." is not a zip file" | echohl None
@@ -188,17 +200,28 @@ fun! zip#Read(fname,mode)
else
let zipfile = substitute(a:fname,'^.\{-}zipfile:\(.\{-}\)::[^\\].*$','\1','')
let fname = substitute(a:fname,'^.\{-}zipfile:.\{-}::\([^\\].*\)$','\1','')
let fname = substitute(fname, '[', '[[]', 'g')
let fname = substitute(fname, '[', '[[]', 'g')
endif
" call Decho("zipfile<".zipfile.">")
" call Decho("fname <".fname.">")
" call Decho("exe r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1))
exe "keepj sil! r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1)
" the following code does much the same thing as
" exe "keepj sil! r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1)
" but allows zipfile:... entries in quickfix lists
let temp = tempname()
" call Decho("using temp file<".temp.">")
let fn = expand('%:p')
exe "sil! !".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1).' > '.temp
" call Decho("exe sil! !".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1).' > '.temp)
sil exe 'keepalt file '.temp
sil keepj e!
sil exe 'keepalt file '.fnameescape(fn)
call delete(temp)
filetype detect
" cleanup
keepj 0d
" keepj 0d " used to be needed for the ...r! ... method
set nomod
let &report= repkeep
@@ -267,7 +290,7 @@ fun! zip#Write(fname)
if fname =~ '/'
let dirpath = substitute(fname,'/[^/]\+$','','e')
if executable("cygpath")
if has("win32unix") && executable("cygpath")
let dirpath = substitute(system("cygpath ".s:Escape(dirpath,0)),'\n','','e')
endif
" call Decho("mkdir(dirpath<".dirpath.">,p)")
@@ -279,7 +302,7 @@ fun! zip#Write(fname)
" call Decho("zipfile<".zipfile."> fname<".fname.">")
exe "w! ".fnameescape(fname)
if executable("cygpath")
if has("win32unix") && executable("cygpath")
let zipfile = substitute(system("cygpath ".s:Escape(zipfile,0)),'\n','','e')
endif
+3 -1
View File
@@ -2,7 +2,7 @@
" vim: tw=0 ts=4 sw=4
" Vim color file
" Maintainer: Ron Aaron <ron@ronware.org>
" Last Change: 2006 Dec 10
" Last Change: 2013 May 23
hi clear
set background=dark
@@ -43,6 +43,8 @@ hi MatchParen term=reverse ctermfg=blue guibg=Blue
hi TabLine term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white
hi TabLineFill term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white
hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
hi Underlined term=underline cterm=bold,underline ctermfg=lightblue guifg=lightblue gui=bold,underline
hi Ignore ctermfg=black ctermbg=black guifg=black guibg=black
hi link IncSearch Visual
hi link String Constant
hi link Character Constant
+5 -3
View File
@@ -2,7 +2,7 @@
" vim: tw=0 ts=4 sw=4
" Vim color file
" Maintainer: Ron Aaron <ron@ronware.org>
" Last Change: 2003 May 02
" Last Change: 2013 May 24
set background=dark
hi clear
@@ -11,7 +11,7 @@ if exists("syntax_on")
endif
let g:colors_name = "ron"
hi Normal guifg=cyan guibg=black
hi NonText guifg=brown
hi NonText guifg=yellow guibg=#303030
hi comment guifg=green
hi constant guifg=cyan gui=bold
hi identifier guifg=cyan gui=NONE
@@ -24,10 +24,11 @@ hi WarningMsg guifg=Black guibg=Green
hi Error guibg=Red
hi Todo guifg=Black guibg=orange
hi Cursor guibg=#60a060 guifg=#00ff00
hi Search guibg=lightslateblue
hi Search guibg=darkgray guifg=black gui=bold
hi IncSearch gui=NONE guibg=steelblue
hi LineNr guifg=darkgrey
hi title guifg=darkgrey
hi ShowMarksHL ctermfg=cyan ctermbg=lightblue cterm=bold guifg=yellow guibg=black gui=bold
hi StatusLineNC gui=NONE guifg=lightblue guibg=darkblue
hi StatusLine gui=bold guifg=cyan guibg=blue
hi label guifg=gold2
@@ -41,3 +42,4 @@ hi DiffDelete guibg=coral
hi Folded guibg=gray30
hi FoldColumn guibg=gray30 guifg=white
hi cIf0 guifg=gray
hi diffOnly guifg=red gui=bold
+3 -4
View File
@@ -1,8 +1,7 @@
" Vim compiler file
" Compiler: Checkstyle
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/checkstyle.vim
" Last Change: 2004 Nov 27
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jun 26
if exists("current_compiler")
finish
@@ -17,4 +16,4 @@ CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain
" sample error: WebTable.java:282: '+=' is not preceeded with whitespace.
" WebTable.java:201:1: '{' should be on the previous line.
CompilerSet errorformat=%f:%l:\ %m,%f:%l:%v:\ %m,%-G%.%#
CompilerSet errorformat=%f:%l:%v:\ %m,%f:%l:\ %m,%-G%.%#
+6 -1
View File
@@ -2,12 +2,14 @@
" Compiler: Microsoft Visual Studio C#
" Maintainer: Zhou YiChao (broken.zhou@gmail.com)
" Previous Maintainer: Joseph H. Yao (hyao@sina.com)
" Last Change: 2011 Apr 21
" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "cs"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
\%tarning%*[^:]:\ %m
CompilerSet makeprg=csc\ %
let &cpo = s:keepcpo
unlet s:keepcpo
+6 -3
View File
@@ -15,11 +15,11 @@
" Help Page: compiler-decada
"------------------------------------------------------------------------------
if (exists("current_compiler") &&
\ current_compiler == "decada") ||
\ version < 700
if (exists("current_compiler") && current_compiler == "decada") || version < 700
finish
endif
let s:keepcpo= &cpo
set cpo&vim
let current_compiler = "decada"
@@ -44,6 +44,9 @@ endif
execute "CompilerSet makeprg=" . escape (g:decada.Make_Command, ' ')
execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
let &cpo = s:keepcpo
unlet s:keepcpo
finish " 1}}}
"------------------------------------------------------------------------------
+13
View File
@@ -0,0 +1,13 @@
" Vim compiler file
" Compiler: Erlang
" Maintainer: Dmitry Vasiliev <dima at hlabs dot org>
" Last Change: 2012-02-13
if exists("current_compiler")
finish
endif
let current_compiler = "erlang"
CompilerSet makeprg=erlc\ -Wall\ %
CompilerSet errorformat=%f:%l:\ %m
+1 -3
View File
@@ -1,9 +1,7 @@
" Vim compiler file
" Language: eRuby
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2008 Aug 1
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" URL: https://github.com/vim-ruby/vim-ruby
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
+6 -1
View File
@@ -1,7 +1,7 @@
" Compiler: G95
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.3
" Last Change: 2011 Apr 01
" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3492
" https://bitbucket.org/xuhdev/compiler-g95.vim
" License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
finish
endif
let current_compiler = 'g95'
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -21,3 +23,6 @@ CompilerSet errorformat=
\%-Z%trror:\ %m,
\%-Z%tarning\ (%n):\ %m,
\%-C%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+1 -1
View File
@@ -9,7 +9,7 @@ endif
let current_compiler = "gcc"
let s:cpo_save = &cpo
set cpo-=C
set cpo&vim
CompilerSet errorformat=
\%*[^\"]\"%f\"%*\\D%l:%c:\ %m,
+6 -1
View File
@@ -1,7 +1,7 @@
" Compiler: GNU Fortran Compiler
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.3
" Last Change: 19 March 2011
" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3496
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
" License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
finish
endif
let current_compiler = 'gfortran'
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -20,3 +22,6 @@ CompilerSet errorformat=
\%-Z%trror:\ %m,
\%-Z%tarning:\ %m,
\%-C%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+6 -3
View File
@@ -17,11 +17,11 @@
" Help Page: compiler-gnat
"------------------------------------------------------------------------------
if (exists("current_compiler") &&
\ current_compiler == "gnat") ||
\ version < 700
if (exists("current_compiler")&& current_compiler == "gnat") || version < 700
finish
endif
let s:keepcpo= &cpo
set cpo&vim
let current_compiler = "gnat"
@@ -62,6 +62,9 @@ endif
execute "CompilerSet makeprg=" . escape (g:gnat.Get_Command('Make'), ' ')
execute "CompilerSet errorformat=" . escape (g:gnat.Error_Format, ' ')
let &cpo = s:keepcpo
unlet s:keepcpo
finish " 1}}}
"------------------------------------------------------------------------------
+28
View File
@@ -0,0 +1,28 @@
" Vim compiler file
" Compiler: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Last Change: 2013 May 30
if exists("current_compiler")
finish
endif
let current_compiler = "haml"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=haml\ -c
CompilerSet errorformat=
\Haml\ %trror\ on\ line\ %l:\ %m,
\Syntax\ %trror\ on\ line\ %l:\ %m,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+6 -1
View File
@@ -2,7 +2,7 @@
" Compiler: HP aCC
" Maintainer: Matthias Ulrich <matthias-ulrich@web.de>
" URL: http://www.subhome.de/vim/hp_acc.vim
" Last Change: 2005 Nov 19
" Last Change: 2012 Apr 30
"
" aCC --version says: "HP ANSI C++ B3910B A.03.13"
" This compiler has been tested on:
@@ -19,6 +19,8 @@ if exists("current_compiler")
finish
endif
let current_compiler = "hp_acc"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -30,4 +32,7 @@ CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m,
\%Z\ \ \ \ %p^%.%#,
\%-C%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
" vim:ts=8:sw=4:cindent
+6 -1
View File
@@ -1,7 +1,7 @@
" Compiler: Intel Fortran Compiler
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.1
" Last Change: 19 March 2011
" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3497
" https://bitbucket.org/xuhdev/compiler-ifort.vim
" License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
finish
endif
let current_compiler = 'ifort'
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -20,3 +22,6 @@ CompilerSet errorformat=
\%A%f(%l):\ %tarning\ \#%n:\ %m,
\%-Z%p^,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+6 -1
View File
@@ -1,12 +1,14 @@
" Vim compiler file
" Compiler: Intel C++ 7.1
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2004 May 16
" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "intel"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%E%f(%l):\ error:\ %m,
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+6 -1
View File
@@ -1,12 +1,14 @@
" Vim compiler file
" Compiler: SGI IRIX 5.3 cc
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2004 Mar 27
" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "irix5_c"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=\%Ecfe:\ Error:\ %f\\,\ line\ %l:\ %m,
\%-Z\ %p^,
\-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+6 -1
View File
@@ -1,12 +1,14 @@
" Vim compiler file
" Compiler: SGI IRIX 5.3 CC or NCC
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2004 Mar 27
" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "irix5_cpp"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%E\"%f\"\\,\ line\ %l:\ error(%n):\ ,
\%-Z\ \ %p%^,
\%+C\ %\\{10}%.%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+3 -4
View File
@@ -1,8 +1,7 @@
" Vim compiler file
" Compiler: javac
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/javac.vim
" Last Change: 2004 Nov 27
" Compiler: javac
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2004 Nov 27
if exists("current_compiler")
finish
+8 -2
View File
@@ -1,7 +1,8 @@
" Vim compiler file
" Compiler: Mono C# Compiler
" Maintainer: Jarek Sobiecki <harijari@go2.pl>
" Latest Revision: 2006-06-18
" Last Updated By: Peter Collingbourne
" Latest Revision: 2012 Jul 19
if exists("current_compiler")
finish
@@ -12,13 +13,18 @@ let s:cpo_save = &cpo
set cpo-=C
setlocal errorformat=
\%D%.%#Project\ \"%f/%[%^/\"]%#\"%.%#,
\%X%.%#Done\ building\ project\ \"%f/%[%^/\"]%#\"%.%#,
\%-G%\\s%.%#,
\%E%f(%l):\ error\ CS%n:%m,
\%W%f(%l):\ warning\ CS%n:%m,
\%E%f(%l\\,%c):\ error\ CS%n:%m,
\%W%f(%l\\,%c):\ warning\ CS%n:%m,
\%E%>syntax\ error\\,%m,%Z%f(%l\\,%c):\ error\ CS%n:%m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
\%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
\%DMaking\ %*\\a\ in\ %f,
\%G-%.%#
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
+6 -1
View File
@@ -1,12 +1,14 @@
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPS C (cc)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2004 Mar 27
" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "mips_c"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+6 -1
View File
@@ -1,12 +1,14 @@
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPSPro C (c89)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2004 Mar 27
" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "mipspro_c89"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -20,3 +22,6 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
\%+C\ \ %m,
\%-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+6 -1
View File
@@ -1,12 +1,14 @@
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPSPro C++ (CC)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2004 Mar 27
" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "mipspro_cpp"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+21
View File
@@ -0,0 +1,21 @@
" Vim compiler file
" Compiler: Microsoft Visual Studio C#
" Maintainer: Chiel ten Brinke (ctje92@gmail.com)
" Last Change: 2013 May 13
if exists("current_compiler")
finish
endif
let current_compiler = "msbuild"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
CompilerSet makeprg=msbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true
let &cpo = s:keepcpo
unlet s:keepcpo
+44
View File
@@ -0,0 +1,44 @@
" Vim Compiler File
" Compiler: ocaml
" Maintainer: See ftplugin/ocaml.vim (?)
" Last Change: June 2013 by Marc Weber
"
" Marc Weber's comments:
" Setting makeprg doesn't make sense, because there is ocamlc, ocamlopt,
" ocamake and whatnot. So which one to use?
"
" This error format was moved from ftplugin/ocaml.vim to this file,
" because ftplugin is the wrong file to set an error format
" and the error format itself is annoying because it joins many lines in this
" error case:
"
" Error: The implementation foo.ml does not match the interface foo.cmi:
" Modules do not match case.
"
" So having it here makes people opt-in
if exists("current_compiler")
finish
endif
let current_compiler = "ocaml"
let s:cpo_save = &cpo
set cpo&vim
CompilerSet errorformat =
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d:,
\%EFile\ \"%f\"\\,\ line\ %l\\,\ character\ %c:%m,
\%+EReference\ to\ unbound\ regexp\ name\ %m,
\%Eocamlyacc:\ e\ -\ line\ %l\ of\ \"%f\"\\,\ %m,
\%Wocamlyacc:\ w\ -\ %m,
\%-Zmake%.%#,
\%C%m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
\%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
\%D%*\\a:\ Entering\ directory\ `%f',
\%X%*\\a:\ Leaving\ directory\ `%f',
\%DMaking\ %*\\a\ in\ %f
let &cpo = s:cpo_save
unlet s:cpo_save
+8 -10
View File
@@ -1,8 +1,7 @@
" Vim compiler file
" Compiler: PHP
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/php.vim
" Last Change: 2004 Nov 27
" Compiler: PHP CLI
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jun 25
if exists("current_compiler")
finish
@@ -17,12 +16,11 @@ let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=php\ -lq
CompilerSet errorformat=%E<b>Parse\ error</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%W<b>Notice</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%EParse\ error:\ %m\ in\ %f\ on\ line\ %l,
\%WNotice:\ %m\ in\ %f</b>\ on\ line\ %l,
\%-G%.%#
CompilerSet errorformat=%E<b>%.%#Parse\ error</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%W<b>%.%#Notice</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%E%.%#Parse\ error:\ %m\ in\ %f\ on\ line\ %l,
\%W%.%#Notice:\ %m\ in\ %f\ on\ line\ %l,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
+35
View File
@@ -0,0 +1,35 @@
" Vim compiler file
" Language: Rake
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" URL: https://github.com/vim-ruby/vim-ruby
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
finish
endif
let current_compiler = "rake"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=rake
CompilerSet errorformat=
\%D(in\ %f),
\%\\s%#from\ %f:%l:%m,
\%\\s%#from\ %f:%l:,
\%\\s%##\ %f:%l:%m,
\%\\s%##\ %f:%l,
\%\\s%#[%f:%l:\ %#%m,
\%\\s%#%f:%l:\ %#%m,
\%\\s%#%f:%l:,
\%m\ [%f:%l]:
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
+7 -15
View File
@@ -1,9 +1,7 @@
" Vim compiler file
" Language: RSpec
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Last Change: 2009 Dec 22
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" URL: https://github.com/vim-ruby/vim-ruby
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
@@ -18,21 +16,15 @@ endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=spec
CompilerSet makeprg=rspec
CompilerSet errorformat=
\%+W'%.%#'\ FAILED,
\%+I'%.%#'\ FIXED,
\%-Cexpected:%.%#,
\%-C\ \ \ \ \ got:%.%#,
\%f:%l:\ %tarning:\ %m,
\%E%.%#:in\ `load':\ %f:%l:%m,
\%C%f:%l:,
\%W%f:%l:\ warning:\ %m,
\%E%f:%l:in\ %*[^:]:\ %m,
\%E%f:%l:\ %m,
\%-Z%\tfrom\ %f:%l,
\%-Z%p^%.%#,
\%-C%.%#,
\%E%f:%l:in\ `%*[^']':\ %m,
\%-Z\ \ \ \ \ \#\ %f:%l:%.%#,
\%E\ \ %\\d%\\+)%.%#,
\%C\ \ \ \ \ %m,
\%-G%.%#
let &cpo = s:cpo_save
+1 -1
View File
@@ -9,7 +9,7 @@ endif
let current_compiler = "rst"
let s:cpo_save = &cpo
set cpo-=C
set cpo&vim
setlocal errorformat=
\%f:%l:\ (%tEBUG/0)\ %m,
+2 -25
View File
@@ -1,33 +1,10 @@
" Vim compiler file
" Language: Ruby
" Function: Syntax check and/or error reporting
" Maintainer: Tim Hammerquist <timh at rubyforge.org>
" Last Change: 2008 Aug 1
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" URL: https://github.com/vim-ruby/vim-ruby
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
" ----------------------------------------------------------------------------
"
" Changelog:
" 0.2: script saves and restores 'cpoptions' value to prevent problems with
" line continuations
" 0.1: initial release
"
" Contributors:
" Hugh Sasse <hgs@dmu.ac.uk>
" Doug Kearns <djkea2@gus.gscit.monash.edu.au>
"
" Todo:
" match error type %m
"
" Comments:
" I know this file isn't perfect. If you have any questions, suggestions,
" patches, etc., please don't hesitate to let me know.
"
" This is my first experience with 'errorformat' and compiler plugins and
" I welcome any input from more experienced (or clearer-thinking)
" individuals.
" ----------------------------------------------------------------------------
if exists("current_compiler")
finish
+1 -3
View File
@@ -1,9 +1,7 @@
" Vim compiler file
" Language: Test::Unit - Ruby Unit Testing Framework
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2008 Aug 1
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" URL: https://github.com/vim-ruby/vim-ruby
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
+30
View File
@@ -0,0 +1,30 @@
" Vim compiler file
" Compiler: Sass
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Last Change: 2013 May 30
if exists("current_compiler")
finish
endif
let current_compiler = "sass"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=sass\ -c
CompilerSet errorformat=
\%f:%l:%m\ (Sass::Syntax%trror),
\%ESyntax\ %trror:%m,
\%C%\\s%\\+on\ line\ %l\ of\ %f,
\%Z%.%#,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+8 -6
View File
@@ -1,8 +1,7 @@
" Vim compiler file
" Compiler: se (SmartEiffel Compiler)
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/se.vim
" Last Change: 2004 Nov 27
" Compiler: se (Liberty Eiffel Compiler)
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jun 29
if exists("current_compiler")
finish
@@ -16,12 +15,15 @@ endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=compile\ %
CompilerSet makeprg=se\ c
CompilerSet errorformat=%W******\ Warning:\ %m,
\%E******\ Fatal\ Error:\ %m,
\%E******\ Error:\ %m,
\%CLine\ %l\ column\ %c\ in\ %\\w%\\+\ (%f)\ :,
\%ZLine\ %l\ column\ %c\ in\ %.%#\ (%f)\ %\\=:,
\%ZLine\ %l\ columns\ %c\\,\ %\\d%\\+\ %.%#\ (%f)\ %\\=:,
\%+C%*[^\ ]%.%#,
\%-GThe\ source\ lines\ involved,
\%-G%.%#
let &cpo = s:cpo_save
+1 -2
View File
@@ -1,7 +1,6 @@
" Vim compiler file
" Compiler: tcl
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/tcl.vim
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2004 Nov 27
if exists("current_compiler")
+5 -6
View File
@@ -1,11 +1,13 @@
" Vim compiler file
" Compiler: TeX
" Maintainer: Artem Chuprina <ran@ran.pp.ru>
" Last Change: 2004 Mar 27
" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -30,9 +32,6 @@ else
let current_compiler = 'make'
endif
let s:cpo_save = &cpo
set cpo-=C
" Value errorformat are taken from vim help, see :help errorformat-LaTeX, with
" addition from Srinath Avadhanula <srinath@fastmail.fm>
CompilerSet errorformat=%E!\ LaTeX\ %trror:\ %m,
@@ -64,5 +63,5 @@ CompilerSet errorformat=%E!\ LaTeX\ %trror:\ %m,
\%+Q%*[^()])%r,
\%+Q[%\\d%*[^()])%r
let &cpo = s:cpo_save
unlet s:cpo_save
let &cpo = s:keepcpo
unlet s:keepcpo
+3 -13
View File
@@ -1,11 +1,7 @@
" Vim compiler file
" Compiler: HTML Tidy
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/tidy.vim
" Last Change: 2004 Nov 27
" NOTE: set 'tidy_compiler_040800' if you are using the 4th August 2000 release
" of HTML Tidy.
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jul 7
if exists("current_compiler")
finish
@@ -16,13 +12,7 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
" this is needed to work around a bug in the 04/08/00 release of tidy which
" failed to set the filename if the -quiet option was used
if exists("tidy_compiler_040800")
CompilerSet makeprg=tidy\ -errors\ --gnu-emacs\ yes\ %
else
CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes\ %
endif
CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes\ %
" sample warning: foo.html:8:1: Warning: inserting missing 'foobar' element
" sample error: foo.html:9:2: Error: <foobar> is not recognized!
+22
View File
@@ -0,0 +1,22 @@
" Vim compiler file
" Compiler: Mono C#
" Maintainer: Chiel ten Brinke (ctje92@gmail.com)
" Last Change: 2013 May 13
if exists("current_compiler")
finish
endif
let current_compiler = "xbuild"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
CompilerSet makeprg=xbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true
let &cpo = s:keepcpo
unlet s:keepcpo
+5 -8
View File
@@ -1,8 +1,7 @@
" Vim compiler file
" Compiler: xmllint
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/xmllint.vim
" Last Change: 2004 Nov 27
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jul 8
if exists("current_compiler")
finish
@@ -16,12 +15,10 @@ endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=xmllint\ --valid\ --noout\
CompilerSet makeprg=xmllint\ --valid\ --noout
CompilerSet errorformat=%E%f:%l:\ error:\ %m,
\%W%f:%l:\ warning:\ %m,
\%E%f:%l:\ validity\ error:\ %m,
\%W%f:%l:\ validity\ warning:\ %m,
CompilerSet errorformat=%+E%f:%l:\ %.%#\ error\ :\ %m,
\%+W%f:%l:\ %.%#\ warning\ :\ %m,
\%-Z%p^,
\%-G%.%#
+1 -1
View File
@@ -1,4 +1,4 @@
*arabic.txt* For Vim version 7.3. Last change: 2010 Nov 13
*arabic.txt* For Vim version 7.4. Last change: 2010 Nov 13
VIM REFERENCE MANUAL by Nadim Shaikli
+69 -19
View File
@@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 7.3. Last change: 2011 Aug 29
*autocmd.txt* For Vim version 7.4. Last change: 2013 Aug 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -33,7 +33,7 @@ files matching *.c. You can also use autocommands to implement advanced
features, such as editing compressed files (see |gzip-example|). The usual
place to put autocommands is in your .vimrc or .exrc file.
*E203* *E204* *E143*
*E203* *E204* *E143* *E855*
WARNING: Using autocommands is very powerful, and may lead to unexpected side
effects. Be careful not to destroy your text.
- It's a good idea to do some testing on an expendable copy of a file first.
@@ -263,8 +263,10 @@ Name triggered by ~
Startup and exit
|VimEnter| after doing all the startup stuff
|GUIEnter| after starting the GUI successfully
|GUIFailed| after starting the GUI failed
|TermResponse| after the terminal response to |t_RV| is received
|QuitPre| when using `:quit`, before deciding whether to quit
|VimLeavePre| before exiting Vim, before writing the viminfo file
|VimLeave| before exiting Vim, after writing the viminfo file
@@ -312,6 +314,7 @@ Name triggered by ~
|SessionLoadPost| after loading a session file
|MenuPopup| just before showing the popup menu
|CompleteDone| after Insert mode completion is done
|User| to be used in combination with ":doautocmd"
@@ -385,6 +388,10 @@ BufRead or BufReadPost When starting to edit a new buffer, after
This does NOT work for ":r file". Not used
when the file doesn't exist. Also used after
successfully recovering a file.
Also triggered for the filetypedetect group
when executing ":filetype detect" and when
writing an unnamed buffer in a way that the
buffer gets a name.
*BufReadCmd*
BufReadCmd Before starting to edit a new buffer. Should
read the file into the buffer. |Cmd-event|
@@ -474,6 +481,11 @@ CmdwinLeave Before leaving the command-line window.
*ColorScheme*
ColorScheme After loading a color scheme. |:colorscheme|
*CompleteDone*
CompleteDone After Insert mode completion is done. Either
when something was completed or abandoning
completion. |ins-completion|
*CursorHold*
CursorHold When the user doesn't press a key for the time
specified with 'updatetime'. Not re-triggered
@@ -501,14 +513,15 @@ CursorHold When the user doesn't press a key for the time
CursorHoldI Just like CursorHold, but in Insert mode.
*CursorMoved*
CursorMoved After the cursor was moved in Normal mode.
Also when the text of the cursor line has been
changed, e.g., with "x", "rx" or "p".
CursorMoved After the cursor was moved in Normal or Visual
mode. Also when the text of the cursor line
has been changed, e.g., with "x", "rx" or "p".
Not triggered when there is typeahead or when
an operator is pending.
For an example see |match-parens|.
Careful: Don't do anything that the user does
not expect or that is slow.
Careful: This is triggered very often, don't
do anything that the user does not expect or
that is slow.
*CursorMovedI*
CursorMovedI After the cursor was moved in Insert mode.
Not triggered when the popup menu is visible.
@@ -678,8 +691,11 @@ InsertCharPre When a character is typed in Insert mode,
InsertEnter Just before starting Insert mode. Also for
Replace mode and Virtual Replace mode. The
|v:insertmode| variable indicates the mode.
Be careful not to move the cursor or do
anything else that the user does not expect.
Be careful not to do anything else that the
user does not expect.
The cursor is restored afterwards. If you do
not want that set |v:char| to a non-empty
string.
*InsertLeave*
InsertLeave When leaving Insert mode. Also when using
CTRL-O |i_CTRL-O|. But not for |i_CTRL-C|.
@@ -699,7 +715,10 @@ MenuPopup Just before showing the popup menu (under the
QuickFixCmdPre Before a quickfix command is run (|:make|,
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,
|:lgrepadd|, |:vimgrep|, |:lvimgrep|,
|:vimgrepadd|, |:lvimgrepadd|, |:cscope|).
|:vimgrepadd|, |:lvimgrepadd|, |:cscope|,
|:cfile|, |:cgetfile|, |:caddfile|, |:lfile|,
|:lgetfile|, |:laddfile|, |:helpgrep|,
|:lhelpgrep|).
The pattern is matched against the command
being run. When |:grep| is used but 'grepprg'
is set to "internal" it still matches "grep".
@@ -710,7 +729,16 @@ QuickFixCmdPre Before a quickfix command is run (|:make|,
*QuickFixCmdPost*
QuickFixCmdPost Like QuickFixCmdPre, but after a quickfix
command is run, before jumping to the first
location. See |QuickFixCmdPost-example|.
location. For |:cfile| and |:lfile| commands
it is run after error file is read and before
moving to the first error.
See |QuickFixCmdPost-example|.
*QuitPre*
QuitPre When using `:quit`, `:wq` or `:qall`, before
deciding whether it closes the current window
or quits Vim. Can be used to close any
non-essential window if the current window is
the last ordinary window.
*RemoteReply*
RemoteReply When a reply from a Vim that functions as
server was received |server2client()|. The
@@ -807,12 +835,27 @@ TermResponse After the response to |t_RV| is received from
triggered halfway executing another event,
especially if file I/O, a shell command or
anything else that takes time is involved.
*TextChanged*
TextChanged After a change was made to the text in the
current buffer in Normal mode. That is when
|b:changedtick| has changed.
Not triggered when there is typeahead or when
an operator is pending.
Careful: This is triggered very often, don't
do anything that the user does not expect or
that is slow.
*TextChangedI*
TextChangedI After a change was made to the text in the
current buffer in Insert mode.
Not triggered when the popup menu is visible.
Otherwise the same as TextChanged.
*User*
User Never executed automatically. To be used for
autocommands that are only executed with
":doautocmd".
*UserGettingBored*
UserGettingBored When the user hits CTRL-C. Just kidding! :-)
UserGettingBored When the user presses the same key 42 times.
Just kidding! :-)
*VimEnter*
VimEnter After doing all the startup stuff, including
loading .vimrc files, executing the "-c cmd"
@@ -909,7 +952,8 @@ the autocommand is executed. This is different from the command!
*file-pattern*
The pattern is interpreted like mostly used in file names:
* matches any sequence of characters
* matches any sequence of characters; Unusual: includes path
separators
? matches any single character
\? matches a '?'
. matches a '.'
@@ -918,6 +962,9 @@ The pattern is interpreted like mostly used in file names:
\, matches a ','
{ } like \( \) in a |pattern|
, inside { }: like \| in a |pattern|
\} literal }
\{ literal {
\\\{n,m\} like \{n,m} in a |pattern|
\ special meaning like in a |pattern|
[ch] matches 'c' or 'h'
[^ch] match any character but 'c' and 'h'
@@ -1052,7 +1099,7 @@ Note that the 'eventignore' option applies here too. Events listed in this
option will not cause any commands to be executed.
*:do* *:doau* *:doautocmd* *E217*
:do[autocmd] [group] {event} [fname]
:do[autocmd] [<nomodeline>] [group] {event} [fname]
Apply the autocommands matching [fname] (default:
current file name) for {event} to the current buffer.
You can use this when the current file name does not
@@ -1061,8 +1108,8 @@ option will not cause any commands to be executed.
It's possible to use this inside an autocommand too,
so you can base the autocommands for one extension on
another extension. Example: >
:au Bufenter *.cpp so ~/.vimrc_cpp
:au Bufenter *.cpp doau BufEnter x.c
:au BufEnter *.cpp so ~/.vimrc_cpp
:au BufEnter *.cpp doau BufEnter x.c
< Be careful to avoid endless loops. See
|autocmd-nested|.
@@ -1071,14 +1118,17 @@ option will not cause any commands to be executed.
argument is included, Vim executes only the matching
autocommands for that group. Note: if you use an
undefined group name, Vim gives you an error message.
*<nomodeline>*
After applying the autocommands the modelines are
processed, so that their settings overrule the
settings from autocommands, like what happens when
editing a file.
editing a file. This is skipped when the <nomodeline>
argument is present. You probably want to use
<nomodeline> for events that are not used when loading
a buffer, such as |User|.
*:doautoa* *:doautoall*
:doautoa[ll] [group] {event} [fname]
:doautoa[ll] [<nomodeline>] [group] {event} [fname]
Like ":doautocmd", but apply the autocommands to each
loaded buffer. Note that [fname] is used to select
the autocommands, not the buffers to which they are
+75 -35
View File
@@ -1,4 +1,4 @@
*change.txt* For Vim version 7.3. Last change: 2011 Jun 19
*change.txt* For Vim version 7.4. Last change: 2013 Jul 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -71,24 +71,37 @@ For inserting text see |insert.txt|.
"D" deletes the highlighted text plus all text until
the end of the line. {not in Vi}
*:d* *:de* *:del* *:delete*
*:d* *:de* *:del* *:delete* *:dl* *:dp*
:[range]d[elete] [x] Delete [range] lines (default: current line) [into
register x].
Note these weird abbreviations:
:dl delete and list
:dell idem
:delel idem
:deletl idem
:deletel idem
:dp delete and print
:dep idem
:delp idem
:delep idem
:deletp idem
:deletep idem
:[range]d[elete] [x] {count}
Delete {count} lines, starting with [range]
(default: current line |cmdline-ranges|) [into
register x].
These commands delete text. You can repeat them with the "." command
(except ":d") and undo them. Use Visual mode to delete blocks of text. See
These commands delete text. You can repeat them with the `.` command
(except `:d`) and undo them. Use Visual mode to delete blocks of text. See
|registers| for an explanation of registers.
An exception for the d{motion} command: If the motion is not linewise, the
start and end of the motion are not in the same line, and there are only
blanks before the start and after the end of the motion, the delete becomes
linewise. This means that the delete also removes the line of blanks that you
might expect to remain.
might expect to remain. Use the |o_v| operator to force the motion to be
characterwise.
Trying to delete an empty region of text (e.g., "d0" in the first column)
is an error when 'cpoptions' includes the 'E' flag.
@@ -131,7 +144,7 @@ gJ Join [count] lines, with a minimum of two lines.
See |ex-flags| for [flags].
These commands delete the <EOL> between lines. This has the effect of joining
multiple lines into one line. You can repeat these commands (except ":j") and
multiple lines into one line. You can repeat these commands (except `:j`) and
undo them.
These commands, except "gJ", insert one space in place of the <EOL> unless
@@ -259,6 +272,12 @@ r{char} Replace the character under the cursor with {char}.
<CR>. CTRL-V <NL> replaces with a <Nul>.
{Vi: CTRL-V <CR> still replaces with a line break,
cannot replace something with a <CR>}
If {char} is CTRL-E or CTRL-Y the character from the
line below or above is used, just like with |i_CTRL-E|
and |i_CTRL-Y|. This also works with a count, thus
`10r<C-E>` copies 10 characters from the line below.
If you give a [count], Vim replaces [count] characters
with [count] {char}s. When {char} is a <CR> or <NL>,
however, Vim inserts only one <CR>: "5r<CR>" replaces
@@ -464,9 +483,9 @@ much as possible to make the indent. You can use ">><<" to replace an indent
made out of spaces with the same indent made out of <Tab>s (and a few spaces
if necessary). If the 'expandtab' option is on, Vim uses only spaces. Then
you can use ">><<" to replace <Tab>s in the indent by spaces (or use
":retab!").
`:retab!`).
To move a line several 'shiftwidth's, use Visual mode or the ":" commands.
To move a line several 'shiftwidth's, use Visual mode or the `:` commands.
For example: >
Vjj4> move three lines 4 indents to the right
:<<< move current line 3 indents to the left
@@ -486,7 +505,7 @@ Examples of filters are "sort", which sorts lines alphabetically, and
works like a filter; not all versions do). The 'shell' option specifies the
shell Vim uses to execute the filter command (See also the 'shelltype'
option). You can repeat filter commands with ".". Vim does not recognize a
comment (starting with '"') after the ":!" command.
comment (starting with '"') after the `:!` command.
*!*
!{motion}{filter} Filter {motion} text lines through the external
@@ -573,34 +592,37 @@ For other systems the tmpnam() library function is used.
Repeat last :substitute with same search pattern and
substitute string, but without the same flags. You
may add [flags], see |:s_flags|.
Note that after ":substitute" the '&' flag can't be
Note that after `:substitute` the '&' flag can't be
used, it's recognized as a pattern separator.
The space between ":substitute" and the 'c', 'g' and
The space between `:substitute` and the 'c', 'g' and
'r' flags isn't required, but in scripts it's a good
idea to keep it to avoid confusion.
:[range]~[&][flags] [count] *:~*
Repeat last substitute with same substitute string
but with last used search pattern. This is like
":&r". See |:s_flags| for [flags].
`:&r`. See |:s_flags| for [flags].
*&*
& Synonym for ":s" (repeat last substitute). Note
& Synonym for `:s` (repeat last substitute). Note
that the flags are not remembered, thus it might
actually work differently. You can use ":&&" to keep
actually work differently. You can use `:&&` to keep
the flags.
*g&*
g& Synonym for ":%s//~/&" (repeat last substitute on all
lines with the same flags).
g& Synonym for `:%s//~/&` (repeat last substitute with
last search pattern on all lines with the same flags).
For example, when you first do a substitution with
`:s/pattern/repl/flags` and then `/search` for
something else, `g&` will do `:%s/search/repl/flags`.
Mnemonic: global substitute. {not in Vi}
*:snomagic* *:sno*
:[range]sno[magic] ... Same as ":substitute", but always use 'nomagic'.
:[range]sno[magic] ... Same as `:substitute`, but always use 'nomagic'.
{not in Vi}
*:smagic* *:sm*
:[range]sm[agic] ... Same as ":substitute", but always use 'magic'.
:[range]sm[agic] ... Same as `:substitute`, but always use 'magic'.
{not in Vi}
*:s_flags*
@@ -610,7 +632,7 @@ The flags that you can use for the substitute commands:
command. Examples: >
:&&
:s/this/that/&
< Note that ":s" and ":&" don't keep the flags.
< Note that `:s` and `:&` don't keep the flags.
{not in Vi}
[c] Confirm each substitution. Vim highlights the matching string (with
@@ -659,6 +681,8 @@ The flags that you can use for the substitute commands:
[n] Report the number of matches, do not actually substitute. The [c]
flag is ignored. The matches are reported as if 'report' is zero.
Useful to |count-items|.
If \= |sub-replace-expression| is used, the expression will be
evaluated in the |sandbox| at every match.
[p] Print the line containing the last substitute.
@@ -666,14 +690,14 @@ The flags that you can use for the substitute commands:
[l] Like [p] but print the text like |:list|.
[r] Only useful in combination with ":&" or ":s" without arguments. ":&r"
works the same way as ":~": When the search pattern is empty, use the
[r] Only useful in combination with `:&` or `:s` without arguments. `:&r`
works the same way as `:~`: When the search pattern is empty, use the
previously used search pattern instead of the search pattern from the
last substitute or ":global". If the last command that did a search
was a substitute or ":global", there is no effect. If the last
last substitute or `:global`. If the last command that did a search
was a substitute or `:global`, there is no effect. If the last
command was a search command such as "/", use the pattern from that
command.
For ":s" with an argument this already happens: >
For `:s` with an argument this already happens: >
:s/blue/red/
/green
:s//red/ or :~ or :&r
@@ -690,9 +714,9 @@ reason is that the flags can only be found by skipping the pattern, and in
order to skip the pattern the "magicness" must be known. Catch 22!
If the {pattern} for the substitute command is empty, the command uses the
pattern from the last substitute or ":global" command. If there is none, but
pattern from the last substitute or `:global` command. If there is none, but
there is a previous search pattern, that one is used. With the [r] flag, the
command uses the pattern from the last substitute, ":global", or search
command uses the pattern from the last substitute, `:global`, or search
command.
If the {string} is omitted the substitute is done as if it's empty. Thus the
@@ -772,6 +796,11 @@ Examples: >
:s/abcde/abc^Mde/ modifies "abcde" to "abc", "de" (two lines)
:s/$/\^M/ modifies "abcde" to "abcde^M"
:s/\w\+/\u\0/g modifies "bla bla" to "Bla Bla"
:s/\w\+/\L\u/g modifies "BLA bla" to "Bla Bla"
Note: "\L\u" can be used to capitalize the first letter of a word. This is
not compatible with Vi and older versions of Vim, where the "\u" would cancel
out the "\L". Same for "\U\l".
Note: In previous versions CTRL-V was handled in a special way. Since this is
not Vi compatible, this was removed. Use a backslash instead.
@@ -847,7 +876,7 @@ This replaces each 'E' character with a euro sign. Read more in |<Char->|.
4.4 Changing tabs *change-tabs*
*:ret* *:retab*
*:ret* *:retab* *:retab!*
:[range]ret[ab][!] [new_tabstop]
Replace all sequences of white-space containing a
<Tab> with new strings of white-space using the new
@@ -866,7 +895,7 @@ This replaces each 'E' character with a euro sign. Read more in |<Char->|.
Careful: This command modifies any <Tab> characters
inside of strings in a C program. Use "\t" to avoid
this (that's a good habit anyway).
":retab!" may also change a sequence of spaces by
`:retab!` may also change a sequence of spaces by
<Tab> characters, which can mess up a printf().
{not in Vi}
Not available when |+ex_extra| feature was disabled at
@@ -976,8 +1005,12 @@ inside of strings can change! Also see 'softtabstop' option. >
current line). This always works |linewise|, thus
this command can be used to put a yanked block as new
lines.
The cursor is left on the first non-blank in the last
new line.
If no register is specified, it depends on the 'cb'
option: If 'cb' contains "unnamedplus", paste from the
+ register |quoteplus|. Otherwise, if 'cb' contains
"unnamed", paste from the * register |quotestar|.
Otherwise, paste from the unnamed register
|quote_quote|.
The register can also be '=' followed by an optional
expression. The expression continues until the end of
the command. You need to escape the '|' and '"'
@@ -1182,7 +1215,7 @@ nothing is returned. {not in Vi}
9. Last search pattern register "/ *quote_/* *quote/*
Contains the most recent search-pattern. This is used for "n" and 'hlsearch'.
It is writable with ":let", you can change it to have 'hlsearch' highlight
It is writable with `:let`, you can change it to have 'hlsearch' highlight
other matches without actually searching. You can't yank or delete into this
register. The search direction is available in |v:searchforward|.
Note that the valued is restored when returning from a function
@@ -1190,12 +1223,12 @@ Note that the valued is restored when returning from a function
{not in Vi}
*@/*
You can write to a register with a ":let" command |:let-@|. Example: >
You can write to a register with a `:let` command |:let-@|. Example: >
:let @/ = "the"
If you use a put command without specifying a register, Vim uses the register
that was last filled (this is also the contents of the unnamed register). If
you are confused, use the ":dis" command to find out what Vim will put (this
you are confused, use the `:dis` command to find out what Vim will put (this
command displays all named and numbered registers; the unnamed register is
labelled '"').
@@ -1491,6 +1524,7 @@ n When formatting text, recognize numbered lists. This actually uses
first line of a paragraph
second line of the same paragraph
third line.
< This also works inside comments, ignoring the comment leader.
v Vi-compatible auto-wrapping in insert mode: Only break a line at a
blank that you have entered during the current insert command. (Note:
this is not 100% Vi compatible. Vi has some "unexpected features" or
@@ -1511,6 +1545,12 @@ B When joining lines, don't insert a space between two multi-byte
characters. Overruled by the 'M' flag.
1 Don't break a line after a one-letter word. It's broken before it
instead (if possible).
j Where it makes sense, remove a comment leader when joining lines. For
example, joining:
int i; // the index ~
// in the list ~
Becomes:
int i; // the index in the list ~
With 't' and 'c' you can specify when Vim performs auto-wrapping:
@@ -1554,7 +1594,7 @@ Some examples:
:set fo=tcrq
<
Automatic formatting *auto-format*
Automatic formatting *auto-format* *autoformat*
When the 'a' flag is present in 'formatoptions' text is formatted
automatically when inserting text or deleting text. This works nice for
@@ -1663,7 +1703,7 @@ found here: |sort()|.
last search pattern is used. This allows trying out
a pattern first.
Note that using ":sort" with ":global" doesn't sort the matching lines, it's
Note that using `:sort` with `:global` doesn't sort the matching lines, it's
quite useless.
The details about sorting depend on the library function used. There is no
+21 -13
View File
@@ -1,4 +1,4 @@
*cmdline.txt* For Vim version 7.3. Last change: 2011 Mar 27
*cmdline.txt* For Vim version 7.4. Last change: 2013 Mar 16
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -217,7 +217,7 @@ CTRL-\ e {expr} *c_CTRL-\_e*
:return cmd
:endfunc
< This doesn't work recursively, thus not when already editing
an expression.
an expression. But it is possible to use in a mapping.
*c_CTRL-Y*
CTRL-Y When there is a modeless selection, copy the selection into
@@ -330,12 +330,12 @@ terminals)
:his[tory] [{name}] [{first}][, [{last}]]
List the contents of history {name} which can be:
c[md] or : command-line history
s[earch] or / search string history
e[xpr] or = expression register history
i[nput] or @ input line history
d[ebug] or > debug command history
a[ll] all of the above
c[md] or : command-line history
s[earch] or / or ? search string history
e[xpr] or = expression register history
i[nput] or @ input line history
d[ebug] or > debug command history
a[ll] all of the above
{not in Vi}
If the numbers {first} and/or {last} are given, the respective
@@ -426,6 +426,8 @@ a previous version <Esc> was used). In the pattern standard wildcards '*' and
'?' are accepted when matching file names. '*' matches any string, '?'
matches exactly one character.
The 'wildignorecase' option can be set to ignore case in filenames.
If you like tcsh's autolist completion, you can use this mapping:
:cnoremap X <C-L><C-D>
(Where X is the command key to use, <C-L> is CTRL-L and <C-D> is CTRL-D)
@@ -712,10 +714,15 @@ three lines: >
Visual Mode and Range *v_:*
{Visual}: Starts a command-line with the Visual selected lines as a
range. The code ":'<,'>" is used for this range, which makes
range. The code `:'<,'>` is used for this range, which makes
it possible to select a similar line from the command-line
history for repeating a command on different Visually selected
lines.
When Visual mode was already ended, a short way to use the
Visual area for a range is `:*`. This requires that "*" does
not appear in 'cpo', see |cpo-star|. Otherwise you will have
to type `:'<,'>`
==============================================================================
5. Ex command-line flags *ex-flags*
@@ -824,10 +831,11 @@ These modifiers can be given, in this order:
the home directory. If the name is a directory a path
separator is added at the end. For a file name that does not
exist and does not have an absolute path the result is
unpredictable.
unpredictable. On MS-Windows an 8.3 filename is expanded to
the long name.
:8 Converts the path to 8.3 short format (currently only on
win32). Will act on as much of a path that is an existing
path.
MS-Windows). Will act on as much of a path that is an
existing path.
:~ Reduce file name to be relative to the home directory, if
possible. File name is unmodified if it is not below the home
directory.
@@ -956,7 +964,7 @@ for the file "$home" in the root directory. A few examples:
\\$home file "\\", followed by expanded $home
==============================================================================
6. Command-line window *cmdline-window* *cmdwin*
7. Command-line window *cmdline-window* *cmdwin*
*command-line-window*
In the command-line window the command line can be edited just like editing
text in any window. It is a special kind of window, because you cannot leave
+2 -2
View File
@@ -1,4 +1,4 @@
*debug.txt* For Vim version 7.3. Last change: 2010 Dec 22
*debug.txt* For Vim version 7.4. Last change: 2012 Feb 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -15,7 +15,7 @@ For debugging Vim scripts, functions, etc. see |debug-scripts|
==============================================================================
1. Location of a crash, using gcc and gdb *debug-gcc*
1. Location of a crash, using gcc and gdb *debug-gcc* *gdb*
When Vim crashes in one of the test files, and you are using gcc for
compilation, here is what you can do to find out exactly where Vim crashes.
+1 -1
View File
@@ -1,4 +1,4 @@
*debugger.txt* For Vim version 7.3. Last change: 2005 Mar 29
*debugger.txt* For Vim version 7.4. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Gordon Prieur
+13 -1
View File
@@ -1,4 +1,4 @@
*develop.txt* For Vim version 7.3. Last change: 2008 Dec 17
*develop.txt* For Vim version 7.4. Last change: 2013 Apr 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -20,6 +20,7 @@ code.
Vim is open source software. Everybody is encouraged to contribute to help
improving Vim. For sending patches a context diff "diff -c" is preferred.
Also see http://www.vim.org/tips/tip.php?tip_id=618.
Also see http://vim.wikia.com/wiki/How_to_make_and_submit_a_patch.
==============================================================================
1. Design goals *design-goals*
@@ -232,6 +233,17 @@ time shadows global declaration
new C++ reserved keyword
try Borland C++ doesn't like it to be used as a variable.
clear Mac curses.h
echo Mac curses.h
instr Mac curses.h
meta Mac curses.h
newwin Mac curses.h
nl Mac curses.h
overwrite Mac curses.h
refresh Mac curses.h
scroll Mac curses.h
typeahead Mac curses.h
basename() GNU string function
dirname() GNU string function
get_env_value() Linux system function
+15 -12
View File
@@ -1,4 +1,4 @@
*diff.txt* For Vim version 7.3. Last change: 2011 Apr 14
*diff.txt* For Vim version 7.4. Last change: 2013 Jul 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -86,16 +86,16 @@ diff mode. You could use a construct like this: >
While already in Vim you can start diff mode in three ways.
*E98*
:diffsplit {filename} *:diffs* *:diffsplit*
:diffs[plit] {filename} *:diffs* *:diffsplit*
Open a new window on the file {filename}. The options are set
as for "vimdiff" for the current and the newly opened window.
Also see 'diffexpr'.
*:difft* *:diffthis*
:diffthis Make the current window part of the diff windows. This sets
:difft[his] Make the current window part of the diff windows. This sets
the options like for "vimdiff".
:diffpatch {patchfile} *E816* *:diffp* *:diffpatch*
:diffp[atch] {patchfile} *E816* *:diffp* *:diffpatch*
Use the current buffer, patch it with the diff found in
{patchfile} and open a buffer on the result. The options are
set as for "vimdiff".
@@ -123,14 +123,14 @@ Since the option values are remembered with the buffer, you can edit another
file for a moment and come back to the same file and be in diff mode again.
*:diffo* *:diffoff*
:diffoff Switch off diff mode for the current window.
:diffo[ff] Switch off diff mode for the current window.
:diffoff! Switch off diff mode for the current window and in all windows
:diffo[ff]! Switch off diff mode for the current window and in all windows
in the current tab page where 'diff' is set.
The ":diffoff" command resets the relevant options to their default value.
This may be different from what the values were before diff mode was started,
the old values are not remembered.
The ":diffoff" command resets the relevant options to the values they had when
using |:diffsplit|, |:diffpatch| , |:diffthis|. or starting Vim in diff mode.
Otherwise they are set to their default value:
'diff' off
'scrollbind' off
@@ -178,7 +178,7 @@ buffer. If you don't want a buffer to remain used for the diff do ":set
nodiff" before hiding it.
*:diffu* *:diffupdate*
:diffu[pdate] Update the diff highlighting and folds.
:diffu[pdate][!] Update the diff highlighting and folds.
Vim attempts to keep the differences updated when you make changes to the
text. This mostly takes care of inserted and deleted lines. Changes within a
@@ -187,6 +187,9 @@ To force the differences to be updated use: >
:diffupdate
If the ! is included Vim will check if the file was changed externally and
needs to be reloaded. It will prompt for each changed file, like `:checktime`
was used.
Vim will show filler lines for lines that are missing in one window but are
present in another. These lines were inserted in another file or deleted in
@@ -217,7 +220,7 @@ The diffs are highlighted with these groups:
that parts in the middle that are still the
same are highlighted anyway. Only "iwhite" of
'diffopt' is used here.
|hl-DiffDelete| DiffDelete Deleted lines. Also called filler lines,
|hl-DiffDelete| DiffDelete Deleted lines. Also called filler lines,
because they don't really exist in this
buffer.
@@ -330,7 +333,7 @@ diff. This example explains the format that Vim expects: >
The "1a2" item appends the line "bbb".
The "4d4" item deletes the line "111".
The '7c7" item replaces the line "GGG" with "ggg".
The "7c7" item replaces the line "GGG" with "ggg".
When 'diffexpr' is not empty, Vim evaluates it to obtain a diff file in the
format mentioned. These variables are set to the file names used:
+1 -1
View File
@@ -1,4 +1,4 @@
*digraph.txt* For Vim version 7.3. Last change: 2011 Jan 15
*digraph.txt* For Vim version 7.4. Last change: 2011 Jan 15
VIM REFERENCE MANUAL by Bram Moolenaar
+35 -21
View File
@@ -1,4 +1,4 @@
*editing.txt* For Vim version 7.3. Last change: 2011 Feb 26
*editing.txt* For Vim version 7.4. Last change: 2013 Aug 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -185,12 +185,13 @@ If you want to automatically save the changes without asking, switch on the
that does not work for all commands.
If you want to keep the changed buffer without saving it, switch on the
'hidden' option. See |hidden-buffer|.
'hidden' option. See |hidden-buffer|. Some commands work like this even when
'hidden' is not set, check the help for the command.
==============================================================================
2. Editing a file *edit-a-file*
*:e* *:edit*
*:e* *:edit* *reload*
:e[dit] [++opt] [+cmd] Edit the current file. This is useful to re-edit the
current file, when it has been changed outside of Vim.
This fails when changes have been made to the current
@@ -199,7 +200,7 @@ If you want to keep the changed buffer without saving it, switch on the
Also see |++opt| and |+cmd|.
{Vi: no ++opt}
*:edit!*
*:edit!* *discard*
:e[dit]! [++opt] [+cmd]
Edit the current file always. Discard any changes to
the current buffer. This is useful if you want to
@@ -377,8 +378,9 @@ command that accepts more than one file name (like ":next file1 file2")
embedded spaces must be escaped with a backslash.
*wildcard* *wildcards*
Wildcards in {file} are expanded. Which wildcards are supported depends on
the system. These are the common ones:
Wildcards in {file} are expanded, but as with file completion, 'wildignore'
and 'suffixes' apply. Which wildcards are supported depends on the system.
These are the common ones:
? matches one character
* matches anything, including nothing
** matches anything, including nothing, recurses into directories
@@ -392,7 +394,7 @@ is to use "path\[[]abc]". Then the file "path[abc]" literally.
*starstar-wildcard*
Expanding "**" is possible on Unix, Win32, Mac OS/X and a few other systems.
This allows searching a directory tree. This goes up to 100 directories deep.
Note there are some commands where this works slightly different, see
Note there are some commands where this works slightly differently, see
|file-searching|.
Example: >
:n **/*.txt
@@ -422,9 +424,11 @@ You can have the backticks expanded as a Vim expression, instead of an
external command, by using the syntax `={expr}` e.g.: >
:e `=tempname()`
The expression can contain just about anything, thus this can also be used to
avoid the special meaning of '"', '|', '%' and '#'. Names are to be separated
with line breaks. When the result is a |List| then each item is used as a
name. Line breaks also separate names.
avoid the special meaning of '"', '|', '%' and '#'. However, 'wildignore'
does apply like to other wildcards.
If the expression returns a string then names are to be separated with line
breaks. When the result is a |List| then each item is used as a name. Line
breaks also separate names.
*++opt* *[++opt]*
The [++opt] argument can be used to force the value of 'fileformat',
@@ -1066,6 +1070,7 @@ The names can be in upper- or lowercase.
If there are other tab pages and quitting the last
window in the current tab page the current tab page is
closed |tab-page|.
Triggers the |QuitPre| autocommand event.
:conf[irm] q[uit] Quit, but give prompt when changes have been made, or
the last file in the argument list has not been
@@ -1159,8 +1164,10 @@ MULTIPLE WINDOWS AND BUFFERS *window-exit*
*:confirm* *:conf*
:conf[irm] {command} Execute {command}, and use a dialog when an
operation has to be confirmed. Can be used on the
":q", ":qa" and ":w" commands (the latter to over-ride
a read-only setting).
|:q|, |:qa| and |:w| commands (the latter to override
a read-only setting), and any other command that can
fail in such a way, such as |:only|, |:buffer|,
|:bdelete|, etc.
Examples: >
:confirm w foo
@@ -1213,13 +1220,13 @@ For versions of Vim where browsing is not supported, the command is executed
unmodified.
*browsefilter*
For MS Windows, you can modify the filters that are used in the browse dialog.
By setting the g:browsefilter or b:browsefilter variables, you can change the
filters globally or locally to the buffer. The variable is set to a string in
the format "{filter label}\t{pattern};{pattern}\n" where {filter label} is the
text that appears in the "Files of Type" comboBox, and {pattern} is the
pattern which filters the filenames. Several patterns can be given, separated
by ';'.
For MS Windows and GTK, you can modify the filters that are used in the browse
dialog. By setting the g:browsefilter or b:browsefilter variables, you can
change the filters globally or locally to the buffer. The variable is set to
a string in the format "{filter label}\t{pattern};{pattern}\n" where {filter
label} is the text that appears in the "Files of Type" comboBox, and {pattern}
is the pattern which filters the filenames. Several patterns can be given,
separated by ';'.
For Motif the same format is used, but only the very first pattern is actually
used (Motif only offers one pattern, but you can edit it).
@@ -1227,7 +1234,7 @@ used (Motif only offers one pattern, but you can edit it).
For example, to have only Vim files in the dialog, you could use the following
command: >
let g:browsefilter="Vim Scripts\t*.vim\nVim Startup Files\t*vimrc\n"
let g:browsefilter = "Vim Scripts\t*.vim\nVim Startup Files\t*vimrc\n"
You can override the filter setting on a per-buffer basis by setting the
b:browsefilter variable. You would most likely set b:browsefilter in a
@@ -1237,6 +1244,13 @@ difficult to start editing a file of a different type. To overcome this, you
may want to add "All Files\t*.*\n" as the final filter, so that the user can
still access any desired file.
To avoid setting browsefilter when Vim does not actually support it, you can
use has("browsefilter"): >
if has("browsefilter")
let g:browsefilter = "whatever"
endif
==============================================================================
7. The current directory *current-directory*
@@ -1639,6 +1653,6 @@ There are three different types of searching:
Note that completion for ":find", ":sfind", and ":tabfind" commands do not
currently work with 'path' items that contain a url or use the double star
(/usr/**2) or upward search (;) notations. >
with depth limiter (/usr/**2) or upward search (;) notations.
vim:tw=78:ts=8:ft=help:norl:
+321 -112
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -1,4 +1,4 @@
.TH EVIM 1 "16 février 2002 February 16"
.TH EVIM 1 "16 février 2002"
.SH NAME
evim \- « Easy Vim », édite un fichier avec Vim sans utiliser les modes
.SH SYNOPSIS
@@ -54,3 +54,4 @@ Voir le menu Aide/Remerciements ou ":help credits" dans
.SH TRADUCTION
Cette page de manuel a été traduite David Blanchet.
<david.blanchet@free.fr> 2005-03-26.
Mise à jour 2013-05-10, Dominique Pellé <dominique.pelle@gmail.com>
+2 -1
View File
@@ -1,4 +1,4 @@
.TH EVIM 1 "16 février 2002 February 16"
.TH EVIM 1 "16 février 2002"
.SH NAME
evim \- « Easy Vim », édite un fichier avec Vim sans utiliser les modes
.SH SYNOPSIS
@@ -54,3 +54,4 @@ Voir le menu Aide/Remerciements ou ":help credits" dans
.SH TRADUCTION
Cette page de manuel a été traduite David Blanchet.
<david.blanchet@free.fr> 2005-03-26.
Mise à jour 2013-05-10, Dominique Pellé <dominique.pelle@gmail.com>
+51
View File
@@ -0,0 +1,51 @@
.TH EVIM 1 "2002 February 16"
.SH 名前
evim \- easy Vim, モードレスエディタ Vim
.SH 書式
.br
.B evim
[options] [file ..]
.br
.B eview
.SH 説明
.B eVim
.B Vim
を起動して、モードレスエディタとして動作するためのオプションを設定します。
Vim の動作が point-and-click エディタのような動作になります。
MS-Windows のメモ帳のような動作です。
.B eVim
は常に GUI で起動し、メニューとツールバーを表示します。
.PP
どうしても Vim の操作に馴染めない場合に使ってください。
編集効率は下がります。
.PP
.B eview
は同様に、読み込み専用モードで起動します。evim \-R と同じです。
.PP
引数や Vim についての詳細は vim(1) を参照してください。
.PP
オプション 'insertmode' が設定され、テキストを直接、入力できるようになりま
す。
.br
コピーとペーストのキー操作が MS-Windows と同じになるように、マップが設定され
ます。
CTRL-X が切り取り、CTRL-C がコピー、CTRL-V がペーストです。
標準の CTRL-V の操作は CTRL-Q に割り当てられます。
.SH オプション
vim(1) を参照してください。
.SH ファイル
.TP 15
/usr/local/lib/vim/evim.vim
eVim の初期化スクリプト。
.SH 別名
evim は "gumbies のための Vim" とも呼ばれています。
evim を使っているあなたはきっと、頭にハンカチをかぶっているのです。
(訳注: gumbies は Monty Python に登場するおもしろ集団。ハンカチをかぶっ
ている。)
.SH 関連項目
vim(1)
.SH 著者
.B Vim
のほとんどの機能は Bram Moolenaar が開発し、多くの人が協力しました。
メニューの Help/Credits を参照してください。
+1 -1
View File
@@ -1,4 +1,4 @@
*farsi.txt* For Vim version 7.3. Last change: 2010 Aug 07
*farsi.txt* For Vim version 7.4. Last change: 2010 Aug 07
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
+2 -2
View File
@@ -1,4 +1,4 @@
*filetype.txt* For Vim version 7.3. Last change: 2011 Jun 19
*filetype.txt* For Vim version 7.4. Last change: 2013 May 25
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -603,7 +603,7 @@ Since the text for this plugin is rather long it has been put in a separate
file: |ft_sql.txt|.
TEX *ft-tex-plugin*
TEX *ft-tex-plugin* *g:tex_flavor*
If the first line of a *.tex file has the form >
%&<format>
+1 -1
View File
@@ -1,4 +1,4 @@
*fold.txt* For Vim version 7.3. Last change: 2010 May 13
*fold.txt* For Vim version 7.4. Last change: 2010 May 13
VIM REFERENCE MANUAL by Bram Moolenaar
+1 -1
View File
@@ -1,4 +1,4 @@
*ft_ada.txt* For Vim version 7.3. Last change: 2010 Jul 20
*ft_ada.txt* For Vim version 7.4. Last change: 2010 Jul 20
ADA FILE TYPE PLUG-INS REFERENCE MANUAL~
+7 -3
View File
@@ -1,4 +1,4 @@
*ft_sql.txt* For Vim version 7.3. Last change: 2010 Jul 20
*ft_sql.txt* For Vim version 7.4. Last change: 2013 May 15
by David Fishburn
@@ -349,6 +349,7 @@ may not work properly on all platforms: >
The static maps (which are based on the syntax highlight groups) follow this
format: >
imap <buffer> <C-C>k <C-\><C-O>:call sqlcomplete#Map('sqlKeyword')<CR><C-X><C-O>
imap <buffer> <C-C>k <C-\><C-O>:call sqlcomplete#Map('sqlKeyword\w*')<CR><C-X><C-O>
This command breaks down as: >
imap - Create an insert map
@@ -369,6 +370,9 @@ This command breaks down as: >
command while editing a SQL file.
'sqlKeyword' - Display the items for the sqlKeyword highlight
group
'sqlKeyword\w*' - A second option available with Vim 7.4 which
uses a regular expression to determine which
syntax groups to use
)<CR> - Execute the :let command
<C-X><C-O> - Trigger the standard omni completion key stroke.
Passing in 'sqlKeyword' instructs the SQL
@@ -435,7 +439,7 @@ the space bar):
of columns, you can press <Left>, this will
replace the column list with the list of tables.
- This allows you to quickly drill down into a
table to view it's columns and back again.
table to view its columns and back again.
- <Right> and <Left> can be also be chosen via
your |.vimrc| >
let g:ftplugin_sql_omni_key_right = '<Right>'
@@ -645,7 +649,7 @@ your |vimrc|: >
- When completing tables, procedure or views and using dbext.vim 3.00
or higher the list of objects will also include the owner name.
When completing these objects and omni_sql_include_owner is enabled
the owner name will be be replaced. >
the owner name will be replaced. >
omni_sql_precache_syntax_groups
< - Default:
+11 -5
View File
@@ -1,4 +1,4 @@
*gui.txt* For Vim version 7.3. Last change: 2011 Jul 22
*gui.txt* For Vim version 7.4. Last change: 2013 Jun 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -93,10 +93,16 @@ and initialize other things that you may want to set up differently from the
terminal version.
Recommended place for your personal GUI initializations:
Unix and Mac OS X $HOME/.gvimrc
OS/2 $HOME/.gvimrc or $VIM/.gvimrc
MS-DOS and Win32 $HOME/_gvimrc or $VIM/_gvimrc
Amiga s:.gvimrc or $VIM/.gvimrc
Unix and Mac OS X $HOME/.gvimrc or $HOME/.vim/gvimrc
OS/2 $HOME/.gvimrc, $HOME/vimfiles/gvimrc
or $VIM/.gvimrc
MS-DOS and Win32 $HOME/_gvimrc, $HOME/vimfiles/gvimrc
or $VIM/_gvimrc
Amiga s:.gvimrc, home:.gvimrc, home:vimfiles:gvimrc
or $VIM/.gvimrc
The personal initialization files are searched in the order specified above
and only the first one that is found is read.
There are a number of options which only have meaning in the GUI version of
Vim. These are 'guicursor', 'guifont', 'guipty' and 'guioptions'. They are
+10 -2
View File
@@ -1,4 +1,4 @@
*gui_mac.txt* For Vim version 7.3. Last change: 2010 Dec 28
*gui_mac.txt* For Vim version 7.4. Last change: 2012 Jan 13
VIM REFERENCE MANUAL by Bjorn Winckler
@@ -335,7 +335,15 @@ If you prefer a dark background color, then type >
:set bg=dark
after having loaded the "macvim" color scheme.
The color scheme uses the the system "Highlight Color", which can be changed in
Use the |:colorscheme| command if you want to use another color scheme. Note
that if you want to set syntax highlight colors manually, then you must either
create your own color scheme or add the line >
let macvim_skip_colorscheme=1
to your ~/.vimrc (~/.gvimrc will not work). Otherwise the "macvim" color
scheme will be loaded when the system gvimrc file is sourced and mess up your
changes.
The color scheme uses the system "Highlight Color", which can be changed in
the "Appearance" pane of the System Preferences. It also changes the
highlight color when a window becomes inactive.
+2 -2
View File
@@ -1,4 +1,4 @@
*gui_w16.txt* For Vim version 7.3. Last change: 2005 Mar 29
*gui_w16.txt* For Vim version 7.4. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -16,7 +16,7 @@ Vim's Graphical User Interface *gui-w16* *win16-gui*
Other relevant documentation:
|gui.txt| For generic items of the GUI.
|os_msdos.txt| For items common to DOS and Windows.
|os_msdos.txt| For items common to DOS and Windows.
|gui_w32.txt| Some items here are also applicable to the Win16 version.
{Vi does not have a Windows GUI}
+14 -2
View File
@@ -1,4 +1,4 @@
*gui_w32.txt* For Vim version 7.3. Last change: 2011 Jul 23
*gui_w32.txt* For Vim version 7.4. Last change: 2012 Aug 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -17,7 +17,7 @@ Vim's Win32 Graphical User Interface *gui-w32* *win32-gui*
Other relevant documentation:
|gui.txt| For generic items of the GUI.
|os_win32.txt| For Win32 specific items.
|os_win32.txt| For Win32 specific items.
{Vi does not have a Windows GUI}
@@ -489,4 +489,16 @@ to:
And add gvim to the list of applications. This problem only appears to happen
with the Intellimouse driver 2.2 and when "Universal Scrolling" is turned on.
XPM support *w32-xpm-support*
Gvim can be build on MS-Windows with support for XPM files. |+xpm_w32|
See the Make_mvc.mak file for instructions, search for XPM.
To try out if XPM support works do this: >
:help
:exe 'sign define vimxpm icon=' . $VIMRUNTIME . '\\vim16x16.xpm'
:exe 'sign place 1 line=1 name=vimxpm file=' . expand('%:p')
<
vim:tw=78:sw=4:ts=8:ft=help:norl:

Some files were not shown because too many files have changed in this diff Show More