Vim 7.3 (squashed and cleaned up)

run configure for 7.3 :

vim_cv_toupper_broken=no vim_cv_terminfo=yes vim_cv_tgent=zero \
vim_cv_stat_ignores_slash=no vim_cv_tty_group=system vim_cv_tty_mode=0666 \
vim_cv_getcwd_broken=no vim_cv_memmove_handles_overlap=yes \
CPPFLAGS="-I/opt/android/ev/jb/prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/" \
CFLAGS="-nostdlib" LDFLAGS="-Wl,-rpath-link=/opt/android/ev/jb/prebuilts/ndk/current/platforms/android-9/arch-arm/usr/lib/ \
-L/opt/android/ev/jb/prebuilts/ndk/current/platforms/android-9/arch-arm/usr/lib/" LIBS="-lc" \
\
./configure --prefix=/system --target=arm-linux-androdeabi --host=arm-linux-androideabi \
--disable-selinux --with-tlib=ncurses --datadir=/system/usr/share

with libncurses copied to ndk/*/lib

Change-Id: I1431a95047d1895b74aad115684cf4503e177734
bero's crosscompile-android patch

Change-Id: I4945087ca03527b403c7be3722393656d656e919
Fix strcpy buffer overflow and mtime type

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: Ib7d523ae44ed48cf3a6c6f092244057a4aaa134b
build vim with SELINUX

Change-Id: I1402bc5302c9e6eb85a6e00236edb93b203e2db0
upgrade to vim 7.4.355 (jul 2014)

add mblen.c from ndk support (could be required)

Change-Id: I236bcb4e26089cf3cca21e60b190a1c0a805aa39
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
config: fix some entries, build with ncurses termcap.h

Change-Id: I1e86267239cdb5e1eab58403dba01974ef54647b
Android.mk: fix runtime config files (syntax/colors...)

Change-Id: I2b8ce962283120025abc1d400a389504344443b2
Add android note about term size, and sample vim.sh

Change-Id: Iddec1dfac809761eea7522be4723ec5d08a74d56
vimrc: term encoding to UTF8, to read all files

also fix --version compile infos

Change-Id: I6508c92dfbfe20b9b803dc5e1497cc68ed92a2f1
syntax: add logcat hilighting

Change-Id: I7f232c06eb29ceb022c43e616aa9f57ed588ec6e
runtime: add some plugins/autoload files, minimal help

wanted to add tar/gzip/zip support but plugins are
not compatible with busybox tools

Add spacehi.vim to show trailing spaces/tabs with <F9> key

Change-Id: I5881fe878852e6da400a11a9af347572af42fe16
define variant in Android.mk (big/normal/small)

Change-Id: If5c41ad28b8fff10403e395602ef7254b3a55fc5
update to version 7.4.373

Squashed commit of the following:

commit a3bfaff2f5c9a2ed0c392be3fcd0dfed627db75f
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 23:39:54 2014 +0200

    updated for version 7.4.373
    Problem:    Compiler warning for unused argument and unused variable.
    Solution:   Add UNUSED.  Move variable inside #ifdef.

commit eaef5b93edce086e8c2eeb1e3d32f3352d096526
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 18:19:27 2014 +0200

    updated for version 7.4.372
    Problem:    When 'winminheight' is zero there might not be one line for the
    	    current window.
    Solution:   Change the size computations. (Yukihiro Nakadaira)

commit 5f14c09c5b73a283d02e01391ca3ddd4f76a1686
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 17:29:51 2014 +0200

    updated for version 7.4.371
    Problem:    When 'linebreak' is set control characters are not correctly
    	    displayed. (Kimmy Lindvall)
    Solution:   Set n_extra. (Christian Brabandt)

commit 247d818e466e6dac31f2e8cfb62da872f44a2e7f
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 17:01:53 2014 +0200

    updated for version 7.4.370
    Problem:    Linebreak test fails when encoding is not utf-8. (Danek Duvall)
    Solution:   Split the test in a single byte one and a utf-8 one. (Christian
    	    Brabandt)

commit ec20fbddacfc7fa368b3d003d928f57733abca77
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 16:30:28 2014 +0200

    updated for version 7.4.369
    Problem:    Using freed memory when exiting while compiled with EXITFREE.
    Solution:   Set curwin to NULL and check for that. (Dominique Pelle)

commit 026d2e9925ccfc841a7c45584f83cd3ad6ceef9f
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 15:18:26 2014 +0200

    updated for version 7.4.368
    Problem:    Restoring the window sizes after closing the command line window
    	    doesn't work properly if there are nested splits.
    Solution:   Restore the sizes twice. (Hirohito Higashi)

commit c26d9498339a7f75ea2be6d6e112df41ee660a9f
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 14:42:46 2014 +0200

    updated for version 7.4.367
    Problem:    Other solution for redrawing after completion.
    Solution:   Schedule a window redraw instead of just clearing the command
    	    line. (Jacob Niehus)

commit c34c6355796e0e5318c84b99617b0f049665cb6f
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 14:20:41 2014 +0200

    updated for version 7.4.366
    Problem:    Can't run the linebreak test on MS-Windows.
    Solution:   Fix the output file name. (Taro Muraoka)

commit d318ca1b1e25fc4b2ba61c270b4add2c896c679c
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 16 14:16:46 2014 +0200

    updated for version 7.4.365
    Problem:    Crash when using ":botright split" when there isn't much space.
    Solution:   Add a check for the minimum width/height. (Yukihiro Nakadaira)

commit 9a53b18fcbd8ec377f105f30757f45bca0b469d3
Author: Bram Moolenaar <bram@vim.org>
Date:   Thu Jul 10 22:01:47 2014 +0200

    Updated runtime files.

commit 0f284c1f1e9717c7121f8790655f6cfd14629e47
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 9 21:18:04 2014 +0200

    updated for version 7.4.364
    Problem:    When the viminfo file can't be renamed there is no error message.
    	    (Vladimir Berezhnoy)
    Solution:   Check for the rename to fail.

commit 677948c33802acc81901b0254d997b707058eabb
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 9 20:51:07 2014 +0200

    updated for version 7.4.363
    Problem:    In Windows console typing 0xCE does not work.
    Solution:   Convert 0xCE to K_NUL 3. (Nobuhiro Takasaki et al.)

commit 5c4c940fc09585b823604782f47b20e39a4a0bf7
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 9 20:20:43 2014 +0200

    updated for version 7.4.362
    Problem:    When matchaddpos() uses a length smaller than the number of bytes
    	    in the (last) character the highlight continues until the end of
    	    the line.
    Solution:   Change condition from equal to larger-or-equal.

commit b8eda02a94c0f057977b470d3e2018afbdfcf9cf
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 9 19:58:24 2014 +0200

    updated for version 7.4.361
    Problem:    Lots of flickering when filling the preview window for 'omnifunc'.
    Solution:   Disable redrawing. (Hirohito Higashi)

commit 90f40dca7c525927b9fee47d269c4896d27f3bf5
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 9 19:32:34 2014 +0200

    updated for version 7.4.360
    Problem:    In a regexp pattern a "$" followed by \v or \V is not seen as the
    	    end-of-line.
    Solution:   Handle the situation. (Ozaki Kiichi)

commit 6922be8b30ed526983c0090c59d74bcfa594accf
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 9 19:13:49 2014 +0200

    updated for version 7.4.359
    Problem:    When 'ttymouse' is set to 'uxterm' the xterm version is not
    	    requested. (Tomas Janousek)
    Solution:   Do not mark uxterm as a conflict mouse and add
    	    resume_get_esc_sequence().

commit e2b5f94bd0c580512844ddeea2f27e74f56ff7fa
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 9 17:51:51 2014 +0200

    updated for version 7.4.358
    Problem:    Sort is not always stable.
    Solution:   Add an index instead of relying on the pointer to remain the same.
    	    Idea by Jun Takimoto.

commit 0dbab0fcdf015d9736826882e18598b97073553a
Author: Bram Moolenaar <bram@vim.org>
Date:   Wed Jul 9 14:00:49 2014 +0200

    updated for version 7.4.357
    Problem:    After completion some characters are not redrawn.
    Solution:   Clear the command line unconditionally. (Jacob Niehus)

commit 18e57b35438cd53e80bdc2f309c7c14529a90b4b
Author: Bram Moolenaar <bram@vim.org>
Date:   Thu Jul 3 22:57:56 2014 +0200

    updated for version 7.4.356
    Problem:    Mercurial does not ignore memfile_test. (Daniel Hahler)
    Solution:   Add memfile_test to ignored files, remove trailing spaces.

Change-Id: Ie2d78c458e21fbaebe3ca91e40b33857470c28e6