summaryrefslogtreecommitdiff
path: root/src/if_lua.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.0479: unloading shared libraries on exit has no purposev8.2.0479Bram Moolenaar2020-03-291-13/+0
| | | | | Problem: Unloading shared libraries on exit has no purpose. Solution: Do not unload shared libraries on exit.
* patch 8.2.0244: compiler warning in Lua interfacev8.2.0244Bram Moolenaar2020-02-111-2/+2
| | | | | Problem: Compiler warning in Lua interface. Solution: Add type cast. (Ken Takata, closes #5621)
* patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar2020-01-261-2/+1
| | | | | Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
* patch 8.2.0111: VAR_SPECIAL is also used for booleansv8.2.0111Bram Moolenaar2020-01-111-1/+2
| | | | | Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking.
* patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar2019-12-041-122/+130
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2179: pressing "q" at the more prompt doesn't stop Python outputv8.1.2179Bram Moolenaar2019-10-191-1/+2
| | | | | | | 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.
* patch 8.1.1583: set_ref_in_list() only sets ref in itemsv8.1.1583Bram Moolenaar2019-06-231-15/+3
| | | | | Problem: Set_ref_in_list() only sets ref in items. Solution: Rename to set_ref_in_list_items() to avoid confusion.
* patch 8.1.1054: not checking return value of ga_grow()v8.1.1054Bram Moolenaar2019-03-261-6/+6
| | | | | Problem: Not checking return value of ga_grow(). (Coverity) Solution: Only append when ga_grow() returns OK.
* patch 8.1.1043: Lua interface does not support Blobv8.1.1043Bram Moolenaar2019-03-231-12/+183
| | | | | Problem: Lua interface does not support Blob. Solution: Add support to Blob. (Ozaki Kiichi, closes #4151)
* patch 8.1.1019: Lua: may garbage collect function reference in usev8.1.1019Bram Moolenaar2019-03-191-64/+80
| | | | | | 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)
* patch 8.1.1010: Lua interface leaks memoryv8.1.1010Bram Moolenaar2019-03-161-6/+3
| | | | | Problem: Lua interface leaks memory. Solution: Clear typeval after copying it.
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-1/+1
| | | | | | | 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)
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-5/+5
| | | | | | | | 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.
* patch 8.1.0672: the Lua interface doesn't know about v:nullv8.1.0672Bram Moolenaar2019-01-011-0/+4
| | | | | Problem: The Lua interface doesn't know about v:null. Solution: Add Lua support for v:null. (Uji, closes #3744)
* patch 8.1.0305: missing support for Lua 5.4 32 bits on Unixv8.1.0305Bram Moolenaar2018-08-211-1/+13
| | | | | Problem: Missing support for Lua 5.4 32 bits on Unix. Solution: Define lua_newuserdatauv. (Kazunobu Kuriyama)
* patch 8.1.0212: preferred cursor column not set in interfacesv8.1.0212Bram Moolenaar2018-07-251-0/+1
| | | | | | Problem: Preferred cursor column not set in interfaces. Solution: Set w_set_curswant when setting the cursor. (David Hotham, closes #3060)
* patch 8.1.0183: Lua API changed, breaking the buildv8.1.0183Bram Moolenaar2018-07-141-5/+19
| | | | | | Problem: Lua API changed, breaking the build. Solution: Adjust prototype of lua_rawgeti(). (Ken Takata, closes #3157, closes #3144)
* patch 8.1.0180: static analysis errors in Lua interfacev8.1.0180Bram Moolenaar2018-07-131-15/+32
| | | | | Problem: Static analysis errors in Lua interface. (Coverity) Solution: Check for NULL pointers.
* patch 8.1.0164: luaeval('vim.buffer().name') returns an errorv8.1.0164Bram Moolenaar2018-07-071-2/+4
| | | | | Problem: luaeval('vim.buffer().name') returns an error. Solution: Return an empty string. (Dominique Pelle, closes #3167)
* patch 8.1.0134: Lua interface does not support funcrefv8.1.0134Bram Moolenaar2018-07-011-27/+238
| | | | | Problem: Lua interface does not support funcref. Solution: Add funcref support. (Luis Carvalho)
* patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar2017-09-221-1/+1
| | | | | Problem: W_WIDTH() is always the same. Solution: Expand the macro.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-4/+0
| | | | | | 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.
* patch 8.0.0268: may get ml_get error when :luado deletes linesv8.0.0268Bram Moolenaar2017-01-291-0/+9
| | | | | | 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.
* patch 7.4.2285v7.4.2285Bram Moolenaar2016-08-281-2/+3
| | | | | Problem: Generated files are outdated. Solution: Generate the files. Avoid errors when generating prototypes.
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-2/+2
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.1611v7.4.1611Bram Moolenaar2016-03-191-2/+2
| | | | | | Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
* patch 7.4.1154v7.4.1154Bram Moolenaar2016-01-231-1/+7
| | | | | | Problem: No support for JSON. Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, v:null and v:none.
* patch 7.4.1065v7.4.1065Bram Moolenaar2016-01-091-6/+1
| | | | | | 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.
* patch 7.4.954v7.4.954Bram Moolenaar2015-12-031-1/+2
| | | | | Problem: When using Lua there may be a crash. (issue #468) Solution: Avoid using an unitialized tv. (Yukihiro Nakadaira)
* patch 7.4.907v7.4.907Bram Moolenaar2015-11-021-1/+6
| | | | | | | 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)
* patch 7.4.793v7.4.793Bram Moolenaar2015-07-211-1/+1
| | | | | Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
* patch 7.4.763v7.4.763Bram Moolenaar2015-06-271-16/+23
| | | | | Problem: Building with Lua 5.1 doesn't work. Solution: Define lua_replace and lua_remove. (KF Leong)
* patch 7.4.759v7.4.759Bram Moolenaar2015-06-251-6/+17
| | | | | Problem: Building with Lua 5.3 doesn't work, symbols have changed. Solution: Use the new names for the new version. (Felix Schnizlein)
* updated for version 7.4.638v7.4.638Bram Moolenaar2015-02-171-1/+1
| | | | | Problem: Can't build with Lua 5.3 on Windows. Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
* updated for version 7.4.621v7.4.621Bram Moolenaar2015-02-041-2/+2
| | | | | Problem: Returning 1 in the wrong function. (Raymond Ko) Solution: Return 1 in the right function (hopefully).
* updated for version 7.4.619v7.4.619Bram Moolenaar2015-02-041-2/+3
| | | | | Problem: luaV_setref() not returning the correct value. Solution: Return one.
* updated for version 7.4.618v7.4.618Bram Moolenaar2015-02-031-0/+1
| | | | | Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi) Solution: Put the return statement back.
* updated for version 7.4.609v7.4.609Bram Moolenaar2015-02-031-10/+22
| | | | | | | 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)
* updated for version 7.4.278v7.4.278Bram Moolenaar2014-05-071-1/+1
| | | | | Problem: list_remove() conflicts with function defined in Sun header file. Solution: Rename the function. (Richard Palo)
* updated for version 7.3.896v7.3.896Bram Moolenaar2013-04-151-10/+17
| | | | | Problem: Memory leaks in Lua interface. Solution: Fix the leaks, add tests. (Yukihiro Nakadaira)
* updated for version 7.3.885v7.3.885Bram Moolenaar2013-04-121-16/+0
| | | | | Problem: Double free for list and dict in Lua. (Shougo Matsu) Solution: Do not unref list and dict. (Yasuhiro Matsumoto)
* updated for version 7.3.820v7.3.820Bram Moolenaar2013-02-141-1/+5
| | | | | | Problem: Build errors and warnings when building with small features and Lua, Perl or Ruby. Solution: Add #ifdefs and UNUSED.
* updated for version 7.3.689v7.3.689Bram Moolenaar2012-10-141-1/+2
| | | | | Problem: MzScheme and Lua may use a NULL string. Solution: Use an empty string instead of NULL. (Yukihiro Nakadaira)
* updated for version 7.3.569v7.3.569Bram Moolenaar2012-06-291-142/+6
| | | | | Problem: Evaluating Vim expression in Python is insufficient. Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
* updated for version 7.3.494v7.3.494Bram Moolenaar2012-04-061-5/+12
| | | | | Problem: Can't compile with Lua 9.1 or dynamic Lua. Solution: Fix dll_ methods. Fix luado(). (Muraoka Taro, Luis Carvalho)
* updated for version 7.3.490v7.3.490Bram Moolenaar2012-04-051-259/+878
| | | | | Problem: Member confusion in Lua interface. Solution: Fix it. Add luaeval(). (Taro Muraoka, Luis Carvalho)
* updated for version 7.3.370v7.3.370Bram Moolenaar2011-12-081-2/+1
| | | | | Problem: Compiler warns for unused variable in Lua interface. Solution: Remove the variable.
* updated for version 7.3.317v7.3.317Bram Moolenaar2011-09-211-0/+33
| | | | | Problem: Calling debug.debug() in Lua may cause Vim to hang. Solution: Add a better debug method. (Rob Hoelz, Luis Carvalho)
* updated for version 7.3.101v7.3.101Bram Moolenaar2011-01-171-3/+2
| | | | | | Problem: ino_t defined with wrong size. Solution: Move including auto/config.h before other includes. (Marius Geminas)
* updated for version 7.3.034v7.3.034Bram Moolenaar2010-10-231-1/+1
| | | | | Problem: Win32: may be loading .dll from the wrong directory. Solution: Go to the Vim executable directory when opening a library.