aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | 'titleold': simplify behaviorJustin M. Keyes2017-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - default 'titleold' to empty - set title on exit if 'title' is enabled and 'titleold' is non-empty - update docs
* | | | | | 'titleold': set UI title on exit #7191nate2017-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #7129 ref #4063
* | | | | | Stub ngettext when libintl isn't availableJames McCoy2017-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should have been included in #6547 as part of vim-patch:7.4.2152. Closes #7352
* | | | | | win: vim_FullName(): force backslashes #7287Ignas Anikevicius2017-10-02
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace obvious cases of '/' literal with PATHSEP. (There are still some remaining cases that need closer inspection.) - Fixup tests: ui/screen_basic closes #7117 ref https://github.com/neovim/neovim/issues/2471#issuecomment-271193714
* / / / / oldtest: Run test_mksession_utf8 testsJames McCoy2017-09-27
|/ / / /
* | | | Merge pull request #7325 from jamessan/vim-8.0.0112James McCoy2017-09-26
|\ \ \ \ | | | | | | | | | | vim-patch:8.0.0112,8.0.0253,8.0.0258,8.0.1024,8.0.1025
| * | | | lintJames McCoy2017-09-26
| | | | |
| * | | | vim-patch:8.0.1025James McCoy2017-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Stray copy command in test. Solution: Remove the copy command. https://github.com/vim/vim/commit/4e83961985abb78757b135f29ac4ffde675247af
| * | | | vim-patch:8.0.1024James McCoy2017-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Manual folds are lost when a session file has the same buffer in two windows. (Jeansen) Solution: Use ":edit" only once. (Christian Brabandt, closes vim/vim#1958) https://github.com/vim/vim/commit/4bebc9a0565670b853d227f81a9a31eafdb47eed
| * | | | vim-patch:8.0.0258James McCoy2017-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: mksession test leaves file behind. Solution: Delete the file. Rename files to start with "X". https://github.com/vim/vim/commit/c9b56b2ceb4662f87c39ea07ba5090a073fd6286
| * | | | vim-patch:8.0.0253James McCoy2017-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When creating a session when winminheight is 2 or larger and loading that session gives an error. Solution: Also set winminheight before setting winheight to 1. (Rafael Bodill, neovim vim/vim#5717) https://github.com/vim/vim/commit/36ae89c550a4f0a380606c3fb4a054957ad698f0
| * | | | vim-patch:8.0.0112James McCoy2017-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests 92 and 93 are old style. Solution: Make test92 and test93 new style. (Hirohito Higashi, closes vim/vim#1289) https://github.com/vim/vim/commit/eca626fcdb73d480660c78b9f84cc043fa561922
* | | | | Merge pull request #7310 from ckelsel/vim-8.0.0330James McCoy2017-09-26
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.0.0330
| * | | | | vim-patch:8.0.0330ckelsel2017-09-24
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access after "vapo". (Dominique Pelle) Solution: Fix the cursor column. https://github.com/vim/vim/commit/84b2a381451e9068b09ef6d85f5e8cf1598e7355
* | | | | Merge pull request #7309 from ckelsel/vim-8.0.0328James McCoy2017-09-26
|\ \ \ \ \ | |_|/ / / |/| | | | vim-patch:8.0.0328
| * | | | vim-patch:8.0.0328ckelsel2017-09-24
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: The "zero count" error doesn't have a number. (Hirohito Higashi) Solution: Give it a number and be more specific about the error. https://github.com/vim/vim/commit/23a5558cfd860401aa694f0302d621887440f031
* | | | Merge pull request #7311 from ckelsel/vim-8.0.0333James McCoy2017-09-26
|\ \ \ \ | | | | | | | | | | vim-patch:8.0.0333
| * | | | vim-patch:8.0.0333ckelsel2017-09-24
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access when 'complete' ends in a backslash. Solution: Check for trailing backslash. (Dominique Pelle, closes vim/vim#1478) https://github.com/vim/vim/commit/226c53429109f24e31c17016aedfd7fbf7a9aa50
* / / / vim-patch:8.0.0091 (#7312)KunMing Xie2017-09-24
|/ / / | | | | | | | | | | | | | | | | | | Problem: Test_help_complete sometimes fails in MS-Windows console. Solution: Use getcompletion() instead of feedkeys() and command line completion. (Hirohito Higashi) https://github.com/vim/vim/commit/9f0e423c2818c0cacd0810f9c3c67cbb6b80963d
* | | Move definition of cstrchr above the functions which call itJames McCoy2017-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functions with FUNC_ATTR_ALWAYS_INLINE need to be defined before they are called to work around bugs with some compiler versions. When the body is after the use of the function, compilation will fail with /home/niko/build/neovim/src/nvim/regexp.c: In function 'regmatch': /home/niko/build/neovim/build/src/nvim/auto/regexp.c.generated.h:77: sorry, unimplemented: inlining failed in call to 'cstrchr': function body not available /home/niko/build/neovim/src/nvim/regexp.c:4193: sorry, unimplemented: called from here
* | | vim-patch:8.0.0294 (#7305)Michael Schupikov2017-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Argument list is not stored correctly in a session file. (lgpasquale) Solution: Use "$argadd" instead of "argadd". (closes vim/vim#1434) https://github.com/vim/vim/commit/79da563cf9220b9abb83455a68d995684133ea56 Signed-off-by: Michael Schupikov <michael@schupikov.de>
* | | Merge pull request #7277 from jamessan/deprecated-unibilium-APIsJames McCoy2017-09-17
|\ \ \ | | | | | | | | tui: Use unibi_var_from_num when available
| * | | tui: Use unibi_var_from_num when availableJames McCoy2017-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of unibilium 1.2.1, directly manipulating unibi_var_t is deprecated. ../src/nvim/tui/tui.c: In function 'update_attrs': ../src/nvim/tui/tui.c:321:7: warning: 'i' is deprecated: use unibi_var_from_num or unibi_num_from_var instead [-Wdeprecated-declarations] data->params[0].i = (fg >> 16) & 0xff; // red ^~~~ In file included from ../src/nvim/tui/tui.c:12:0: /usr/include/unibilium.h:632:9: note: declared here int i UNIBI_DEPRECATED("use unibi_var_from_num or unibi_num_from_var instead"); ^ All use should go through unibi_{num,str}_from_var and unibi_var_from_{num,str}. Wrap access of unibi_var_t behind a new UNIBI_SET_NUM_VAR macro which uses the new functions when they're available.
* | | | vim-patch:8.0.0327 (#7281)KunMing Xie2017-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The E11 error message in the command line window is not translated. Solution: use _(). (Hirohito Higashi) https://github.com/vim/vim/commit/75c19464ed7fb6024af64747379e61abc4e4a483
* | | | vim-patch:8.0.0324 (#7279)KunMing Xie2017-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access with "1;y". Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique Pelle, closes vim/vim#1455) https://github.com/vim/vim/commit/f1f6f3f7df2938b3583e341482d96c1d53124c51
* | | | vim-patch:8.0.0302 NA (#7264)KunMing Xie2017-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (NA: Nvim removed the ability to set termcodes directly.) Problem: Cannot set terminal key codes with :let. Solution: Make it work. https://github.com/vim/vim/commit/e353c402e63b9b0a0bc06acf390e352d9e7eeaeb
* | | | vim-patch:8.0.0305 (#7265)KunMing Xie2017-09-17
|/ / / | | | | | | | | | | | | | | | Problem: Invalid memory access when option has duplicate flag. Solution: Correct pointer computation. (Dominique Pelle, closes vim/vim#1442) https://github.com/vim/vim/commit/aaaf57d8a936efe420190c077e4a74041cc6c72e
* | | getchar.c: add TERM_FOCUS to MAP_HASH (#7271)Justin M. Keyes2017-09-16
| | | | | | | | | | | | | | | vim-patch:8.0.1108 https://github.com/vim/vim/commit/69fbc9e1dab176f345719436cd89d854df0a2abd
* | | ex_cmds.c:do_sub(): macroize duplicate codeJustin M. Keyes2017-09-13
| | |
* | | 'inccommand': fix 'gdefault' lockup #7261KillTheMule2017-09-12
| | | | | | | | | | | | | | | closes #7244 ref #7249
* | | Vim-patch 8.0.0300 (#7258)KunMing Xie2017-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0300 Problem: Cannot stop diffing hidden buffers. (Daniel Hahler) Solution: When using :diffoff! make the whole list if diffed buffers empty. (closes vim/vim#736) https://github.com/vim/vim/commit/25ea0544587dd45088512fec9d7a685e35fea679
* | | vim-patch:8.0.0186 (#7154)KunMing Xie2017-09-10
| | | | | | | | | | | | | | | | | | | | | Problem: The error message from assert_notequal() is confusing. Solution: Only mention the expected value. https://github.com/vim/vim/commit/5869cf060e60cc09e71b2b3bd85f0576ec78f9f5
* | | vim-patch:8.0.0282 vim-patch:8.0.0291 (#7255)KunMing Xie2017-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0291 Problem: Visual block insertion does not insert in all lines. Solution: Don't bail out of insert too early. Add a test. (Christian Brabandt, closes vim/vim#1290) https://github.com/vim/vim/commit/23fa81d2223cd9bb7c51829c48047b2976bc2d11 vim-patch:8.0.0282 Problem: When doing a Visual selection and using "I" to go to insert mode, CTRL-O needs to be used twice to go to Normal mode. (Coacher) Solution: Check for the return value of edit(). (Christian Brabandt, closes #1290) https://github.com/vim/vim/commit/0b5c93a7f266cd8c90ea27bdaf9f7214a95d64d7
* | | inccommand: fix optimization logic #7224KillTheMule2017-09-09
| | | | | | | | | | | | | | | | | | | | | Before this change the preview changes in the buffer viewport were limited to the size of the preview window ('cmdwinheight'). closes #7220
* | | terminal.c: need maketitle() in terminal-modeJustin M. Keyes2017-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | normal_redraw() usually takes care of this, but that doesn't happen during terminal-mode. regression by c484323dc67f steps to reproduce: nvim -u NORC --cmd 'execute("set titlestring=" . $NVIM_LISTEN_ADDRESS) | set title | startinsert | !sleep 1' term://sh closes #7248
* | | Merge #7241 ':terminal : handle F1-F12, other keys'Justin M. Keyes2017-09-06
|\ \ \
| * \ \ Merge #5014 ':terminal : handle F1-F12, other keys'Justin M. Keyes2017-09-05
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #3101 closes #4343 closes #5024 closes #5925
| | * | | terminal.c: label fallthrough on big switchRJ Miller2017-01-10
| | | | |
| | * | | terminal.c: handle ctrl+space and ctrl+@RJ Miller2017-01-10
| | | | |
| | * | | terminal.c: add more arrow key supportRJ Miller2017-01-10
| | | | |
| | * | | terminal.c: move mod logic into convert_modifiersRJ Miller2017-01-10
| | | | |
| | * | | terminal.c: Handle more special keysRJ Miller2017-01-10
| | | | |
* | | | | Merge #7221 from justinmk/ev-focusgainedJustin M. Keyes2017-09-06
|\ \ \ \ \ | | | | | | | | | | | | tui: schedule event instead of <FocusGained> pseudokey
| * | | | | doc: channel, eventloopJustin M. Keyes2017-09-05
| | | | | |
| * | | | | eventloop: loop_schedule_deferred()Justin M. Keyes2017-09-05
| | | | | | | | | | | | | | | | | | | | | | | | Generalize the "schedule schedule" technique.
| * | | | | lintJustin M. Keyes2017-09-05
| | | | | |
| * | | | | log: introduce `context`Justin M. Keyes2017-09-05
| | | | | |
| * | | | | eventloop: restore redraw in cmdline K_EVENT handlerJustin M. Keyes2017-09-05
| | | | | | | | | | | | | | | | | | | | | | | | Restores behavior from commit: 02e86ef04cc1
| * | | | | eventloop: do not redraw in cmdline K_EVENT handlerJustin M. Keyes2017-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If :echo is done by an timer or event (such as FocusGained/FocusLost), redrawcmdline() clobbers it.
| * | | | | eventloop: FocusGained: schedule the scheduleJustin M. Keyes2017-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main_loop.fast_events does not manifest as K_EVENT, because it is processed at a different stage than main_loop.events. In order to queue into main_loop.events, we need to go through the threadsafe loop_schedule(), which queues into main_loop.thread_events and eventually main_loop.fast_events. _Then_ it is safe to directly queue into main_loop.events. This makes it more likely that the event is treated as K_EVENT.