summaryrefslogtreecommitdiff
path: root/src/proto
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menuv8.0.1494Bram Moolenaar2018-02-101-0/+1
| | | | | | | | Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes #2372, closes #1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script.
* patch 8.0.1481: clearing a pointer takes two linesv8.0.1481Bram Moolenaar2018-02-091-0/+1
| | | | | Problem: Clearing a pointer takes two lines. Solution: Add vim_clear() to free and clear the pointer.
* patch 8.0.1479: insert mode completion state is confusingv8.0.1479Bram Moolenaar2018-02-091-0/+2
| | | | | Problem: Insert mode completion state is confusing. Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
* patch 8.0.1459: cannot handle change of directoryv8.0.1459Bram Moolenaar2018-02-031-1/+1
| | | | | | Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes #888) Avoid changing directory for 'autochdir' too often.
* patch 8.0.1450: GUI: endless loop when stopping cursor blinkingv8.0.1450Bram Moolenaar2018-01-315-6/+6
| | | | | | Problem: Endless loop when gui_mch_stop_blink() is called while blink_state is BLINK_OFF. (zdohnal) Solution: Avoid calling gui_update_cursor() recursively.
* patch 8.0.1449: slow redrawing with DirectXv8.0.1449Bram Moolenaar2018-01-312-0/+4
| | | | | | Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes #2560)
* patch 8.0.1435: memory leak in test_arabicv8.0.1435Bram Moolenaar2018-01-281-0/+1
| | | | | Problem: Memory leak in test_arabic. Solution: Free the from and to parts. (Christian Brabandt, closes #2569)
* patch 8.0.1405: duplicated code for getting a typed characterv8.0.1405Bram Moolenaar2017-12-182-1/+3
| | | | | | | Problem: Duplicated code for getting a typed character. CursorHold is called too often in the GUI. (lilydjwg) Solution: Refactor code to move code up from mch_inchar(). Don't fire CursorHold if feedkeys() was used. (closes #2451)
* patch 8.0.1394: cannot intercept a yank commandv8.0.1394Bram Moolenaar2017-12-163-0/+5
| | | | | | Problem: Cannot intercept a yank command. Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al., closes #2333)
* patch 8.0.1382: get "no write since last change" message if terminal is openv8.0.1382Bram Moolenaar2017-12-091-0/+1
| | | | | | Problem: Get "no write since last change" message if a terminal is open. (Fritz mehner) Solution: Don't consider a buffer changed if it's a terminal window.
* patch 8.0.1381: ch_readraw() waits for NL if channel mode is NLv8.0.1381Bram Moolenaar2017-12-091-1/+0
| | | | | Problem: ch_readraw() waits for NL if channel mode is NL. Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)
* patch 8.0.1362: terminal window colors wrong when using Terminal highlightingv8.0.1362Bram Moolenaar2017-12-011-0/+1
| | | | | | Problem: Terminal window colors wrong when using Terminal highlighting. Solution: Set ansi_index when setting the default color. Also cache the color index for Terminal. (Ozaki Kiichi, closes #2393)
* patch 8.0.1361: some users don't want to diff with hidden buffersv8.0.1361Bram Moolenaar2017-12-011-0/+1
| | | | | Problem: Some users don't want to diff with hidden buffers. Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394)
* patch 8.0.1343: MS-Windows: does not show colored emojisv8.0.1343Bram Moolenaar2017-11-261-1/+0
| | | | | | Problem: MS-Windows: does not show colored emojis. Solution: Implement colored emojis. Improve drawing speed. Make 'taamode' work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375)
* patch 8.0.1330: MS-Windows: job in terminal can't get back to Vimv8.0.1330Bram Moolenaar2017-11-211-1/+1
| | | | | | Problem: MS-Windows: job in terminal can't get back to Vim. Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes #2360)
* patch 8.0.1318: terminal balloon only shows one linev8.0.1318Bram Moolenaar2017-11-192-2/+3
| | | | | | Problem: Terminal balloon only shows one line. Solution: Split into several lines in a clever way. Add balloon_split(). Make balloon_show() accept a list in the terminal.
* patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar2017-11-182-3/+6
| | | | | | Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
* patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar2017-11-183-0/+5
| | | | | | Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI.
* patch 8.0.1304: CTRL-G/CTRL-T don't work with incsearch and empty patternv8.0.1304Bram Moolenaar2017-11-161-0/+1
| | | | | Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern. Solution: Use the last search pattern. (Christian Brabandt, closes #2292)
* patch 8.0.1300: file permissions may end up wrong when writingv8.0.1300Bram Moolenaar2017-11-161-0/+1
| | | | | | Problem: File permissions may end up wrong when writing. Solution: Use fchmod() instead of chmod() when possible. Don't truncate until we know we can change the file.
* patch 8.0.1240: MS-Windows: term_start() does not support environmentv8.0.1240Bram Moolenaar2017-10-301-0/+1
| | | | | | Problem: MS-Windows: term_start() does not support environment. Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes #2264)
* patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()v8.0.1239Bram Moolenaar2017-10-302-2/+3
| | | | | | Problem: Cannot use a lambda for the skip argument to searchpair(). Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454, closes #2265)
* patch 8.0.1238: incremental search only shows one matchv8.0.1238Bram Moolenaar2017-10-291-0/+2
| | | | | | Problem: Incremental search only shows one match. Solution: When 'incsearch' and and 'hlsearch' are both set highlight all matches. (haya14busa, closes #2198)
* patch 8.0.1198: older compilers don't know uint8_tv8.0.1198Bram Moolenaar2017-10-151-2/+2
| | | | | Problem: Older compilers don't know uint8_t. Solution: Use char_u instead.
* patch 8.0.1194: actual fg and bg colors of terminal are unknownv8.0.1194Bram Moolenaar2017-10-141-0/+2
| | | | | Problem: Actual fg and bg colors of terminal are unknown. Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
* patch 8.0.1170: using termdebug results in 100% CPU timev8.0.1170Bram Moolenaar2017-10-011-2/+2
| | | | | Problem: Using termdebug results in 100% CPU time. (tomleb) Solution: Use polling instead of select().
* patch 8.0.1152: encoding of error message wrong in Cygwin terminalv8.0.1152Bram Moolenaar2017-09-261-0/+1
| | | | | Problem: Encoding of error message wrong in Cygwin terminal. Solution: Get locale from environment variables. (Ken Takata)
* patch 8.0.1139: using window toolbar changes statev8.0.1139Bram Moolenaar2017-09-231-0/+2
| | | | | Problem: Using window toolbar changes state. Solution: Always execute window toolbar actions in Normal mode.
* patch 8.0.1133: syntax timeout not used correctlyv8.0.1133Bram Moolenaar2017-09-221-1/+2
| | | | | | Problem: Syntax timeout not used correctly. Solution: Do not pass the timeout to syntax_start() but set it explicitly. (Yasuhiro Matsumoto, closes #2139)
* patch 8.0.1123: cannot define a toolbar for a windowv8.0.1123Bram Moolenaar2017-09-172-0/+4
| | | | | Problem: Cannot define a toolbar for a window. Solution: Add a window-local toolbar.
* patch 8.0.1109: timer causes error on exit from Ex modev8.0.1109Bram Moolenaar2017-09-141-0/+2
| | | | | | Problem: Timer causes error on exit from Ex mode. (xtal8) Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt, closes #2079)
* patch 8.0.1108: cannot specify mappings for the terminal windowv8.0.1108Bram Moolenaar2017-09-141-2/+2
| | | | | | Problem: Cannot specify mappings for the terminal window. Solution: Add the :tmap command and associated code. (Jacob Askeland, closes #2073)
* patch 8.0.1102: terminal window does not use Normal colorsv8.0.1102Bram Moolenaar2017-09-141-0/+1
| | | | | | | | Problem: Terminal window does not use Normal colors. Solution: For the GUI and when 'termguicolors' is enabled, use the actual foreground and background colors for the terminal. (Yasuhiro Matsumoto, closes #2067) Use the "Terminal" highlight group if defined.
* patch 8.0.1100: stuck in redraw loop when 'lazyredraw' is setv8.0.1100Bram Moolenaar2017-09-131-1/+1
| | | | | | Problem: Stuck in redraw loop when 'lazyredraw' is set. Solution: Don't loop on update_screen() when not redrawing. (Yasuhiro Matsumoto, closes #2082)
* patch 8.0.1093: various small quickfix issuesv8.0.1093Bram Moolenaar2017-09-111-1/+1
| | | | | | | Problem: Various small quickfix issues. Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr(). function. Add a couple more tests. Update documentation. (Yegappan Lakshmanan)
* patch 8.0.1084: GTK build has compiler warningsv8.0.1084Bram Moolenaar2017-09-091-0/+1
| | | | | | Problem: GTK build has compiler warnings. (Christian Brabandt) Solution: Get screen size with a different function. (Ken Takata, Yasuhiro Matsumoto)
* patch 8.0.1076: term_start() does not take callbacksv8.0.1076Bram Moolenaar2017-09-081-1/+2
| | | | | | | | Problem: term_start() does not take callbacks. When using two terminals without a job only one is read from. A terminal without a window returns the wrong pty. Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a window. Fix reading from multiple channels.
* patch 8.0.1041: bogus characters when indenting during visual-block appendv8.0.1041Bram Moolenaar2017-09-022-0/+3
| | | | | | Problem: Bogus characters appear when indenting kicks in while doing a visual-block append. Solution: Recompute when indenting is done. (Christian Brabandt)
* patch 8.0.1034: sending buffer lines to terminal doesn't work on MS-Windowsv8.0.1034Bram Moolenaar2017-09-021-0/+1
| | | | | | Problem: Sending buffer lines to terminal doesn't work on MS-Windows. Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto, closes #2043) Add the "eof_chars" option.
* patch 8.0.1014: old compiler doesn't know uint32_tv8.0.1014Bram Moolenaar2017-08-301-2/+2
| | | | | | Problem: Old compiler doesn't know uint32_t. Warning for using NULL instead of NUL. Solution: Use UINT32_T. Use NUL instead of NULL.
* patch 8.0.1009: Xterm cursor blinking status may be invertedv8.0.1009Bram Moolenaar2017-08-281-0/+1
| | | | | | Problem: Xterm cursor blinking status may be inverted. Solution: Use another request to get the blink status and compare with the cursor style report
* patch 8.0.1006: quickfix list changes when parsing text with 'erroformat'v8.0.1006Bram Moolenaar2017-08-271-1/+1
| | | | | | Problem: Cannot parse text with 'erroformat' without changing a quickfix list. Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
* patch 8.0.1005: terminal without job updates slowly in GUIv8.0.1005Bram Moolenaar2017-08-271-0/+1
| | | | | Problem: Terminal without job updates slowly in GUI. Solution: Poll for input when a channel has the keep_open flag.
* patch 8.0.1002: unnecessarily updating screen after timer callbackv8.0.1002Bram Moolenaar2017-08-261-2/+2
| | | | | Problem: Unnecessarily updating screen after timer callback. Solution: Check if calling the timer sets must_redraw.
* patch 8.0.1000: cannot open a terminal without running a job in itv8.0.1000Bram Moolenaar2017-08-262-2/+3
| | | | | Problem: Cannot open a terminal without running a job in it. Solution: Make ":terminal NONE" open a terminal with a pty.
* patch 8.0.0985: libvterm has its own idea of character widthv8.0.0985Bram Moolenaar2017-08-221-0/+2
| | | | | | Problem: Libvterm has its own idea of character width. Solution: Use the Vim functions for character width and composing to avoid a mismatch. (idea by Yasuhiro Matsumoto)
* patch 8.0.0973: initial info about blinking cursor is wrongv8.0.0973Bram Moolenaar2017-08-201-1/+0
| | | | | Problem: initial info about blinking cursor is wrong Solution: Invert the blink flag. Add t_VS to stop a blinking cursor.
* patch 8.0.0957: a terminal job can deadlock when sending many keysv8.0.0957Bram Moolenaar2017-08-181-0/+1
| | | | | | Problem: When term_sendkeys() sends many keys it may get stuck in writing to the job. Solution: Make the write non-blocking, buffer keys to be sent.
* patch 8.0.0956: scrolling in a terminal window has flickerv8.0.0956Bram Moolenaar2017-08-171-3/+3
| | | | | | Problem: Scrolling in a terminal hwindow as flicker when the Normal background differs from the terminal window background. Solution: Set the attribute to clear with.
* patch 8.0.0953: get "no write since last change" error in terminal windowv8.0.0953Bram Moolenaar2017-08-171-0/+2
| | | | | | Problem: Get "no write since last change" error in terminal window. Solution: Use another message when closing a terminal window. Make ":quit!" also end the job.