aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* vim-patch:7.4.616watiko2016-01-19
| | | | | | | Problem: Cannot insert a tab in front of a block. Solution: Correctly compute aop->start. (Christian Brabandt) https://github.com/vim/vim/commit/f2c03d7301d35590a20cc43431950acc3a2f6036
* Merge pull request #3981 from watiko/vim-7.4.991Justin M. Keyes2016-01-17
|\ | | | | Vim 7.4.9{78,80,81,91}
| * tests: Migrate legacy test cdo.watiko2016-01-15
| |
| * vim-patch:7.4.991watiko2016-01-15
| | | | | | | | | | | | | | | | Problem: When running new style tests the output is not visible. Solution: Add the testdir/messages file and show it. Update the list of test names. https://github.com/vim/vim/commit/096c8bb40d51b22a4b1d761baf7bb79fb9e55a28
| * vim-patch:7.4.981watiko2016-01-15
| | | | | | | | | | | | | | Problem: An error in a test script goes unnoticed. Solution: Source the test script inside try/catch. (Hirohito Higashi) https://github.com/vim/vim/commit/4686b323e4bc0f466500b018959f6c8965f010f9
| * vim-patch:7.4.980watiko2016-01-15
| | | | | | | | | | | | | | Problem: Tests for :cdo, :ldo, etc. are outdated. Solution: Add new style tests for these commands. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/57d7971b5f1621071176eea81cdb0d1fc50c925d
| * vim-patch:7.4.978watiko2016-01-15
| | | | | | | | | | | | | | Problem: test_cdo fails when using another language than English. Solution: Set the language to C. (Dominique Pelle) https://github.com/vim/vim/commit/c42b9c670ea621d4dac0f216e011a6db576c5136
| * tests: Remove needless line continuation.watiko2016-01-15
| |
* | Merge pull request #3967 from cacplate/pr-3698Justin M. Keyes2016-01-17
|\ \ | | | | | | Change return type to bool in fileio.c (adoption of PR 3698)
| * | fileio: Change return types to boolCharles Joachim2016-01-17
| | | | | | | | | | | | Co-authored-by: Wayne Rowcliffe (@war1025)
* | | Merge pull request #3997 from cacplate/do_initJustin M. Keyes2016-01-17
|\ \ \ | | | | | | | | remove DO_INIT macro
| * | | globals: remove DO_INIT macro and replace usage by INITCharles Joachim2016-01-17
| |/ /
* / / Windows: Include <uv.h> for S_IFLNK.Rui Abreu Ferreira2016-01-17
|/ / | | | | | | S_IFLNK is not defined on Windows but libuv defines it for us.
* | Merge pull request #4027 from sethjackson/fcntlMichael Reed2016-01-17
|\ \ | | | | | | [RFC] Windows: Include <fcntl.h> for file constants
| * | Windows: Include <fcntl.h> for file constants.Seth Jackson2016-01-17
| | | | | | | | | | | | | | | | | | This header is required by POSIX for the constants (O_RDONLY, etc.) but we were only including it on Unix systems as a side effect of including <unistd.h>.
* | | os/win_defs.h: Define O_NOFOLLOWMichael Reed2016-01-16
|/ / | | | | | | It's not present on Windows; see the discussion in #4024.
* | misc: UNIX => Unix #4022Seth Jackson2016-01-16
| | | | | | | | | | | | | | | | | | | | Although UNIX is a registered trademark of The Open Group, it doesn't really matter whether we refer to these systems as UNIX, Unix, or Unix-like. So, for consistency, refer to them collectively as Unix. Related: http://www.greens.org/about/unix.html http://www.unixica.com/html/unixunix.html
* | doc: Remove more references to MS-DOSSeth Jackson2016-01-16
|/ | | | | | Among other things, this includes: - lies about command.com - references to pcterm
* Revert ROOT_UID removalMichael Reed2016-01-15
| | | | | | It helps clarify intent for those unaware of root's UID. see https://github.com/neovim/neovim/pull/4015#discussion_r49822371
* Misc. macro cleanupMichael Reed2016-01-14
| | | | | | | | | | - ROOT_UID's comment is misleading, as it's always defined to 0. - SEEK_{SET,END} & O_NOFOLLOW should already be defined on Unix-like systems in <stdio.h> and <fcntl.h>, respectively. In any case, neither of those #ifdef blocks should be in the middle of source files. - The S_IS{LNK,DIR,...} macros should only be undefined on Windows.
* Windows: Undefine the Windows RGB macro.Rui Abreu Ferreira2016-01-14
| | | | | | | Windows provides a RGB macro but we have our own in macros.h. Undefine the Windows one before including macros.h. See: https://msdn.microsoft.com/en-us/library/dd162937%28v=vs.85%29.aspx
* Merge pull request #4009 from sethjackson/swapsyncMichael Reed2016-01-14
|\ | | | | [RFC] Remove 'swapsync'
| * Remove swapsync.Seth Jackson2016-01-14
| | | | | | | | It's complete overkill.
* | doc: Remove references to GTK.Seth Jackson2016-01-14
|/ | | | We don't support it.
* Merge pull request #4010 from watiko/vim-7.4.614Justin M. Keyes2016-01-13
|\ | | | | vim-patch:7.4.614
| * vim-patch:7.4.614watiko2016-01-14
| | | | | | | | | | | | | | Problem: There is no test for what patch 7.4.601 fixes. Solution: Add a test. (Christian Brabandt) https://github.com/vim/vim/commit/d7ce7a9ad2d9311f7ec3368eeddec8fce6d8e890
* | vim-patch:7.4.716 #4006Michael Ennen2016-01-13
|/ | | | | | | | | Problem: When using the 'c' flag of ":substitute" and selecting "a" or "l" at the prompt the flags are not remembered for ":&&". (Ingo Karkat) Solution: Save the flag values and restore them. (Hirohito Higashi) https://github.com/vim/vim/commit/cad2fc9935b3a3d9564b4f8d20890b13f14c7d32
* vim-patch:7.4.715 #4003Michael Ennen2016-01-13
| | | | | | | | Problem: Invalid memory access when there are illegal bytes. Solution: Get the length from the text, not from the character. (Dominique Pelle) https://github.com/vim/vim/commit/2186ffa2c7d8a9e2cb09316a7ac9e4ade3957c2f
* Merge pull request #4002 from brcolow/7.4.714Justin M. Keyes2016-01-13
|\ | | | | Vim 7.4.714
| * vim-patch:7.4.714Michael Ennen2016-01-13
| | | | | | | | | | | | | | Problem: Illegal memory access when there are illegal bytes. Solution: Check the byte length of the character. (Dominique Pelle) https://github.com/vim/vim/commit/069dd08d8dbbbadc4e6780d5c881a24bce79a4f7
* | vim-patch:7.4.721Michael Ennen2016-01-13
|/ | | | | | | | Problem: When 'list' is set Visual mode does not highlight anything in empty lines. (mgaleski) Solution: Check the value of lcs_eol in another place. (Christian Brabandt) https://github.com/vim/vim/commit/d59c099120919d2d77b431308e390f86c594c825
* shada.c: Fix HAVE_BE64TOH checkMichael Reed2016-01-13
| | | | | | | | | | | | | | Mentioned here: https://github.com/neovim/neovim/pull/3985#issuecomment-170663426 HAVE_BE64TOH is defined in `config/config.h', which is included by `vim.h'. Since the HAVE_BE64TOH check in `shada.c' is evaluated before `vim.h' is included, it always evaluates to false, meaning that be64toh() in shada.c is always used instead of the one in <endian.h>. Moving the HAVE_BE64TOH block to after where `vim.h' is included seems to fix the issue.
* Merge pull request #3996 from justinmk/ctrlcJustin M. Keyes2016-01-13
|\ | | | | vim-patch:7.4.569, 7.4.573
| * terminal: less babysitting of mapped_ctrl_cJustin M. Keyes2016-01-13
| | | | | | | | | | process_interrupts() checks get_real_state() so we can avoid some housekeeping of mapped_ctrl_c in terminal-mode.
| * vim-patch:7.4.569/573Shougo Matsushita2016-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.569 vim-patch:7.4.573 Helped-by: @glts https://github.com/neovim/neovim/pull/2621 Problem: Having CTRL-C interrupt or not does not check the mode of the mapping. (Ingo Karkat) Solution: Use a bitmask with the map mode. (Christian Brabandt) https://github.com/vim/vim/commit/651863c94a882a97aec7968fc87a638ff78e56ff Problem: Mapping CTRL-C in Visual mode doesn't work. (Ingo Karkat) Solution: Call get_real_state() instead of using State directly. https://github.com/vim/vim/commit/5000869712f799d9ca25c0e45dc21d332edae5f4
* | vim patches 7.4.955/974/975/989. #3919Michael Ennen2016-01-13
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Helped by @Shougo. vim-patch:7.4.955 vim-patch:7.4.974 vim-patch:7.4.975 vim-patch:7.4.989 Port upstream vim patches 955, 974, 975 and 989. Mark patches 964, 968, 970, and 971, and 982 as NA. Update patch list to 1022. patch 7.4.955 Problem: Vim doesn't recognize .pl6 and .pod6 files. Solution: Recognize them as perl6 and pod6. (Mike Eve) patch 7.4.974 Problem: When using :diffsplit the cursor jumps to the first line. Solution: Put the cursor on the line related to where the cursor was before the split. patch 7.4.975 Problem: Using ":sort" on a very big file sometimes causes text to be corrupted. (John Beckett) Solution: Copy the line into a buffer before calling ml_append(). patch 7.4.989 Problem: Leaking memory when hash_add() fails. Coverity error 99126. Solution: When hash_add() fails free the memory. 778 marked as not NA as it will be needed once vim patch 754 is merged Marked as NA: 964 test 87 was deleted 968 tests 86/87 were deleted 970 guarded by: `# if defined(FEAT_GUI_GTK) || defined(PROTO` and is inside a function that no longer exists 971 function table already sorted correctly 982 marked as NA because Neovim tests are only specified in exactly one location
* Stop using <stropts.h>Michael Reed2016-01-12
| | | | | | | | | | In Vim, at least the constant `I_PUSH` is used from <stropts.h>, but Neovim doesn't seem to use anything from said header. Besides that, POSIX.1-2008[1] marks this header as obsolescent, and there don't seem to be many platforms that even have it. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stropts.h.html#tag_13_52_11
* os/*_defs.h: MAXNAMLEN cleanupMichael Reed2016-01-12
| | | | | | | | | | | | | For non-Windows systems, we assume that NAME_MAX is in <limits.h>, as specified in POSIX.1-2008[1]. For Windows, which doesn't have NAME_MAX, just define it ourselves to _MAX_PATH[2]. Also, remove two (now unused) HAVE_*_H checks. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html [2]: https://msdn.microsoft.com/en-us/library/930f87yf.aspx Helped-by: Seth Jackson
* Merge pull request #3291 from sethjackson/env-separatorJustin M. Keyes2016-01-12
|\ | | | | Windows: use ';' as env $PATH separator
| * Windows: use ';' as env $PATH separator.Rui Abreu Ferreira2016-01-11
| | | | | | | | | | | | In Windows the separator character in the PATH environment is ';' instead of ':'. Add a new define ENV_SEPCHAR to be used instead of hardcoding the character literal.
* | fileio: Replace some event checking functions with one has_eventCharles Joachim2016-01-11
|/
* Merge pull request #3982 from justinmk/nohighbitJustin M. Keyes2016-01-11
|\ | | | | input: Do not set high-bit. Preserve META modifier.
| * input: Do not set high-bit; preserve ALT modifier.Justin M. Keyes2016-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Background: Vim internally prefers to represent ALT/META chords as single-byte keys, by setting the high bit of the key byte. extract_modifiers() _discards_ the meta/alt modifier, but we need it for libvterm and libtermkey. Closes #2440 Closes #3727 Closes #2017 References #2277 References #2254 https://github.com/neovim/neovim/issues/2017#issuecomment-140423557 > We [not libtermkey] are setting the high bit for some reason https://github.com/neovim/neovim/issues/176#issuecomment-77834715 > libvtermkey requires the leading esc to parse alt/meta https://github.com/neovim/neovim/pull/3246#issuecomment-136328450 > A program could do better than the current logic on some terminals, by > asking for pure 8bit mode (S8C1T) and then immediately querying the > mode again. If the result comes back as an 8bit single-byte CSI, then > it can presume the mode setting was successful, and now the ESC prefix > byte won't be seen in multibyte sequences; only as an Alt- prefix or > a real Escape key. On such a terminal, it could therefore avoid > needing to use that waiting timeout.
* | Merge pull request #3980 from ZyX-I/shell-unquoteJustin M. Keyes2016-01-10
|\ \ | | | | | | shell: Unquote &shell* options before using them
| * | shell: Unquote &shell* options before using themZyX2016-01-11
| | |
* | | Windows: define MAXNAMLEN for Windows.Seth Jackson2016-01-10
| |/ |/| | | | | | | MAXNAMLEN can be defined using _MAX_PATH from stdlib.h which will fix the BASENAMELEN definition too.
* | portability: fix cast.Justin M. Keyes2016-01-10
|/ | | | | PRId64 format expects int64_t. Regression from c6e481cba559d35891f20ef4ac9ca6a41bdcdbd3.
* Merge pull request #2667 from equalsraf/tb-min-logJustin M. Keyes2016-01-10
|\ | | | | cmake: Pass MIN_LOG_LEVEL as compiler definition
| * cmake: Pass -DMIN_LOG_LEVEL as compiler definitionRui Abreu Ferreira2016-01-10
| | | | | | | | | | | | | | - Check if MIN_LOG_LEVEL value is a number 0-3, default to INFO (1) or ignore it in Release mode - When TRAVIS_CI_BUILD is ON the default is DEBUG (0) - Add local.mk.example
* | win32: Fix syntax error in #ifndef block. #3968Rui Abreu Ferreira2016-01-10
| | | | | | | | | | | | The block is only compiled if the system is NOT WIN32, but the closing parenthesis for the statement opened outside the block is closed inside the block.