Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
977239ef52
patch 8.1.0722: cannot build without the virtualedit feature
...
Problem: Cannot build without the virtualedit feature.
Solution: Make getviscol2() always available.
2019-01-11 16:16:01 +01:00
Bram Moolenaar
c1a9bc1a72
patch 8.1.0654: when deleting a line text property flags are not adjusted
...
Problem: When deleting a line text property flags are not adjusted.
Solution: Adjust text property flags in preceding and following lines.
2018-12-28 21:59:29 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
162b71479b
patch 8.1.0614: placing signs can be complicated
...
Problem: Placing signs can be complicated.
Solution: Add functions for defining and placing signs. Introduce a group
name to avoid different plugins using the same signs. (Yegappan
Lakshmanan, closes #3652 )
2018-12-21 15:17:36 +01:00
Bram Moolenaar
9eb76af451
patch 8.1.0604: autocommand test fails on MS-Windows
...
Problem: Autocommand test fails on MS-Windows.
Solution: Use pathcmp() instead of strcmp() to check if a directory differs.
2018-12-16 16:30:21 +01:00
Bram Moolenaar
2caad3fbbd
patch 8.1.0602: DirChanged is also triggered when directory didn't change
...
Problem: DirChanged is also triggered when the directory didn't change.
(Daniel Hahler)
Solution: Compare the current with the new directory. (closes #3697 )
2018-12-16 15:38:02 +01:00
Bram Moolenaar
cd1a62d468
patch 8.1.0590: when a job ends the closed channels are not handled
...
Problem: When a job ends the closed channels are not handled.
Solution: When a job is detected to have ended, check the channels again.
(closes #3530 )
2018-12-14 21:32:02 +01:00
Bram Moolenaar
98aefe7c32
patch 8.1.0579: cannot attach properties to text
...
Problem: Cannot attach properties to text.
Solution: First part of adding text properties.
2018-12-13 22:20:09 +01:00
Bram Moolenaar
f49cc60aa8
patch 8.1.0519: cannot save and restore the tag stack
...
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes #3604 )
2018-11-11 15:21:05 +01:00
Bram Moolenaar
9f84ded38b
patch 8.1.0488: using freed memory in quickfix code
...
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists
until it is safe. (Yegappan Lakshmanan, closes #3538 )
2018-10-20 20:54:02 +02:00
Bram Moolenaar
1df2fa47b4
patch 8.1.0464: MS-Windows: job_info() has cmd without backslashes
...
Problem: MS-Windows: job_info() has cmd without backslashes. (Daniel
Hahler)
Solution: Use rem_backslash(). (closes #3517 , closes #3404 )
2018-10-07 21:36:11 +02:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
94f01956a5
patch 8.1.0342: crash when a callback deletes a window that is being used
...
Problem: Crash when a callback deletes a window that is being used.
Solution: Do not unload a buffer that is being displayed while redrawing the
screen. Also avoid invoking callbacks while redrawing.
(closes #2107 )
2018-09-01 15:30:03 +02:00
Bram Moolenaar
1f0bfe5617
patch 8.1.0226: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
2018-07-29 16:09:22 +02:00
Bram Moolenaar
7c365fb190
patch 8.1.0127: build failure when disabling the session feature
...
Problem: Build failure when disabling the session feature. (Pawel Slowik)
Solution: Adjust #ifdef for vim_chdirfile().
2018-06-29 20:28:31 +02:00
Bram Moolenaar
ebe74b7367
patch 8.0.1747: MS-Windows: term_start() does not set job_info() cmd
...
Problem: MS-Windows: term_start() does not set job_info() cmd.
Solution: Share the code from job_start() to set jv_argv.
2018-04-21 23:34:43 +02:00
Bram Moolenaar
2060892028
patch 8.0.1745: build failure on MS-Windows
...
Problem: Build failure on MS-Windows.
Solution: Build job arguments for MS-Windows. Fix allocating job twice.
2018-04-21 22:30:08 +02:00
Bram Moolenaar
333b80acf3
patch 8.0.1660: the terminal API "drop" command doesn't support options
...
Problem: The terminal API "drop" command doesn't support options.
Solution: Implement the options.
2018-04-04 22:57:29 +02:00
Bram Moolenaar
e26e0d2b83
patch 8.0.1620: reading spell file has no good EOF detection
...
Problem: Reading spell file has no good EOF detection.
Solution: Check for EOF at every character read for a length field.
2018-03-20 12:34:04 +01:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
b301f6b950
patch 8.0.1492: memory leak in balloon_split()
...
Problem: Memory leak in balloon_split().
Solution: Free the balloon lines. Free the balloon when exiting.
2018-02-10 15:38:35 +01:00
Bram Moolenaar
1567558b20
patch 8.0.1481: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add vim_clear() to free and clear the pointer.
2018-02-09 12:29:56 +01:00
Bram Moolenaar
b5cb65ba2b
patch 8.0.1460: missing file in patch
...
Problem: Missing file in patch.
Solution: Add changes to missing file.
2018-02-03 18:01:37 +01:00
Bram Moolenaar
e6640ad44e
patch 8.0.1421: accessing invalid memory with overlong byte sequence
...
Problem: Accessing invalid memory with overlong byte sequence.
Solution: Check for NUL character. (test by Dominique Pelle, closes #2485 )
2017-12-22 21:06:56 +01:00
Bram Moolenaar
1bd999f982
patch 8.0.1417: test doesn't search for a sentence
...
Problem: Test doesn't search for a sentence. Still fails when searching for
start of sentence. (Dominique Pelle)
Solution: Add paren. Check for MAXCOL in dec().
2017-12-19 22:25:40 +01:00
Bram Moolenaar
8ada6aa929
patch 8.0.1416: crash when searching for a sentence
...
Problem: Crash when searching for a sentence.
Solution: Return NUL when getting character at MAXCOL. (closes #2468 )
2017-12-19 21:23:21 +01:00
Bram Moolenaar
51b0f3701e
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
...
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.
2017-11-18 18:52:04 +01:00
Bram Moolenaar
a3f7e58bf8
patch 8.0.1276: key lost when window closed in exit callback
...
Problem: Typed key is lost when the terminal window is closed in exit
callback. (Gabriel Barta)
Solution: When the current window changes bail out of the wait loop. (closes
#2302 )
2017-11-09 13:21:58 +01:00
Bram Moolenaar
d057301b1f
patch 8.0.1236: Mac features are confusing
...
Problem: Mac features are confusing.
Solution: Make feature names more consistent, add "osxdarwin". Rename
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178 )
2017-10-28 21:11:06 +02:00
Bram Moolenaar
4f1982800f
patch 8.0.1214: accessing freed memory when EXITFREE is set
...
Problem: Accessing freed memory when EXITFREE is set and there is more than
one tab and window. (Dominique Pelle)
Solution: Free options later. Skip redraw when exiting.
2017-10-23 21:53:30 +02:00
Bram Moolenaar
0263146b5d
patch 8.0.1136: W_WIDTH() is always the same
...
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
2017-09-22 15:20:32 +02:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
2017-09-16 20:54:51 +02:00
Bram Moolenaar
d41babef89
patch 8.0.1019: pasting in virtual edit happens in the wrong place
...
Problem: Pasting in virtual edit happens in the wrong place.
Solution: Do not adjust coladd when after the end of the line (closes #2015 )
2017-08-30 17:01:35 +02:00
Bram Moolenaar
13ebb03e75
patch 8.0.1000: cannot open a terminal without running a job in it
...
Problem: Cannot open a terminal without running a job in it.
Solution: Make ":terminal NONE" open a terminal with a pty.
2017-08-26 22:02:51 +02:00
Bram Moolenaar
9aa1569128
patch 8.0.0962: crash with virtualedit and joining lines
...
Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim
#6726 )
Solution: When using a mark check that coladd is valid.
2017-08-19 15:05:32 +02:00
Bram Moolenaar
613fe7ad2b
patch 8.0.0751: OpenPTY missing with some combination of features
...
Problem: OpenPTY missing with some combination of features. (Kazunobu
Kuriyama)
Solution: Adjust #ifdef. Also include pty.pro when needed.
2017-07-22 21:11:53 +02:00
Bram Moolenaar
a529ce068b
patch 8.0.0661: recognizing urxvt mouse codes does not work well
...
Problem: Recognizing urxvt mouse codes does not work well.
Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486 )
2017-06-22 22:37:57 +02:00
Bram Moolenaar
478af67dd6
patch 8.0.0561: undefined behavior when using backslash after empty line
...
Problem: Undefined behavior when using backslash after empty line.
Solution: Check for an empty line. (Dominique Pelle, closes #1631 )
2017-04-10 22:22:42 +02:00
Bram Moolenaar
ace95989ed
patch 8.0.0520: using a function pointer while the function is known
...
Problem: Using a function pointer instead of the actual function, which we
know.
Solution: Change mb_ functions to utf_ functions when already checked for
Unicode. (Dominique Pelle, closes #1582 )
2017-03-29 17:30:27 +02:00
Bram Moolenaar
15618fa643
patch 8.0.0493: crash with cd command with very long argument
...
Problem: Crash with cd command with very long argument.
Solution: Check for running out of space. (Dominique pending, closes #1576 )
2017-03-19 21:37:13 +01:00
Bram Moolenaar
f2405ed232
patch 8.0.0468: after aborting an Ex command g< does not work
...
Problem: After aborting an Ex command g< does not work. (Marcin
Szamotulski)
Solution: Postpone clearing scrollback messages to until the command line
has been entered. Also fix that the screen isn't redrawn if after
g< the command line is cancelled.
2017-03-16 19:58:25 +01:00
Bram Moolenaar
d8492792f2
patch 8.0.0460: can't build on HPUX
...
Problem: Can't build on HPUX.
Solution: Fix argument names in vim_stat(). (John Marriott)
2017-03-16 12:22:38 +01:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +01:00
Bram Moolenaar
5a66dfb25e
patch 8.0.0397: can't build with +viminfo but without +eval
...
Problem: Cannot build with the viminfo feature but without the eval
feature.
Solution: Adjust #ifdef. (John Marriott)
2017-03-01 20:40:39 +01:00
Bram Moolenaar
24922ec233
patch 8.0.0357: crash when setting 'guicursor' to weird value
...
Problem: Crash when setting 'guicursor' to weird value.
Solution: Avoid negative size. (Dominique Pelle, closes #1465 )
2017-02-23 17:59:22 +01:00
Bram Moolenaar
45600ce8f2
patch 8.0.0248: vim_strcat() cannot handle overlapping arguments
...
Problem: vim_strcat() cannot handle overlapping arguments.
Solution: Use mch_memmove() instead of strcpy(). (Justin M Keyes,
closes #1415 )
2017-01-27 21:54:07 +01:00
Bram Moolenaar
cc5b22b3bf
patch 8.0.0243: tolower() does not work if the byte count changes
...
Problem: When making a character lower case with tolower() changes the byte
cound, it is not made lower case.
Solution: Add strlow_save(). (Dominique Pelle, closes #1406 )
2017-01-26 22:51:56 +01:00