summaryrefslogtreecommitdiffstats
path: root/src/if_python.c
AgeCommit message (Collapse)Author
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-07-23updated for version 7.4.380v7.4.380Bram Moolenaar
Problem: Loading python may cause Vim to exit. Solution: Avoid loading the "site" module. (Taro Muraoka)
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-02-23updated for version 7.4.188v7.4.188Bram Moolenaar
Problem: SIZEOF_LONG clashes with similar defines in header files. Solution: Rename to a name starting with VIM_. Also for SIZEOF_INT.
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.151v7.4.151Bram Moolenaar
Problem: Python: slices with steps are not supported. Solution: Support slices in Python vim.List. (ZyX)
2013-11-03updated for version 7.4.060v7.4.060Bram Moolenaar
Problem: Declaration has wrong return type for PyObject_SetAttrString(). Solution: Use int instead of PyObject. (Andreas Schwab)
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.1238v7.3.1238Bram Moolenaar
Problem: Crash in Python interface on 64 bit machines. Solution: Change argument type of PyString_AsStringAndSize. (Taro Muraoka, Jun Takimoto)
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.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.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-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)
2013-06-10updated for version 7.3.1163v7.3.1163Bram Moolenaar
Problem: Not easy to load Python modules. Solution: Search "python2", "python3" and "pythonx" directories in 'runtimepath' for Python modules. (ZyX)
2013-06-10updated for version 7.3.1162v7.3.1162Bram Moolenaar
Problem: Python: Memory leaks Solution: Add more Py_DECREF(). (ZyX)
2013-06-10updated for version 7.3.1158v7.3.1158Bram Moolenaar
Problem: Crash when running test 86. (Jun Takimoto) Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
2013-06-02updated for version 7.3.1099v7.3.1099Bram Moolenaar
Problem: Python: Changing directory with os.chdir() causes problems for Vim's notion of directories. Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
2013-05-30updated for version 7.3.1070v7.3.1070Bram Moolenaar
Problem: Vim crashes in Python tests. Compiler warning for unused function. Solution: Disable the tests for now. Move the function.
2013-05-30updated for version 7.3.1065v7.3.1065Bram Moolenaar
Problem: Python: key mapping is not standard. Solution: Puthon patch 24: use PyMapping_Keys. (ZyX)
2013-05-30updated for version 7.3.1061v7.3.1061Bram Moolenaar
Problem: Python: Dictionary is not standard. Solution: Python patch 20: Add standard methods and fields. (ZyX)
2013-05-30updated for version 7.3.1059v7.3.1059Bram Moolenaar
Problem: Python: Using fixed size buffers. Solution: Python patch 18: Use python's own formatter. (ZyX)
2013-05-29updated for version 7.3.1047v7.3.1047Bram Moolenaar
Problem: Python: dir() does not work properly. Solution: Python patch 8. Add __dir__ method to all objects with custom tp_getattr supplemented by __members__ attribute for at least python-2* versions. __members__ is not mentioned in python-3* dir() output even if it is accessible. (ZyX)
2013-05-29updated for version 7.3.1044v7.3.1044Bram Moolenaar
Problem: Python: No {Buffer,TabPage,Window}.valid attributes. Solution: Python patch 5: add .valid (ZyX)
2013-05-29updated for version 7.3.1043v7.3.1043Bram Moolenaar
Problem: Python: Dynamic compilation with 2.3 fails. Solution: Python patch 4. (ZyX)
2013-05-29updated for version 7.3.1042v7.3.1042Bram Moolenaar
Problem: Python: can't assign to vim.Buffer.name. Solution: Python patch 3. (ZyX)
2013-05-29updated for version 7.3.1040v7.3.1040Bram Moolenaar
Problem: Python: Problems with debugging dynamic build. Solution: Python patch 1. (ZyX)
2013-05-21updated for version 7.3.1003v7.3.1003Bram Moolenaar
Problem: Python interface does not compile with Python 2.2 Solution: Fix thread issues and True/False. (ZyX)
2013-05-21updated for version 7.3.998v7.3.998Bram Moolenaar
Problem: Python: garbage collection issues. Solution: Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative refcounts, use PyObject_GC_* for objects with tp_traverse and tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some places. (ZyX)
2013-05-21updated for version 7.3.995v7.3.995Bram Moolenaar
Problem: Python: Module initialization is duplicated. Solution: Move to shared file. (ZyX)
2013-05-21updated for version 7.3.992v7.3.992Bram Moolenaar
Problem: Python: Too many type casts. Solution: Change argument types. (ZyX)
2013-05-21updated for version 7.3.991v7.3.991Bram Moolenaar
Problem: More can be shared by Python 2 and 3. Solution: Move more stuff to if_py_both. (ZyX)
2013-05-17updated for version 7.3.966v7.3.966Bram Moolenaar
Problem: There is ":py3do" but no ":pydo". Solution: Add the ":pydo" command. (Lilydjwg)
2013-05-17updated for version 7.3.964v7.3.964Bram Moolenaar
Problem: Python: not so easy to access tab pages. Solution: Add window.tabpage, make window.number work with non-current tab pages. (ZyX)
2013-05-15updated for version 7.3.956v7.3.956Bram Moolenaar
Problem: Python vim.bindeval() causes SIGABRT. Solution: Make pygilstate a local variable. (Yukihiro Nakadaira)
2013-05-15updated for version 7.3.953v7.3.953Bram Moolenaar
Problem: Python: string exceptions are deprecated. Solution: Make vim.error an Exception subclass. (ZyX)
2013-05-15updated for version 7.3.951v7.3.951Bram Moolenaar
Problem: Python exceptions have problems. Solution: Change some IndexErrors to TypeErrors. Make “line number out of range” an IndexError. Make “unable to get option value” a RuntimeError. Make all PyErr_SetString messages start with lowercase letter and use _(). (ZyX)
2013-05-15updated for version 7.3.950v7.3.950Bram Moolenaar
Problem: Python: Stack trace printer can't handle messages. Solution: Make KeyErrors use PyErr_SetObject. (ZyX)
2013-05-15updated for version 7.3.949v7.3.949Bram Moolenaar
Problem: Python: no easy access to tabpages. Solution: Add vim.tabpages and vim.current.tabpage. (ZyX)
2013-05-15updated for version 7.3.948v7.3.948Bram Moolenaar
Problem: Cannot build with Python 2.2 Solution: Make Python interface work with Python 2.2 Make 2.2 the first supported version. (ZyX)
2013-05-15updated for version 7.3.947v7.3.947Bram Moolenaar
Problem: Python: No iterator for vim.list and vim.bufferlist. Solution: Add the iterators. Also fix name of FunctionType. Add tests for vim.buffers. (ZyX)
2013-05-15updated for version 7.3.945v7.3.945Bram Moolenaar
Problem: Python: List of buffers is not very useful. Solution: Make vim.buffers a map. No iterator yet. (ZyX)
2013-05-12updated for version 7.3.942v7.3.942Bram Moolenaar
Problem: Python: SEGV in Buffer functions. Solution: Call CheckBuffer() at the right time. (ZyX)
2013-05-12updated for version 7.3.941v7.3.941Bram Moolenaar
Problem: Stuff in if_py_both.h is ordered badly. Solution: Reorder by type. (ZyX)
2013-05-12updated for version 7.3.937v7.3.937Bram Moolenaar
Problem: More can be shared between Python 2 and 3. Solution: Move code to if_py_both.h. (ZyX)
2013-05-06updated for version 7.3.925v7.3.925Bram Moolenaar
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
2013-05-06updated for version 7.3.924v7.3.924Bram Moolenaar
Problem: Python interface can't easily access options. Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
2013-04-24updated for version 7.3.911v7.3.911Bram Moolenaar
Problem: Python: Access to Vim variables is not so easy. Solution: Define vim.vars and vim.vvars. (ZyX)
2013-04-24updated for version 7.3.910v7.3.910Bram Moolenaar
Problem: Python code in #ifdef branches with only minor differences. Solution: Merge the #ifdef branches. (ZyX)