Bram Moolenaar
a1d5fa65bc
patch 8.0.0542: getpos() can return a negative line number
...
Problem: getpos() can return a negative line number. (haya14busa)
Solution: Handle a zero topline and botline. (closes #1613 )
2017-04-03 22:02:55 +02:00
Bram Moolenaar
42205551b1
patch 8.0.0477: the client-server test may hang when failing
...
Problem: The client-server test may hang when failing.
Solution: Set a timer. Add assert_report()
2017-03-18 19:42:22 +01:00
Bram Moolenaar
57002ad70c
patch 8.0.0467: using g< after :for does not show the right output
...
Problem: Using g< after :for does not show the right output. (Marcin
Szamotulski)
Solution: Call msg_sb_eol() in :echomsg.
2017-03-16 19:04:19 +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
14c2e18b63
patch 8.0.0371: leaking memory when setting v:completed_item
...
Problem: Leaking memory when setting v:completed_item.
Solution: Or the flags instead of setting them.
2017-02-25 21:39:17 +01:00
Bram Moolenaar
b544f3c81f
patch 8.0.0360: sometimes VimL is used instead of "Vim script"
...
Problem: Sometimes VimL is used, which is confusing.
Solution: Consistently use "Vim script". (Hirohito Higashi)
2017-02-23 19:03:28 +01:00
Bram Moolenaar
f06e5a549f
patch 8.0.0352: not easy to see when a typval needs to be cleared
...
Problem: The condition for when a typval needs to be cleared is too
complicated.
Solution: Init the type to VAR_UNKNOWN and clear it always.
2017-02-23 14:25:17 +01:00
Bram Moolenaar
3a25773772
patch 8.0.0345: islocked('d.changedtick') does not work
...
Problem: islocked('d.changedtick') does not work.
Solution: Make it work.
2017-02-21 20:47:13 +01:00
Bram Moolenaar
49439c4cdf
patch 8.0.0344: unlet command leaks memory
...
Problem: Unlet command leaks memory. (Nikolai Pavlov)
Solution: Free the memory on error. (closes #1497 )
2017-02-20 23:07:05 +01:00
Bram Moolenaar
e7877fe0de
patch 8.0.0343: b:changedtick can be unlocked
...
Problem: b:changedtick can be unlocked, even though it has no effect.
(Nikolai Pavlov)
Solution: Add a check and error E940. (closes #1496 )
2017-02-20 22:35:33 +01:00
Bram Moolenaar
79518e2ace
patch 8.0.0334: can't access b:changedtick from a dict reference
...
Problem: Can't access b:changedtick from a dict reference.
Solution: Make changedtick a member of the b: dict. (inspired by neovim
#6112 )
2017-02-17 16:31:35 +01:00
Bram Moolenaar
c7b831ca15
patch 8.0.0254: error message of assert functions is sometimes incomplete
...
Problem: When using an assert function one can either specify a message or
get a message about what failed, not both.
Solution: Concatenate the error with the message.
2017-01-28 18:08:12 +01:00
Bram Moolenaar
7a40ea2138
patch 8.0.0219: ubsan reports errors for overflow
...
Problem: Ubsan reports errors for integer overflow.
Solution: Define macros for minimum and maximum values. Select an
expression based on the value. (Mike Williams)
2017-01-22 18:34:57 +01:00
Bram Moolenaar
5869cf060e
patch 8.0.0186: confusing error message from assert_notequal()
...
Problem: The error message from assert_notequal() is confusing.
Solution: Only mention the expected value.
2017-01-14 20:06:14 +01:00
Bram Moolenaar
a1fa892939
patch 8.0.0173: build fails with EBCDIC defined
...
Problem: When compiling with EBCDIC defined the build fails. (Yaroslav
Kuzmin)
Solution: Move sortFunctions() to the right file. Avoid warning for
redefining __SUSV3.
2017-01-12 20:06:33 +01:00
Bram Moolenaar
de33011ec6
patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG()
...
Problem: EMSG() is sometimes used for internal errors.
Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
2017-01-08 20:50:52 +01:00
Bram Moolenaar
6247361101
patch 8.0.0158: float funcion test fails on MS-Windows
...
Problem: On MS-Windows some float functions return a different value when
passed unusual values. strtod() doesn't work for "inf" and "nan".
Solution: Accept both results. Fix str2float() for MS-Windows. Also
reorder assert function arguments.
2017-01-08 19:25:40 +01:00
Bram Moolenaar
7df915d113
patch 8.0.0087
...
Problem: When the channel callback gets job info the job may already have
been deleted. (lifepillar)
Solution: Do not delete the job when the channel is still useful. (ichizok,
closes #1242 , closes #1245 )
2016-11-17 17:25:32 +01:00
Bram Moolenaar
8a01f969c1
patch 8.0.0085
...
Problem: Using freed memory with recursive function call. (Dominique Pelle)
Solution: Make a copy of the function name.
2016-11-14 21:50:00 +01:00
Bram Moolenaar
95f096030e
patch 8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
2016-11-10 20:01:45 +01:00
Bram Moolenaar
dc0ccaee68
patch 8.0.0027
...
Problem: A channel is closed when reading on stderr or stdout fails, but
there may still be something to read on another part.
Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi)
2016-10-09 17:28:01 +02:00
Bram Moolenaar
0e77b7691e
patch 8.0.0016
...
Problem: Build fails.
Solution: Include missing change.
2016-09-26 22:58:58 +02:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
3056735ae8
patch 7.4.2273
...
Problem: getwininfo() and getbufinfo() are inefficient.
Solution: Do not make a copy of all window/buffer-local options. Make it
possible to get them with gettabwinvar() or getbufvar().
2016-08-27 21:25:44 +02:00
Bram Moolenaar
db249f26ed
patch 7.4.2256
...
Problem: Coverity complains about null pointer check.
Solution: Remove wrong and superfluous error check.
2016-08-26 16:29:47 +02:00
Bram Moolenaar
e11d61a3b1
patch 7.4.2231
...
Problem: ":oldfiles" output is a very long list.
Solution: Add a pattern argument. (Coot, closes #575 )
2016-08-20 18:36:54 +02:00
Bram Moolenaar
af9c4c9b57
patch 7.4.2224
...
Problem: Compiler warnings with older compiler and 64 bit numbers.
Solution: Add "LL" to large values. (Mike Williams)
2016-08-17 21:51:56 +02:00
Bram Moolenaar
35a4cfa200
patch 7.4.2209
...
Problem: Cannot map <M-">. (Stephen Riehm)
Solution: Solve the memory access problem in another way. (Dominique Pelle)
Allow for using <M-\"> in a string.
2016-08-14 16:07:48 +02:00
Bram Moolenaar
bc7ce675b2
patch 7.4.2143
...
Problem: A funccal is garbage collected while it can still be used.
Solution: Set copyID in all referenced functions. Do not list lambda
functions with ":function".
2016-08-01 22:49:22 +02:00
Bram Moolenaar
ba96e9af38
patch 7.4.2141
...
Problem: Coverity reports bogus NULL check.
Solution: When checking for a variable in the funccal scope don't pass the
varname.
2016-08-01 17:10:20 +02:00
Bram Moolenaar
437bafe4c8
patch 7.4.2137
...
Problem: Using function() with a name will find another function when it is
redefined.
Solution: Add funcref(). Refer to lambda using a partial. Fix several
reference counting issues.
2016-08-01 15:40:54 +02:00
Bram Moolenaar
b54c3ff317
patch 7.4.2134
...
Problem: No error for using function() badly.
Solution: Check for passing wrong function name. (Ken Takata)
2016-07-31 14:11:58 +02:00
Bram Moolenaar
10ce39a0d5
patch 7.4.2120
...
Problem: User defined functions can't be a closure.
Solution: Add the "closure" argument. Allow using :unlet on a bound
variable. (Yasuhiro Matsumoto, Ken Takata)
2016-07-29 22:37:06 +02:00
Bram Moolenaar
1e96d9bf98
patch 7.4.2119
...
Problem: Closures are not supported.
Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
Matsumoto, Ken Takata)
2016-07-29 22:15:09 +02:00
Bram Moolenaar
2932359000
patch 7.4.2101
...
Problem: Looping over windows, buffers and tab pages is inconsistant.
Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
2016-07-24 22:04:11 +02:00
Bram Moolenaar
61c04493b0
patch 7.4.2095
...
Problem: Man test fails when run with the GUI.
Solution: Adjust for different behavior of GUI. Add assert_inrange().
2016-07-23 15:35:35 +02:00
Bram Moolenaar
df48fb456f
patch 7.4.2090
...
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
2016-07-22 21:50:18 +02:00
Bram Moolenaar
72ab729c3d
patch 7.4.2072
...
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
2016-07-19 19:10:51 +02:00
Bram Moolenaar
f562e72df7
patch 7.4.2071
...
Problem: The return value of type() is difficult to use.
Solution: Define v:t_ constants. (Ken Takata)
2016-07-19 17:25:25 +02:00
Bram Moolenaar
73dad1e64c
patch 7.4.2063
...
Problem: eval.c is still too big.
Solution: Split off internal functions to evalfunc.c.
2016-07-17 22:13:49 +02:00
Bram Moolenaar
a9b579f3d7
patch 7.4.2058
...
Problem: eval.c is too big.
Solution: Move user functions to userfunc.c
2016-07-17 18:29:19 +02:00
Bram Moolenaar
da861d631d
patch 7.4.2057
...
Problem: eval.c is too big.
Solution: Move List functions to list.c
2016-07-17 15:46:27 +02:00
Bram Moolenaar
cd52459c38
patch 7.4.2055
...
Problem: eval.c is too big.
Solution: Move Dictionary functions to dict.c.
2016-07-17 14:57:05 +02:00
Bram Moolenaar
069c1e7fa9
patch 7.4.2044
...
Problem: filter() and map() either require a string or defining a function.
Solution: Support lambda, a short way to define a function that evaluates an
expression. (Yasuhiro Matsumoto, Ken Takata)
2016-07-15 21:25:08 +02:00
Bram Moolenaar
93431df9eb
patch 7.4.2043
...
Problem: setbuvfar() causes a screen redraw.
Solution: Only use aucmd_prepbuf() for options.
2016-07-15 20:14:44 +02:00
Bram Moolenaar
4c06815c44
patch 7.4.2027
...
Problem: Can't build with +eval but without +menu.
Solution: Add #ifdef. (John Marriott)
2016-07-11 23:15:25 +02:00
Bram Moolenaar
1436d8d51c
patch 7.4.2026
...
Problem: Reference counting for callbacks isn't right.
Solution: Add free_callback(). (Ken Takata) Fix reference count.
2016-07-11 22:41:15 +02:00
Bram Moolenaar
7c0a2f367f
patch 7.4.2024
...
Problem: More buf_valid() calls can be optimized.
Solution: Use bufref_valid() instead.
2016-07-10 22:11:16 +02:00
Bram Moolenaar
25065ec375
patch 7.4.2022
...
Problem: Warnings from 64 bit compiler.
Solution: Add type casts. (Mike Williams)
2016-07-10 19:22:53 +02:00