Bram Moolenaar
8c62a08faf
patch 8.1.0881: can execute shell commands in rvim through interfaces
...
Problem: Can execute shell commands in rvim through interfaces.
Solution: Disable using interfaces in restricted mode. Allow for writing
file with writefile(), histadd() and a few others.
2019-02-08 14:34:10 +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
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
135059724f
patch 8.1.0805: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 1.
2019-01-24 15:04:48 +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
4164bb204e
patch 8.1.0691: text properties are not adjusted for :substitute
...
Problem: Text properties are not adjusted for :substitute.
Solution: Adjust text properties as well as possible.
2019-01-04 23:09:49 +01:00
Bram Moolenaar
bbea47075c
patch 8.1.0673: functionality for signs is spread out over several files
...
Problem: Functionality for signs is spread out over several files.
Solution: Move most of the sign functionality into sign.c. (Yegappan
Lakshmanan, closes #3751 )
2019-01-01 13:20:31 +01:00
Bram Moolenaar
a355652ea5
patch 8.1.0669: the ex_sign() function is too long
...
Problem: The ex_sign() function is too long.
Solution: Refactor the function. Add a bit more testing. (Yegappan
Lakshmanan, closes #3745 )
2018-12-31 22:02:29 +01:00
Bram Moolenaar
7d83bf4f2b
patch 8.1.0658: deleting signs and completion for :sign is insufficient
...
Problem: Deleting signs and completion for :sign is insufficient.
Solution: Add deleting signs in a specified or any group from the current
cursor location. Add group and priority to sign command
completion. Add tests for different sign unplace commands. Update
help text. Add tests for sign jump with group. Update help for
sign jump. (Yegappan Lakshmanan, closes #3731 )
2018-12-29 18:53:55 +01:00
Bram Moolenaar
6436cd83f9
patch 8.1.0644: finding next sign ID is inefficient
...
Problem: Finding next sign ID is inefficient.
Solution: Add next_sign_id. (Yegappan Lakshmanan, closes #3717 )
2018-12-27 00:28:33 +01:00
Bram Moolenaar
7a2d9892b7
patch 8.1.0632: using sign group names is inefficient
...
Problem: Using sign group names is inefficient.
Solution: Store group names in a hash table and use a reference to them.
Also remove unnecessary use of ":exe" from the tests. (Yegappan
Lakshmanan, closes #3715 )
2018-12-24 20:23:49 +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
06b056e110
patch 8.1.0588: cannot define a sign with space in the text
...
Problem: Cannot define a sign with space in the text.
Solution: Allow for escaping characters. (Ben Jackson, closes #2967 )
2018-12-14 19:37:08 +01:00
Bram Moolenaar
ddd1f9183b
patch 8.1.0516: :move command marks buffer modified when nothing changed
...
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
2018-11-10 19:19:36 +01:00
Bram Moolenaar
3d6014f033
patch 8.1.0470: pointer ownership around fname_expand() is unclear
...
Problem: Pointer ownership around fname_expand() is unclear.
Solution: Allow b_ffname and b_sfname to point to the same allocated memory,
only free one. Update comments.
2018-10-11 19:27:47 +02:00
Bram Moolenaar
0664089ecc
patch 8.1.0468: MS-Windows: filter command with pipe character fails
...
Problem: MS-Windows: Filter command with pipe character fails. (Johannes
Riecken)
Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
closes #1743 , closes #3523 )
2018-10-09 21:49:33 +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
b0e982bf05
patch 8.1.0416: sort doesn't report deleted lines
...
Problem: Sort doesn't report deleted lines.
Solution: Call msgmore(). (Christian Brabandt, closes #3454 )
2018-09-21 12:46:22 +02:00
Bram Moolenaar
42335f50bc
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
...
Problem: Xdiff doesn't use the Vim memory allocation functions.
Solution: Change the xdl_ defines. Check for out-of-memory. Rename
"ignored" to "vim_ignored".
2018-09-13 15:33:43 +02:00
Bram Moolenaar
da6e8919e7
patch 8.1.0306: plural messages are not translated properly
...
Problem: Plural messages are not translated properly.
Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin)
2018-08-21 15:12:14 +02:00
Bram Moolenaar
b31a3acce1
patch 8.1.0270: checking for a Tab in a line could be faster
...
Problem: Checking for a Tab in a line could be faster.
Solution: Use strchr() instead of strrchr(). (closes #3312 )
2018-08-11 14:41:55 +02:00
Bram Moolenaar
3bf5e6a4c8
patch 8.1.0235: more help tags that jump to the wrong location
...
Problem: More help tags that jump to the wrong location.
Solution: Add more exceptions and a table for "expr-" tags. (Hirohito
Higashi)
2018-08-02 22:23:57 +02:00
Bram Moolenaar
a5bc38b8c1
patch 8.1.0231: :help -? goes to help for -+
...
Problem: :help -? goes to help for -+.
Solution: Add -? to list of special cases. (Hirohito Higashi)
2018-08-01 18:03:02 +02:00
Bram Moolenaar
307ac5c68e
patch 8.1.0126: various problems with 'vartabstop'
...
Problem: Various problems with 'vartabstop'.
Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian
Brabandt, closes #3076 )
2018-06-28 22:23:00 +02:00
Bram Moolenaar
dc9e955fb0
patch 8.1.0120: buffer 'modified' set even when :sort has no changes
...
Problem: Buffer 'modified' set even when :sort has no changes.
Solution: Only set 'modified' when lines are moved. (Jason Franklin)
2018-06-28 11:28:08 +02:00
Bram Moolenaar
0119a59ffd
patch 8.1.0114: confusing variable name
...
Problem: Confusing variable name.
Solution: Rename new_ts to new_vts_array. Change zero to NULL.
2018-06-24 23:53:28 +02:00
Bram Moolenaar
fc0896093c
patch 8.1.0110: file name not displayed with ":file"
...
Problem: File name not displayed with ":file" when 'F' is in 'shortmess'.
Solution: Always display the file name when there is no argument (Christian
Brabandt, closes #3070 )
2018-06-24 16:53:35 +02:00
Bram Moolenaar
04958cbaf2
patch 8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711 )
2018-06-23 19:23:02 +02:00
Bram Moolenaar
adb8fbec4f
patch 8.1.0034: cursor not restored with ":edit #"
...
Problem: Cursor not restored with ":edit #".
Solution: Don't assume autocommands moved the cursor when it was moved to
the first non-blank.
2018-06-04 20:34:23 +02:00
Bram Moolenaar
6f4700233f
patch 8.0.1688: some macros are used without a semicolon
...
Problem: Some macros are used without a semicolon, causing auto-indent to be
wrong.
Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729 )
2018-04-10 18:47:20 +02:00
Bram Moolenaar
0c72fe4ed8
patch 8.0.1650: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
2018-03-29 16:04:08 +02:00
Bram Moolenaar
8a3bb56230
patch 8.0.1566: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04 20:14:14 +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
5f73ef8d20
patch 8.0.1553: cannot see what digraph is used to insert a character
...
Problem: Cannot see what digraph is used to insert a character.
Solution: Show the digraph with the "ga" command. (Christian Brabandt)
2018-02-27 21:09:30 +01:00
Bram Moolenaar
7a76092a51
patch 8.0.1525: using :wqa exits even if a job runs in a terminal window
...
Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
Felice)
Solution: Check if a terminal has a running job. (closes #2654 )
2018-02-19 23:10:02 +01:00
Bram Moolenaar
e4db7aedab
patch 8.0.1512: warning for possibly using NULL pointer
...
Problem: Warning for possibly using NULL pointer. (Coverity)
Solution: Skip using the pointer if it's NULL.
2018-02-13 13:12:11 +01:00
Bram Moolenaar
5a656864a0
patch 8.0.1508: the :drop command is not always available
...
Problem: The :drop command is not always available.
Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639 )
2018-02-12 22:08:06 +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
15833239a4
patch 8.0.1461: missing another file in patch
...
Problem: Missing another file in patch.
Solution: Add changes to missing file.
2018-02-03 18:33:17 +01:00
Bram Moolenaar
35c5e8155d
patch 8.0.1383: local additions in help skips some files
...
Problem: Local additions in help skips some files. (joshklod)
Solution: Check the base file name length equals.
2017-12-09 21:10:13 +01:00
Bram Moolenaar
f405c8fe85
patch 8.0.1382: get "no write since last change" message if terminal is open
...
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.
2017-12-09 19:51:49 +01:00
Bram Moolenaar
e0aa23f7e3
patch 8.0.1347: MS-Windows: build broken by misplaced curly
...
Problem: MS-Windows: build broken by misplaced curly.
Solution: Move curly after #endif
2017-11-26 17:08:03 +01:00
Bram Moolenaar
c41838aa01
patch 8.0.1345: race condition between stat() and open() for viminfo
...
Problem: Race condition between stat() and open() for the viminfo temp
file. (Simon Ruderich)
Solution: use open() with O_EXCL to atomically check if the file exists.
Don't try using a temp file, renaming it will fail anyway.
2017-11-26 16:50:41 +01:00
Bram Moolenaar
aeeb6888ca
patch 8.0.1287: temp file used for viminfo may have wrong permissions
...
Problem: The temp file used when updating the viminfo file may have the
wrong permissions if setting the group fails.
Solution: Check if the group matches and reduce permissions if not.
2017-11-11 16:45:19 +01:00
Bram Moolenaar
6ce6504808
patch 8.0.1216: tabline is not always updated for :file command
...
Problem: Tabline is not always updated for :file command. (Norio Takagi)
Solution: Set redraw_tabline. (Hirohito Higashi)
2017-10-24 22:32:59 +02:00
Bram Moolenaar
059db5c29f
patch 8.0.1202: :wall gives an errof for a terminal window
...
Problem: :wall gives an errof for a terminal window. (Marius Gedminas)
Solution: Don't try writing a buffer that can't be written. (Yasuhiro
Matsumoto, closes #2190 )
2017-10-15 22:42:23 +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