Bram Moolenaar
6fb5c97242
patch 8.1.1054: not checking return value of ga_grow()
...
Problem: Not checking return value of ga_grow(). (Coverity)
Solution: Only append when ga_grow() returns OK.
2019-03-26 21:44:20 +01:00
Bram Moolenaar
b782869033
patch 8.1.1043: Lua interface does not support Blob
...
Problem: Lua interface does not support Blob.
Solution: Add support to Blob. (Ozaki Kiichi, closes #4151 )
2019-03-23 13:57:02 +01:00
Bram Moolenaar
4eefe47ea4
patch 8.1.1019: Lua: may garbage collect function reference in use
...
Problem: Lua: may garbage collect function reference in use.
Solution: Keep the function name instead of the typeval. Make luaV_setref()
handle funcref objects. (Ozaki Kiichi, closes #4127 )
2019-03-19 21:59:19 +01:00
Bram Moolenaar
713bf9e996
patch 8.1.1010: Lua interface leaks memory
...
Problem: Lua interface leaks memory.
Solution: Clear typeval after copying it.
2019-03-16 16:38:41 +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
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
9067cd6cdf
patch 8.1.0672: the Lua interface doesn't know about v:null
...
Problem: The Lua interface doesn't know about v:null.
Solution: Add Lua support for v:null. (Uji, closes #3744 )
2019-01-01 00:41:54 +01:00
Bram Moolenaar
830e3583da
patch 8.1.0305: missing support for Lua 5.4 32 bits on Unix
...
Problem: Missing support for Lua 5.4 32 bits on Unix.
Solution: Define lua_newuserdatauv. (Kazunobu Kuriyama)
2018-08-21 14:23:35 +02:00
Bram Moolenaar
53901442f3
patch 8.1.0212: preferred cursor column not set in interfaces
...
Problem: Preferred cursor column not set in interfaces.
Solution: Set w_set_curswant when setting the cursor. (David Hotham,
closes #3060 )
2018-07-25 22:02:36 +02:00
Bram Moolenaar
1741367131
patch 8.1.0183: Lua API changed, breaking the build
...
Problem: Lua API changed, breaking the build.
Solution: Adjust prototype of lua_rawgeti(). (Ken Takata,
closes #3157 , closes #3144 )
2018-07-14 20:49:42 +02:00
Bram Moolenaar
d6ef5f9b3d
patch 8.1.0180: static analysis errors in Lua interface
...
Problem: Static analysis errors in Lua interface. (Coverity)
Solution: Check for NULL pointers.
2018-07-13 22:08:23 +02:00
Bram Moolenaar
fe08df452a
patch 8.1.0164: luaeval('vim.buffer().name') returns an error
...
Problem: luaeval('vim.buffer().name') returns an error.
Solution: Return an empty string. (Dominique Pelle, closes #3167 )
2018-07-07 23:07:41 +02:00
Bram Moolenaar
ca06da9243
patch 8.1.0134: Lua interface does not support funcref
...
Problem: Lua interface does not support funcref.
Solution: Add funcref support. (Luis Carvalho)
2018-07-01 15:12:05 +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
d58f03b1c2
patch 8.0.0268: may get ml_get error when :luado deletes lines
...
Problem: May get ml_get error when :luado deletes lines or switches to
another buffer. (Nikolai Pavlov, issue #1421 )
Solution: Check the buffer and line every time.
2017-01-29 22:48:45 +01:00
Bram Moolenaar
d90b6c02e2
patch 7.4.2285
...
Problem: Generated files are outdated.
Solution: Generate the files. Avoid errors when generating prototypes.
2016-08-28 18:10:45 +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
44a2f923c0
patch 7.4.1611
...
Problem: The versplit feature makes the code uneccessary complicated.
Solution: Remove FEAT_VERTSPLIT, always support vertical splits when
FEAT_WINDOWS is defined.
2016-03-19 22:11:51 +01:00
Bram Moolenaar
520e1e41f3
patch 7.4.1154
...
Problem: No support for JSON.
Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
v:null and v:none.
2016-01-23 19:46:28 +01:00
Bram Moolenaar
25e4fcde76
patch 7.4.1065
...
Problem: Cannot use the "dll" options on MS-Windows.
Solution: Support the options on all platforms. Use the built-in name as
the default, so that it's clear what Vim is looking for.
2016-01-09 14:57:47 +01:00
Bram Moolenaar
f609dcf8c1
patch 7.4.954
...
Problem: When using Lua there may be a crash. (issue #468 )
Solution: Avoid using an unitialized tv. (Yukihiro Nakadaira)
2015-12-03 17:43:17 +01:00
Bram Moolenaar
d94464ee29
patch 7.4.907
...
Problem: Libraries for dynamically loading interfaces can only be defined
at compile time.
Solution: Add options to specify the dll names. (Kazuki Sakamoto,
closes #452 )
2015-11-02 15:28:18 +01:00
Bram Moolenaar
165bc69d1b
patch 7.4.793
...
Problem: Can't specify when not to ring the bell.
Solution: Add the 'belloff' option. (Christian Brabandt)
2015-07-21 17:53:25 +02:00
Bram Moolenaar
1f860d8590
patch 7.4.763
...
Problem: Building with Lua 5.1 doesn't work.
Solution: Define lua_replace and lua_remove. (KF Leong)
2015-06-27 18:36:16 +02:00
Bram Moolenaar
9514b1f9a1
patch 7.4.759
...
Problem: Building with Lua 5.3 doesn't work, symbols have changed.
Solution: Use the new names for the new version. (Felix Schnizlein)
2015-06-25 18:27:32 +02:00
Bram Moolenaar
46538ee46c
updated for version 7.4.638
...
Problem: Can't build with Lua 5.3 on Windows.
Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
2015-02-17 16:28:55 +01:00
Bram Moolenaar
f554a3285e
updated for version 7.4.621
...
Problem: Returning 1 in the wrong function. (Raymond Ko)
Solution: Return 1 in the right function (hopefully).
2015-02-04 23:08:01 +01:00
Bram Moolenaar
b84634de30
updated for version 7.4.619
...
Problem: luaV_setref() not returning the correct value.
Solution: Return one.
2015-02-04 22:02:37 +01:00
Bram Moolenaar
9d49da8cbb
updated for version 7.4.618
...
Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi)
Solution: Put the return statement back.
2015-02-03 23:10:46 +01:00
Bram Moolenaar
2459a5ecaa
updated for version 7.4.609
...
Problem: For complicated list and dict use the garbage collector can run
out of stack space.
Solution: Use a stack of dicts and lists to be marked, thus making it
iterative instead of recursive. (Ben Fritz)
2015-02-03 12:55:18 +01:00
Bram Moolenaar
3ec7f4e402
updated for version 7.4.278
...
Problem: list_remove() conflicts with function defined in Sun header file.
Solution: Rename the function. (Richard Palo)
2014-05-07 17:31:37 +02:00
Bram Moolenaar
b376647bb1
updated for version 7.3.896
...
Problem: Memory leaks in Lua interface.
Solution: Fix the leaks, add tests. (Yukihiro Nakadaira)
2013-04-15 13:49:21 +02:00
Bram Moolenaar
644cf03b7e
updated for version 7.3.885
...
Problem: Double free for list and dict in Lua. (Shougo Matsu)
Solution: Do not unref list and dict. (Yasuhiro Matsumoto)
2013-04-12 12:18:49 +02:00
Bram Moolenaar
feeaa688eb
updated for version 7.3.820
...
Problem: Build errors and warnings when building with small features and
Lua, Perl or Ruby.
Solution: Add #ifdefs and UNUSED.
2013-02-14 22:19:51 +01:00
Bram Moolenaar
d04da7cb4a
updated for version 7.3.689
...
Problem: MzScheme and Lua may use a NULL string.
Solution: Use an empty string instead of NULL. (Yukihiro Nakadaira)
2012-10-14 03:41:59 +02:00
Bram Moolenaar
db91395312
updated for version 7.3.569
...
Problem: Evaluating Vim expression in Python is insufficient.
Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
2012-06-29 12:54:53 +02:00
Bram Moolenaar
bd2f3c3ec6
updated for version 7.3.494
...
Problem: Can't compile with Lua 9.1 or dynamic Lua.
Solution: Fix dll_ methods. Fix luado(). (Muraoka Taro, Luis Carvalho)
2012-04-06 14:31:00 +02:00
Bram Moolenaar
1dced5727f
updated for version 7.3.490
...
Problem: Member confusion in Lua interface.
Solution: Fix it. Add luaeval(). (Taro Muraoka, Luis Carvalho)
2012-04-05 16:54:08 +02:00
Bram Moolenaar
fa263a517b
updated for version 7.3.370
...
Problem: Compiler warns for unused variable in Lua interface.
Solution: Remove the variable.
2011-12-08 16:00:16 +01:00
Bram Moolenaar
38e2b0636b
updated for version 7.3.317
...
Problem: Calling debug.debug() in Lua may cause Vim to hang.
Solution: Add a better debug method. (Rob Hoelz, Luis Carvalho)
2011-09-21 17:15:39 +02:00
Bram Moolenaar
e279335752
updated for version 7.3.101
...
Problem: ino_t defined with wrong size.
Solution: Move including auto/config.h before other includes. (Marius
Geminas)
2011-01-17 19:53:27 +01:00
Bram Moolenaar
ebbcb824ba
updated for version 7.3.034
...
Problem: Win32: may be loading .dll from the wrong directory.
Solution: Go to the Vim executable directory when opening a library.
2010-10-23 14:02:54 +02:00
Bram Moolenaar
2bd6a1b542
Fix: Lua interface tried to load the library when closing a buffer or window.
2010-08-12 22:14:01 +02:00
Bram Moolenaar
16c98f9c9f
Update for Lua interface. (Luis Carvalho)
2010-07-28 22:46:08 +02:00
Bram Moolenaar
2334b6d594
Make it possible to load Lua dynamically on Unix. (Luis Carvalho)
2010-07-22 21:32:16 +02:00
Bram Moolenaar
0d2e4fce8d
Make it easier to build with Lua. Remove compiler warnings.
2010-07-18 12:35:47 +02:00
Bram Moolenaar
55d5c0348c
Whitespace cleanup.
2010-07-17 23:52:29 +02:00
Bram Moolenaar
0ba042961f
Added Lua interfae. (Luis Carvalho)
2010-07-14 23:23:17 +02:00