summaryrefslogtreecommitdiffstats
path: root/src/if_lua.c
AgeCommit message (Collapse)Author
2020-07-18patch 8.2.1234: Lua build problem with old compilerv8.2.1234Bram Moolenaar
Problem: Lua build problem with old compiler. Solution: Move declarations to start of the block. (Taro Muraoka, closes #6477)
2020-07-14patch 8.2.1212: cannot build with Lua 5.4v8.2.1212Bram Moolenaar
Problem: Cannot build with Lua 5.4. Solution: Use luaL_typeerror instead defining it. (closes #6454)
2020-07-02patch 8.2.1117: Coverity warns for unsing unitialized fieldv8.2.1117Bram Moolenaar
Problem: Coverity warns for unsing unitialized field. Solution: Initialize v_lock.
2020-07-01patch 8.2.1105: insufficient test coverage for Luav8.2.1105Bram Moolenaar
Problem: Insufficient test coverage for Lua. Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered memory leak. Avoid unnecessary copy/free.
2020-06-28patch 8.2.1081: Lua: cannot use table.insert() and table.remove()v8.2.1081Bram Moolenaar
Problem: Lua: cannot use table.insert() and table.remove(). Solution: Add the list functions. (Prabir Shrestha, closes #6353)
2020-06-27patch 8.2.1066: Lua arrays are zero basedv8.2.1066Bram Moolenaar
Problem: Lua arrays are zero based. Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347) Note: this is not backwards compatible.
2020-06-25patch 8.2.1057: cannot build with dynamic Luav8.2.1057Bram Moolenaar
Problem: Cannot build with dynamic Lua. Solution: Add dll variables.
2020-06-25patch 8.2.1054: not so easy to pass a lua function to Vimv8.2.1054Bram Moolenaar
Problem: Not so easy to pass a lua function to Vim. Solution: Convert a Lua function and closure to a Vim funcref. (Prabir Shrestha, closes #6246)
2020-05-31patch 8.2.0858: not easy to require Lua modulesv8.2.0858Bram Moolenaar
Problem: Not easy to require Lua modules. Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
2020-05-30patch 8.2.0853: ml_delete() often called with FALSE argumentv8.2.0853Bram Moolenaar
Problem: ml_delete() often called with FALSE argument. Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-17patch 8.2.0782: cannot build with Lua on MS-Windowsv8.2.0782Bram Moolenaar
Problem: Cannot build with Lua on MS-Windows. Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
2020-05-17patch 8.2.0781: compiler warning for not using value in Luav8.2.0781Bram Moolenaar
Problem: Compiler warning for not using value in Lua. Solution: Add "(void)".
2020-05-17patch 8.2.0775: not easy to call a Vim function from Luav8.2.0775Bram Moolenaar
Problem: Not easy to call a Vim function from Lua. Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
2020-03-29patch 8.2.0479: unloading shared libraries on exit has no purposev8.2.0479Bram Moolenaar
Problem: Unloading shared libraries on exit has no purpose. Solution: Do not unload shared libraries on exit.
2020-02-11patch 8.2.0244: compiler warning in Lua interfacev8.2.0244Bram Moolenaar
Problem: Compiler warning in Lua interface. Solution: Add type cast. (Ken Takata, closes #5621)
2020-01-26patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
2020-01-11patch 8.2.0111: VAR_SPECIAL is also used for booleansv8.2.0111Bram Moolenaar
Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking.
2019-12-04patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-10-19patch 8.1.2179: pressing "q" at the more prompt doesn't stop Python outputv8.1.2179Bram Moolenaar
Problem: Pressing "q" at the more prompt doesn't stop Python output. (Daniel Hahler) Solution: Check for got_int in writer(). (closes #5053) Also do this for Lua.
2019-06-23patch 8.1.1583: set_ref_in_list() only sets ref in itemsv8.1.1583Bram Moolenaar
Problem: Set_ref_in_list() only sets ref in items. Solution: Rename to set_ref_in_list_items() to avoid confusion.
2019-03-26patch 8.1.1054: not checking return value of ga_grow()v8.1.1054Bram Moolenaar
Problem: Not checking return value of ga_grow(). (Coverity) Solution: Only append when ga_grow() returns OK.
2019-03-23patch 8.1.1043: Lua interface does not support Blobv8.1.1043Bram Moolenaar
Problem: Lua interface does not support Blob. Solution: Add support to Blob. (Ozaki Kiichi, closes #4151)
2019-03-19patch 8.1.1019: Lua: may garbage collect function reference in usev8.1.1019Bram Moolenaar
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-16patch 8.1.1010: Lua interface leaks memoryv8.1.1010Bram Moolenaar
Problem: Lua interface leaks memory. Solution: Clear typeval after copying it.
2019-02-17patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar
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-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
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-01patch 8.1.0672: the Lua interface doesn't know about v:nullv8.1.0672Bram Moolenaar
Problem: The Lua interface doesn't know about v:null. Solution: Add Lua support for v:null. (Uji, closes #3744)
2018-08-21patch 8.1.0305: missing support for Lua 5.4 32 bits on Unixv8.1.0305Bram Moolenaar
Problem: Missing support for Lua 5.4 32 bits on Unix. Solution: Define lua_newuserdatauv. (Kazunobu Kuriyama)
2018-07-25patch 8.1.0212: preferred cursor column not set in interfacesv8.1.0212Bram Moolenaar
Problem: Preferred cursor column not set in interfaces. Solution: Set w_set_curswant when setting the cursor. (David Hotham, closes #3060)
2018-07-14patch 8.1.0183: Lua API changed, breaking the buildv8.1.0183Bram Moolenaar
Problem: Lua API changed, breaking the build. Solution: Adjust prototype of lua_rawgeti(). (Ken Takata, closes #3157, closes #3144)
2018-07-13patch 8.1.0180: static analysis errors in Lua interfacev8.1.0180Bram Moolenaar
Problem: Static analysis errors in Lua interface. (Coverity) Solution: Check for NULL pointers.
2018-07-07patch 8.1.0164: luaeval('vim.buffer().name') returns an errorv8.1.0164Bram Moolenaar
Problem: luaeval('vim.buffer().name') returns an error. Solution: Return an empty string. (Dominique Pelle, closes #3167)
2018-07-01patch 8.1.0134: Lua interface does not support funcrefv8.1.0134Bram Moolenaar
Problem: Lua interface does not support funcref. Solution: Add funcref support. (Luis Carvalho)
2017-09-22patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
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-01-29patch 8.0.0268: may get ml_get error when :luado deletes linesv8.0.0268Bram Moolenaar
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.
2016-08-28patch 7.4.2285v7.4.2285Bram Moolenaar
Problem: Generated files are outdated. Solution: Generate the files. Avoid errors when generating prototypes.
2016-07-24patch 7.4.2101v7.4.2101Bram Moolenaar
Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
2016-03-19patch 7.4.1611v7.4.1611Bram Moolenaar
Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
2016-01-23patch 7.4.1154v7.4.1154Bram Moolenaar
Problem: No support for JSON. Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, v:null and v:none.
2016-01-09patch 7.4.1065v7.4.1065Bram Moolenaar
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.
2015-12-03patch 7.4.954v7.4.954Bram Moolenaar
Problem: When using Lua there may be a crash. (issue #468) Solution: Avoid using an unitialized tv. (Yukihiro Nakadaira)
2015-11-02patch 7.4.907v7.4.907Bram Moolenaar
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-07-21patch 7.4.793v7.4.793Bram Moolenaar
Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
2015-06-27patch 7.4.763v7.4.763Bram Moolenaar
Problem: Building with Lua 5.1 doesn't work. Solution: Define lua_replace and lua_remove. (KF Leong)
2015-06-25patch 7.4.759v7.4.759Bram Moolenaar
Problem: Building with Lua 5.3 doesn't work, symbols have changed. Solution: Use the new names for the new version. (Felix Schnizlein)
2015-02-17updated for version 7.4.638v7.4.638Bram Moolenaar
Problem: Can't build with Lua 5.3 on Windows. Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
2015-02-04updated for version 7.4.621v7.4.621Bram Moolenaar
Problem: Returning 1 in the wrong function. (Raymond Ko) Solution: Return 1 in the right function (hopefully).
2015-02-04updated for version 7.4.619v7.4.619Bram Moolenaar
Problem: luaV_setref() not returning the correct value. Solution: Return one.
2015-02-03updated for version 7.4.618v7.4.618Bram Moolenaar
Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi) Solution: Put the return statement back.