summaryrefslogtreecommitdiffstats
path: root/src/if_py_both.h
AgeCommit message (Collapse)Author
2016-03-14patch 7.4.1559v7.4.1559Bram Moolenaar
Problem: Passing cookie to a callback is clumsy. Solution: Change function() to take arguments and return a partial.
2016-03-12patch 7.4.1552v7.4.1552Bram Moolenaar
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
2016-02-06patch 7.4.1270v7.4.1270Bram Moolenaar
Problem: Warnings for missing values in switch. Solution: Change switch to if-else or add values.
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-17patch 7.4.1129v7.4.1129Bram Moolenaar
Problem: Python None value can't be converted to a Vim value. Solution: Just use zero. (Damien)
2015-11-10patch 7.4.910v7.4.910Bram Moolenaar
Problem: Compiler complains about type punned pointer. Solution: Use another way to increment the ref count.
2015-11-02patch 7.4.905v7.4.905Bram Moolenaar
Problem: Python interface can produce error "vim.message' object has no attribute 'isatty'". Solution: Add dummy isatty(), readable(), etc. (closes #464)
2015-02-10updated for version 7.4.625v7.4.625Bram Moolenaar
Problem: Possible NULL pointer dereference. Solution: Check for NULL before using it. (Mike Williams)
2015-02-03updated for version 7.4.609v7.4.609Bram Moolenaar
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)
2014-12-17updated for version 7.4.556v7.4.556Bram Moolenaar
Problem: Failed commands in Python interface not handled correctly. Solution: Restore window and buffer on failure.
2014-08-29updated for version 7.4.424v7.4.424Bram Moolenaar
Problem: Get ml_get error when using Python to delete lines in a buffer that is not in a window. issue 248. Solution: Do not try adjusting the cursor for a different buffer.
2014-05-07updated for version 7.4.278v7.4.278Bram Moolenaar
Problem: list_remove() conflicts with function defined in Sun header file. Solution: Rename the function. (Richard Palo)
2014-03-30updated for version 7.4.228v7.4.228Bram Moolenaar
Problem: Compiler warnings when building with Python 3.2. Solution: Make type cast depend on Python version. (Ken Takata)
2014-03-08updated for version 7.4.193v7.4.193Bram Moolenaar
Problem: Typos in messages. Solution: "then" -> "than". (Dominique Pelle)
2014-02-15updated for version 7.4.180v7.4.180Bram Moolenaar
Problem: Older Python versions don't support %ld. Solution: Use %d instead. (ZyX)
2014-02-12updated for version 7.4.179v7.4.179Bram Moolenaar
Problem: Warning for type-punned pointer. (Tony Mechelynck) Solution: Use intermediate variable.
2014-02-11updated for version 7.4.176v7.4.176Bram Moolenaar
Problem: Dictionary.update() thows an error when used without arguments. Python programmers don't expect that. Solution: Make Dictionary.update() without arguments do nothing. (ZyX)
2014-02-11updated for version 7.4.174v7.4.174Bram Moolenaar
Problem: Compiler warnings for Python interface. (Tony Mechelynck) Solution: Add type casts, initialize variable.
2014-01-31updated for version 7.4.161v7.4.161Bram Moolenaar
Problem: Crash in Python exception handling. Solution: Only use exception variables if did_throw is set. (ZyX)
2014-01-14updated for version 7.4.153v7.4.153Bram Moolenaar
Problem: Compiler warning for pointer type. Solution: Add type cast.
2014-01-14updated for version 7.4.152v7.4.152Bram Moolenaar
Problem: Python: Cannot iterate over options. Solution: Add options iterator. (ZyX)
2014-01-14updated for version 7.4.151v7.4.151Bram Moolenaar
Problem: Python: slices with steps are not supported. Solution: Support slices in Python vim.List. (ZyX)
2014-01-10updated for version 7.4.141v7.4.141Bram Moolenaar
Problem: Problems when building with Borland: st_mode is signed short; can't build with Python; temp files not ignored by Mercurial; building with DEBUG doesn't define _DEBUG. Solution: Fix the problems. (Ken Takata)
2013-12-07updated for version 7.4.111v7.4.111Bram Moolenaar
Problem: Memory leak in Python OptionsAssItem. (Ken Takata) Solution: Call Py_XDECREF() where needed. (ZyX)
2013-11-28updated for version 7.4.107v7.4.107Bram Moolenaar
Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the Python code doesn't catch it. (Yggdroot Chen) Solution: Throw exceptions on errors in vim.eval(). (ZyX)
2013-11-11updated for version 7.4.084v7.4.084Bram Moolenaar
Problem: Python: interrupt not being properly discarded. (Yggdroot Chen) Solution: Discard interrupt in VimTryEnd. (ZyX)
2013-11-04updated for version 7.4.063v7.4.063Bram Moolenaar
Problem: Crash when using invalid key in Python dictionary. Solution: Check for object to be NULL. Add tests. (ZyX)
2013-07-24updated for version 7.4a.043v7.4a.043Bram Moolenaar
Problem: More ml_get errors when adding or deleting lines from Python. (Vlad Irnov) Solution: Switch to a window with the buffer when possible.
2013-07-17updated for version 7.4a.027v7.4a.027Bram Moolenaar
Problem: When Python adds lines to another buffer the cursor position is wrong, it might be below the last line causing ml_get errors. (Vlad Irnov) Solution: Temporarily change the current window, so that marks are corrected properly.
2013-07-09updated for version 7.4a.009v7.4a.009Bram Moolenaar
Problem: Compiler warnings for function prototypes. Solution: Add "void". Move list_features() prototype. (Ken Takata)
2013-07-06updated for version 7.3.1312v7.3.1312Bram Moolenaar
Problem: Not giving correct error messages for SystemExit(). Solution: Move E858 into an else. (Ken Takata)
2013-07-01updated for version 7.3.1287v7.3.1287Bram Moolenaar
Problem: Python SystemExit exception is not handled properly. Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken Takata)
2013-06-24updated for version 7.3.1242v7.3.1242Bram Moolenaar
Problem: No failure when trying to use a number as a string. Solution: Give an error when StringToLine() is called with an instance of the wrong type. (Jun Takimoto)
2013-06-24updated for version 7.3.1239v7.3.1239Bram Moolenaar
Problem: Can't build with Python and MSVC10. Solution: Move #if outside of macro. (Taro Muraoka)
2013-06-23updated for version 7.3.1237v7.3.1237Bram Moolenaar
Problem: Python: non-import errors not handled correctly. Solution: Let non-ImportError exceptions pass the finder. (ZyX)
2013-06-23updated for version 7.3.1236v7.3.1236Bram Moolenaar
Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED. Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
2013-06-23updated for version 7.3.1234v7.3.1234Bram Moolenaar
Problem: Python: Strings are not marked for translation. Solution: Add N_() where appropriate. (ZyX)
2013-06-23updated for version 7.3.1233v7.3.1233Bram Moolenaar
Problem: Various Python problems. Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
2013-06-23updated for version 7.3.1232v7.3.1232Bram Moolenaar
Problem: Python: inconsistencies in variable names. Solution: Rename variables. (ZyX)
2013-06-23updated for version 7.3.1231v7.3.1231Bram Moolenaar
Problem: Python: use of numbers not consistent. Solution: Add support for Number protocol. (ZyX)
2013-06-23updated for version 7.3.1230v7.3.1230Bram Moolenaar
Problem: Python: Exception messages are not clear. Solution: Make exception messages more verbose. (ZyX)
2013-06-23updated for version 7.3.1229v7.3.1229Bram Moolenaar
Problem: Python: not so easy to delete/restore translating. Solution: Make macros do translation of exception messages. (ZyX) Note: this breaks translations!
2013-06-23updated for version 7.3.1228v7.3.1228Bram Moolenaar
Problem: Python: various inconsistencies and problems. Solution: StringToLine now supports both bytes() and unicode() objects. Make function names consistant. Fix memory leak fixed in StringToLine. (ZyX)
2013-06-23updated for version 7.3.1227v7.3.1227Bram Moolenaar
Problem: Inconsistent string conversion. Solution: Use 'encoding' instead of utf-8. Use METH_O in place of METH_VARARGS where appropriate. (ZyX)
2013-06-23updated for version 7.3.1226v7.3.1226Bram Moolenaar
Problem: Python: duplicate code. Solution: Share code between OutputWrite() and OutputWritelines(). (ZyX)
2013-06-16updated for version 7.3.1206v7.3.1206Bram Moolenaar
Problem: Inconsistent function argument declarations. Solution: Use ANSI style.
2013-06-16updated for version 7.3.1204v7.3.1204Bram Moolenaar
Problem: Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito Higashi) Solution: Don't always use goto_tabpage_tp().
2013-06-12updated for version 7.3.1176v7.3.1176Bram Moolenaar
Problem: Compiler warnings on 64 bit system. Solution: Add type casts. (Mike Williams)
2013-06-12updated for version 7.3.1174v7.3.1174Bram Moolenaar
Problem: Python 2 and 3 use different ways to load modules. Solution: Use the same method. (ZyX)
2013-06-12updated for version 7.3.1172v7.3.1172Bram Moolenaar
Problem: Python 2: loading modules doesn't work well. Solution: Fix the code. Add more tests. (ZyX)