Bram Moolenaar
dd29ea1805
patch 8.1.0798: changing a blob while iterating over it works strangely
...
Problem: Changing a blob while iterating over it works strangely.
Solution: Make a copy of the Blob before iterating.
2019-01-23 21:56:21 +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
88c86eb751
patch 8.1.0766: various problems when using Vim on VMS
...
Problem: Various problems when using Vim on VMS.
Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
2019-01-17 17:13:30 +01:00
Bram Moolenaar
4131fd5509
patch 8.1.0765: string format of a Blob can't be parsed back
...
Problem: String format of a Blob can't be parsed back.
Solution: Use 0z format.
2019-01-17 16:32:53 +01:00
Bram Moolenaar
3d28b58c51
patch 8.1.0756: copy() does not make a copy of a Blob
...
Problem: copy() does not make a copy of a Blob.
Solution: Make a copy.
2019-01-15 22:44:17 +01:00
Bram Moolenaar
b5443cc46d
patch 8.1.0753: printf format not checked for semsg()
...
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes #3805 )
2019-01-15 20:19:40 +01:00
Bram Moolenaar
6acc79f5d4
patch 8.1.0749: error message contains garbage
...
Problem: Error message contains garbage. (Dominique Pelle)
Solution: Use correct pointer to failed expression.
2019-01-14 22:53:31 +01:00
Bram Moolenaar
ce9d50df07
patch 8.1.0747: map() with a bad expression doesn't give an error
...
Problem: map() with a bad expression doesn't give an error. (Ingo Karkat)
Solution: Check for giving an error message. (closes #3800 )
2019-01-14 22:22:29 +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
8c8b8bb56c
patch 8.1.0741: viminfo with Blob is not tested
...
Problem: Viminfo with Blob is not tested.
Solution: Extend the viminfo test. Fix reading a blob. Fixed storing a
special variable value.
2019-01-13 17:48:04 +01:00
Bram Moolenaar
8309b0559d
patch 8.1.0740: Tcl test fails
...
Problem: Tcl test fails.
Solution: When the argument is empty don't give an error, instead rely on
the error reporting higher up.
2019-01-13 16:46:22 +01:00
Bram Moolenaar
ecc8bc482b
patch 8.1.0738: using freed memory, for loop over blob leaks memory
...
Problem: Using freed memory, for loop over blob leaks memory.
Solution: Clear pointer after freeing memory. Decrement reference count
after for loop over blob.
2019-01-13 16:07:21 +01:00
Bram Moolenaar
e519dfd713
patch 8.1.0737: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Add initialization. (John Marriott)
2019-01-13 15:42:02 +01:00
Bram Moolenaar
c0f5a78c15
patch 8.1.0736: code for Blob not sufficiently tested
...
Problem: Code for Blob not sufficiently tested.
Solution: Add more tests. Fix uncovered crash. Add test_null_blob().
2019-01-13 15:16:13 +01:00
Bram Moolenaar
6e5ea8d2a9
patch 8.1.0735: cannot handle binary data
...
Problem: Cannot handle binary data.
Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638 )
2019-01-12 22:47:31 +01:00
Bram Moolenaar
461a7fcfce
patch 8.1.0619: :echomsg and :echoerr do not handle List and Dict
...
Problem: :echomsg and :echoerr do not handle List and Dict like :echo does.
(Daniel Hahler)
Solution: Be more tolerant about the expression result type.
2018-12-22 13:28:07 +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
8f66717a1f
patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()
...
Problem: Using illogical name for get_dict_number()/get_dict_string().
Solution: Rename to start with dict_.
2018-12-14 15:38:31 +01:00
Bram Moolenaar
88b53fd052
patch 8.1.0564: setting v:errors to wrong type still possible
...
Problem: Setting v:errors to wrong type still possible.
Solution: Return after giving an error message. (Christian Brabandt)
2018-12-05 18:43:28 +01:00
Bram Moolenaar
74ea88c170
patch 8.1.0563: setting v:errors to a string give confusing error
...
Problem: Setting v:errors to a string give confusing error. (Christian
Brabandt)
Solution: Change internal error into normal error message.
2018-12-04 22:37:49 +01:00
Bram Moolenaar
8ff5af9544
patch 8.1.0551: expression evaluation may repeat an error message
...
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Check for the value of did_emsg when giving an error
for the :execute command.
2018-11-28 21:20:38 +01:00
Bram Moolenaar
76a6345433
patch 8.1.0550: expression evaluation may repeat an error message
...
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Increment did_emsg and check for the value when giving an error
for the echo command.
2018-11-28 20:38:37 +01:00
Bram Moolenaar
f86db78fed
patch 8.1.0495: :filter only supports some commands
...
Problem: :filter only supports some commands.
Solution: Add :filter support for more commands. (Marcin Szamotulski,
closes #2856 )
2018-10-25 13:31:37 +02:00
Bram Moolenaar
e6e3989c1b
patch 8.1.0493: argv() and argc() only work on the current argument list
...
Problem: argv() and argc() only work on the current argument list.
Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832 )
2018-10-25 12:32:11 +02:00
Bram Moolenaar
27e80c885b
patch 8.1.0475: memory not freed on exit when quit in autocmd
...
Problem: Memory not freed on exit when quit in autocmd.
Solution: Remember funccal stack when executing autocmd.
2018-10-14 21:41:01 +02:00
Bram Moolenaar
1307d1c003
patch 8.1.0460: assert_fails() does not take a message argument
...
Problem: assert_fails() does not take a message argument
Solution: Add the argument.
2018-10-07 20:16:49 +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
f29c1c6aa3
patch 8.1.0362: cannot get the script line number when executing a function
...
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes #3362 ) Also display the line number with ":verbose set".
2018-09-10 21:05:02 +02:00
Bram Moolenaar
ded27a1feb
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSE
...
Problem: "safe" argument of call_vim_function() is always FALSE.
Solution: Remove the argument.
2018-08-01 19:06:03 +02:00
Bram Moolenaar
00136dc321
patch 8.1.0211: expanding a file name "~" results in $HOME
...
Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran)
Solution: Change "~" to "./~" before expanding. (closes #3072 )
2018-07-25 21:19:13 +02:00
Bram Moolenaar
6f8d2ac6f1
patch 8.1.0210: still a few K&R function declarations
...
Problem: Still a few K&R function declarations.
Solution: Use ANSI function declarations (Hirohito Higashi)
2018-07-25 19:49:45 +02:00
Bram Moolenaar
a43ebe9454
patch 8.1.0181: memory leak with trailing characters in skip expression
...
Problem: Memory leak with trailing characters in skip expression.
Solution: Free the return value.
2018-07-14 17:25:01 +02:00
Bram Moolenaar
ffa9684150
patch 8.1.0053: first argument of 'completefunc' has inconsistent type
...
Problem: The first argument given to 'completefunc' can be Number or
String, depending on the value.
Solution: Avoid guessing the type of an argument, use typval_T in the
callers of call_vim_function(). (Ozaki Kiichi, closes #2993 )
2018-06-12 22:05:14 +02:00
Bram Moolenaar
137374fd65
patch 8.0.1832: cannot use :unlet for an environment variable
...
Problem: Cannot use :unlet for an environment variable.
Solution: Make it work. Use unsetenv() if available. (Ken Takata,
closes #2855 )
2018-05-13 15:59:50 +02:00
Bram Moolenaar
b0f42ba60d
patch 8.0.1817: a timer may change v:count unexpectedly
...
Problem: A timer may change v:count unexpectedly.
Solution: Save and restore v:count and similar variables when a timer
callback is invoked. (closes #2897 )
2018-05-12 15:38:26 +02:00
Bram Moolenaar
65a5464985
patch 8.0.1770: assert functions don't return anything
...
Problem: Assert functions don't return anything.
Solution: Return non-zero when the assertion fails.
2018-04-28 16:56:53 +02:00
Bram Moolenaar
ea39176baa
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
...
Problem: No compiler warning for wrong format in vim_snprintf().
Solution: Add printf attribute for gcc. Fix reported problems.
2018-04-08 13:07:22 +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
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
3049418f3d
patch 8.0.1529: assert_equalfile() does not close file descriptors
...
Problem: Assert_equalfile() does not close file descriptors. (Coverity)
Solution: Close the file descriptors.
2018-02-20 21:46:05 +01:00
Bram Moolenaar
d96ff16511
patch 8.0.1523: cannot write and read terminal screendumps
...
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
2018-02-18 22:13:29 +01:00
Bram Moolenaar
3198870137
patch 8.0.1511: some code for the debugger watch expression is clumsy
...
Problem: Some code for the debugger watch expression is clumsy.
Solution: Clean up the code.
2018-02-13 12:57:42 +01:00
Bram Moolenaar
b48e96f61c
patch 8.0.1510: cannot test if a command causes a beep
...
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
2018-02-13 12:26:14 +01:00
Bram Moolenaar
c6f9f739d3
patch 8.0.1505: debugger can't break on a condition
...
Problem: Debugger can't break on a condition. (Charles Campbell)
Solution: Add ":breakadd expr". (Christian Brabandt, closes #859 )
2018-02-11 19:06:26 +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
7e1652c63c
patch 8.0.1394: cannot intercept a yank command
...
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes #2333 )
2017-12-16 18:27:02 +01:00
Bram Moolenaar
6e65d594aa
patch 8.0.1377: cannot call a dict function in autoloaded dict
...
Problem: Cannot call a dict function in autoloaded dict.
Solution: Call get_lval() passing the read-only flag.
2017-12-07 22:11:27 +01:00
Bram Moolenaar
ffd99f729b
patch 8.0.1242: function argument with only dash is seen as number zero
...
Problem: Function argument with only dash is seen as number zero. (Wang
Shidong)
Solution: See a dash as a string. (Christian Brabandt)
2017-11-02 15:44:14 +01:00
Bram Moolenaar
48570488f1
patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()
...
Problem: Cannot use a lambda for the skip argument to searchpair().
Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454 ,
closes #2265 )
2017-10-30 21:48:41 +01:00
Bram Moolenaar
2f40d129bf
patch 8.0.1215: newer gcc warns for implicit fallthrough
...
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2017-10-24 21:49:36 +02:00