Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
ac9fb18020
patch 8.1.1210: support for user commands is spread out
...
Problem: Support for user commands is spread out. No good reason to make
user commands optional.
Solution: Move user command support to usercmd.c. Always enable the
user_commands feature.
2019-04-27 13:04:13 +02:00
Bram Moolenaar
7591bb39d5
patch 8.1.1076: file for Insert mode is much too big
...
Problem: File for Insert mode is much too big.
Solution: Split off the code for Insert completion. (Yegappan Lakshmanan,
closes #4044 )
2019-03-30 13:53:47 +01:00
Bram Moolenaar
2ace1bd652
patch 8.1.1034: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Merge FEAT_MOUSE_SGR into FEAT_MOUSE_XTERM / FEAT_MOUSE_TTY.
2019-03-22 12:03:30 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
5fd0f5052f
patch 8.1.0914: code related to findfile() is spread out
...
Problem: Code related to findfile() is spread out.
Solution: Put findfile() related code into a new source file. (Yegappan
Lakshmanan, closes #3934 )
2019-02-13 23:13:28 +01:00
Bram Moolenaar
375e339007
patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
...
Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'.
(Gary Holloway)
Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by
Aron Widforss, closes #3539 )
2019-01-31 18:26:10 +01:00
Bram Moolenaar
2a4857a1fc
patch 8.1.0845: having job_status() free the job causes problems
...
Problem: Having job_status() free the job causes problems.
Solution: Do not actually free the job or terminal yet, put it in a list and
free it a bit later. Do not use a terminal after checking the job
status. (closes #3873 )
2019-01-29 22:29:07 +01:00
Bram Moolenaar
e0de2164f6
patch 8.1.0843: memory leak when running "make test_cd"
...
Problem: Memory leak when running "make test_cd".
Solution: Free the stack element when failing. (Dominique Pelle,
closes #3877 )
2019-01-29 20:17:28 +01:00
Bram Moolenaar
29ddebef40
patch 8.1.0826: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-26 17:28:26 +01:00
Bram Moolenaar
fc3abf47fb
patch 8.1.0806: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
2019-01-24 15:54:21 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
bb1969b6ab
patch 8.1.0763: nobody is using the Sun Workshop support
...
Problem: Nobody is using the Sun Workshop support.
Solution: Remove the Workshop support.
2019-01-17 15:45:25 +01:00
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