summaryrefslogtreecommitdiff
path: root/src/if_python.c
Commit message (Collapse)AuthorAgeFilesLines
...
* updated for version 7.3.1228v7.3.1228Bram Moolenaar2013-06-231-6/+3
| | | | | | | 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)
* updated for version 7.3.1174v7.3.1174Bram Moolenaar2013-06-121-199/+0
| | | | | Problem: Python 2 and 3 use different ways to load modules. Solution: Use the same method. (ZyX)
* updated for version 7.3.1172v7.3.1172Bram Moolenaar2013-06-121-61/+157
| | | | | Problem: Python 2: loading modules doesn't work well. Solution: Fix the code. Add more tests. (ZyX)
* updated for version 7.3.1163v7.3.1163Bram Moolenaar2013-06-101-8/+133
| | | | | | Problem: Not easy to load Python modules. Solution: Search "python2", "python3" and "pythonx" directories in 'runtimepath' for Python modules. (ZyX)
* updated for version 7.3.1162v7.3.1162Bram Moolenaar2013-06-101-12/+4
| | | | | Problem: Python: Memory leaks Solution: Add more Py_DECREF(). (ZyX)
* updated for version 7.3.1158v7.3.1158Bram Moolenaar2013-06-101-4/+7
| | | | | Problem: Crash when running test 86. (Jun Takimoto) Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
* updated for version 7.3.1099v7.3.1099Bram Moolenaar2013-06-021-2/+6
| | | | | | Problem: Python: Changing directory with os.chdir() causes problems for Vim's notion of directories. Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
* updated for version 7.3.1070v7.3.1070Bram Moolenaar2013-05-301-0/+15
| | | | | Problem: Vim crashes in Python tests. Compiler warning for unused function. Solution: Disable the tests for now. Move the function.
* updated for version 7.3.1065v7.3.1065Bram Moolenaar2013-05-301-7/+10
| | | | | Problem: Python: key mapping is not standard. Solution: Puthon patch 24: use PyMapping_Keys. (ZyX)
* updated for version 7.3.1061v7.3.1061Bram Moolenaar2013-05-301-3/+11
| | | | | Problem: Python: Dictionary is not standard. Solution: Python patch 20: Add standard methods and fields. (ZyX)
* updated for version 7.3.1059v7.3.1059Bram Moolenaar2013-05-301-0/+3
| | | | | Problem: Python: Using fixed size buffers. Solution: Python patch 18: Use python's own formatter. (ZyX)
* updated for version 7.3.1047v7.3.1047Bram Moolenaar2013-05-291-0/+10
| | | | | | | | 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)
* updated for version 7.3.1044v7.3.1044Bram Moolenaar2013-05-291-0/+9
| | | | | Problem: Python: No {Buffer,TabPage,Window}.valid attributes. Solution: Python patch 5: add .valid (ZyX)
* updated for version 7.3.1043v7.3.1043Bram Moolenaar2013-05-291-13/+34
| | | | | Problem: Python: Dynamic compilation with 2.3 fails. Solution: Python patch 4. (ZyX)
* updated for version 7.3.1042v7.3.1042Bram Moolenaar2013-05-291-14/+2
| | | | | Problem: Python: can't assign to vim.Buffer.name. Solution: Python patch 3. (ZyX)
* updated for version 7.3.1040v7.3.1040Bram Moolenaar2013-05-291-8/+55
| | | | | Problem: Python: Problems with debugging dynamic build. Solution: Python patch 1. (ZyX)
* updated for version 7.3.1003v7.3.1003Bram Moolenaar2013-05-211-2/+15
| | | | | Problem: Python interface does not compile with Python 2.2 Solution: Fix thread issues and True/False. (ZyX)
* updated for version 7.3.998v7.3.998Bram Moolenaar2013-05-211-1/+10
| | | | | | | | 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)
* updated for version 7.3.995v7.3.995Bram Moolenaar2013-05-211-70/+13
| | | | | Problem: Python: Module initialization is duplicated. Solution: Move to shared file. (ZyX)
* updated for version 7.3.992v7.3.992Bram Moolenaar2013-05-211-12/+0
| | | | | Problem: Python: Too many type casts. Solution: Change argument types. (ZyX)
* updated for version 7.3.991v7.3.991Bram Moolenaar2013-05-211-122/+20
| | | | | Problem: More can be shared by Python 2 and 3. Solution: Move more stuff to if_py_both. (ZyX)
* updated for version 7.3.966v7.3.966Bram Moolenaar2013-05-171-0/+96
| | | | | Problem: There is ":py3do" but no ":pydo". Solution: Add the ":pydo" command. (Lilydjwg)
* updated for version 7.3.964v7.3.964Bram Moolenaar2013-05-171-5/+0
| | | | | | Problem: Python: not so easy to access tab pages. Solution: Add window.tabpage, make window.number work with non-current tab pages. (ZyX)
* updated for version 7.3.956v7.3.956Bram Moolenaar2013-05-151-12/+21
| | | | | Problem: Python vim.bindeval() causes SIGABRT. Solution: Make pygilstate a local variable. (Yukihiro Nakadaira)
* updated for version 7.3.953v7.3.953Bram Moolenaar2013-05-151-1/+4
| | | | | Problem: Python: string exceptions are deprecated. Solution: Make vim.error an Exception subclass. (ZyX)
* updated for version 7.3.951v7.3.951Bram Moolenaar2013-05-151-0/+4
| | | | | | | | 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)
* updated for version 7.3.950v7.3.950Bram Moolenaar2013-05-151-0/+3
| | | | | Problem: Python: Stack trace printer can't handle messages. Solution: Make KeyErrors use PyErr_SetObject. (ZyX)
* updated for version 7.3.949v7.3.949Bram Moolenaar2013-05-151-0/+58
| | | | | Problem: Python: no easy access to tabpages. Solution: Add vim.tabpages and vim.current.tabpage. (ZyX)
* updated for version 7.3.948v7.3.948Bram Moolenaar2013-05-151-1/+7
| | | | | | Problem: Cannot build with Python 2.2 Solution: Make Python interface work with Python 2.2 Make 2.2 the first supported version. (ZyX)
* updated for version 7.3.947v7.3.947Bram Moolenaar2013-05-151-0/+1
| | | | | | 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)
* updated for version 7.3.945v7.3.945Bram Moolenaar2013-05-151-22/+4
| | | | | Problem: Python: List of buffers is not very useful. Solution: Make vim.buffers a map. No iterator yet. (ZyX)
* updated for version 7.3.942v7.3.942Bram Moolenaar2013-05-121-6/+2
| | | | | Problem: Python: SEGV in Buffer functions. Solution: Call CheckBuffer() at the right time. (ZyX)
* updated for version 7.3.941v7.3.941Bram Moolenaar2013-05-121-3/+0
| | | | | Problem: Stuff in if_py_both.h is ordered badly. Solution: Reorder by type. (ZyX)
* updated for version 7.3.937v7.3.937Bram Moolenaar2013-05-121-100/+9
| | | | | Problem: More can be shared between Python 2 and 3. Solution: Move code to if_py_both.h. (ZyX)
* updated for version 7.3.925v7.3.925Bram Moolenaar2013-05-061-1/+1
| | | | | Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
* updated for version 7.3.924v7.3.924Bram Moolenaar2013-05-061-0/+4
| | | | | Problem: Python interface can't easily access options. Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
* updated for version 7.3.911v7.3.911Bram Moolenaar2013-04-241-0/+7
| | | | | Problem: Python: Access to Vim variables is not so easy. Solution: Define vim.vars and vim.vvars. (ZyX)
* updated for version 7.3.910v7.3.910Bram Moolenaar2013-04-241-0/+1
| | | | | Problem: Python code in #ifdef branches with only minor differences. Solution: Merge the #ifdef branches. (ZyX)
* updated for version 7.3.909v7.3.909Bram Moolenaar2013-04-241-422/+48
| | | | | | Problem: Duplicate Python code. Solution: Move more items to if_py_both.h. (ZyX) Also avoid compiler warnings for missing initializers.
* updated for version 7.3.907v7.3.907Bram Moolenaar2013-04-241-0/+4
| | | | | Problem: Python uses IndexError when a dict key is not found. Solution: Use KeyError instead. (ZyX)
* updated for version 7.3.825v7.3.825Bram Moolenaar2013-02-201-0/+7
| | | | | Problem: With Python errors are not always clear. Solution: Print the stack trace, unless :silent is used. (ZyX)
* updated for version 7.3.808v7.3.808Bram Moolenaar2013-02-131-6/+9
| | | | | Problem: Python threads still do not work properly. Solution: Fix both Python 2 and 3. Add tests. (Ken Takata)
* updated for version 7.3.786v7.3.786Bram Moolenaar2013-01-301-7/+9
| | | | | Problem: Python threads don't run in the background (issue 103). Solution: Move the statements to manipulate thread state.
* updated for version 7.3.698v7.3.698Bram Moolenaar2012-10-211-3/+4
| | | | | Problem: Python 3 does not preserve state beween commands. Solution: Preserve the state. (Paul Ollis)
* updated for version 7.3.691v7.3.691Bram Moolenaar2012-10-141-2/+4
| | | | | Problem: State specific to the Python thread is discarded. Solution: Keep state between threads. (Paul)
* updated for version 7.3.672v7.3.672Bram Moolenaar2012-09-211-2/+25
| | | | | Problem: Not possible to lock/unlock lists in Python interface. Solution: Add .locked and .scope attributes. (ZyX)
* updated for version 7.3.671v7.3.671Bram Moolenaar2012-09-211-25/+0
| | | | | Problem: More Python code can be shared between Python 2 and 3. Solution: Move code to if_py_both.h. (ZyX)
* updated for version 7.3.661v7.3.661Bram Moolenaar2012-09-121-3/+11
| | | | | | Problem: SEGV in Python code. Solution: Initialize len to zero. Use the right function depending on version. (Maxim Philippov)
* updated for version 7.3.657v7.3.657Bram Moolenaar2012-09-051-2/+6
| | | | | Problem: Python bindings silently truncate string values containing NUL. Solution: Fail when a string contains NUL. (ZyX)
* updated for version 7.3.656v7.3.656Bram Moolenaar2012-09-051-2/+6
| | | | | Problem: Internal error in :pyeval. Solution: Handle failed object conversion. (ZyX)