| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: The Lua interface doesn't know about v:null.
Solution: Add Lua support for v:null. (Uji, closes #3744)
|
|
|
|
|
| |
Problem: Missing support for Lua 5.4 32 bits on Unix.
Solution: Define lua_newuserdatauv. (Kazunobu Kuriyama)
|
|
|
|
|
|
| |
Problem: Preferred cursor column not set in interfaces.
Solution: Set w_set_curswant when setting the cursor. (David Hotham,
closes #3060)
|
|
|
|
|
|
| |
Problem: Lua API changed, breaking the build.
Solution: Adjust prototype of lua_rawgeti(). (Ken Takata,
closes #3157, closes #3144)
|
|
|
|
|
| |
Problem: Static analysis errors in Lua interface. (Coverity)
Solution: Check for NULL pointers.
|
|
|
|
|
| |
Problem: luaeval('vim.buffer().name') returns an error.
Solution: Return an empty string. (Dominique Pelle, closes #3167)
|
|
|
|
|
| |
Problem: Lua interface does not support funcref.
Solution: Add funcref support. (Luis Carvalho)
|
|
|
|
|
| |
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Generated files are outdated.
Solution: Generate the files. Avoid errors when generating prototypes.
|
|
|
|
|
| |
Problem: Looping over windows, buffers and tab pages is inconsistant.
Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: The versplit feature makes the code uneccessary complicated.
Solution: Remove FEAT_VERTSPLIT, always support vertical splits when
FEAT_WINDOWS is defined.
|
|
|
|
|
|
| |
Problem: No support for JSON.
Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
v:null and v:none.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: When using Lua there may be a crash. (issue #468)
Solution: Avoid using an unitialized tv. (Yukihiro Nakadaira)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Can't specify when not to ring the bell.
Solution: Add the 'belloff' option. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Building with Lua 5.1 doesn't work.
Solution: Define lua_replace and lua_remove. (KF Leong)
|
|
|
|
|
| |
Problem: Building with Lua 5.3 doesn't work, symbols have changed.
Solution: Use the new names for the new version. (Felix Schnizlein)
|
|
|
|
|
| |
Problem: Can't build with Lua 5.3 on Windows.
Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
|
|
|
|
|
| |
Problem: Returning 1 in the wrong function. (Raymond Ko)
Solution: Return 1 in the right function (hopefully).
|
|
|
|
|
| |
Problem: luaV_setref() not returning the correct value.
Solution: Return one.
|
|
|
|
|
| |
Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi)
Solution: Put the return statement back.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: list_remove() conflicts with function defined in Sun header file.
Solution: Rename the function. (Richard Palo)
|
|
|
|
|
| |
Problem: Memory leaks in Lua interface.
Solution: Fix the leaks, add tests. (Yukihiro Nakadaira)
|
|
|
|
|
| |
Problem: Double free for list and dict in Lua. (Shougo Matsu)
Solution: Do not unref list and dict. (Yasuhiro Matsumoto)
|
|
|
|
|
|
| |
Problem: Build errors and warnings when building with small features and
Lua, Perl or Ruby.
Solution: Add #ifdefs and UNUSED.
|
|
|
|
|
| |
Problem: MzScheme and Lua may use a NULL string.
Solution: Use an empty string instead of NULL. (Yukihiro Nakadaira)
|
|
|
|
|
| |
Problem: Evaluating Vim expression in Python is insufficient.
Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
|
|
|
|
|
| |
Problem: Can't compile with Lua 9.1 or dynamic Lua.
Solution: Fix dll_ methods. Fix luado(). (Muraoka Taro, Luis Carvalho)
|
|
|
|
|
| |
Problem: Member confusion in Lua interface.
Solution: Fix it. Add luaeval(). (Taro Muraoka, Luis Carvalho)
|
|
|
|
|
| |
Problem: Compiler warns for unused variable in Lua interface.
Solution: Remove the variable.
|
|
|
|
|
| |
Problem: Calling debug.debug() in Lua may cause Vim to hang.
Solution: Add a better debug method. (Rob Hoelz, Luis Carvalho)
|
|
|
|
|
|
| |
Problem: ino_t defined with wrong size.
Solution: Move including auto/config.h before other includes. (Marius
Geminas)
|
|
|
|
|
| |
Problem: Win32: may be loading .dll from the wrong directory.
Solution: Go to the Vim executable directory when opening a library.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|