summaryrefslogtreecommitdiff
path: root/src/if_python3.c
Commit message (Collapse)AuthorAgeFilesLines
...
* updated for version 7.3.957v7.3.957Bram Moolenaar2013-05-151-1/+112
| | | | | Problem: Python does not have a "do" command like Perl or Lua. Solution: Add the ":py3do" command. (Lilydjwg)
* updated for version 7.3.956v7.3.956Bram Moolenaar2013-05-151-3/+2
| | | | | 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/+1
| | | | | 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-6/+10
| | | | | | | | 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/+59
| | | | | 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-0/+3
| | | | | | 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-21/+5
| | | | | Problem: Python: List of buffers is not very useful. Solution: Make vim.buffers a map. No iterator yet. (ZyX)
* updated for version 7.3.943v7.3.943Bram Moolenaar2013-05-121-2/+2
| | | | | Problem: Python: Negative indices were failing. Solution: Fix negative indices. Add tests. (ZyX)
* updated for version 7.3.942v7.3.942Bram Moolenaar2013-05-121-0/+6
| | | | | Problem: Python: SEGV in Buffer functions. Solution: Call CheckBuffer() at the right time. (ZyX)
* updated for version 7.3.937v7.3.937Bram Moolenaar2013-05-121-100/+10
| | | | | 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/+3
| | | | | 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/+3
| | | | | Problem: Python: Access to Vim variables is not so easy. Solution: Define vim.vars and vim.vvars. (ZyX)
* updated for version 7.3.909v7.3.909Bram Moolenaar2013-04-241-342/+49
| | | | | | 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-13/+12
| | | | | Problem: Python threads still do not work properly. Solution: Fix both Python 2 and 3. Add tests. (Ken Takata)
* updated for version 7.3.731v7.3.731Bram Moolenaar2012-11-281-4/+3
| | | | | Problem: Py3Init_vim() is exported uneccessarily. Solution: Make it static. (Ken Takata)
* updated for version 7.3.716v7.3.716Bram Moolenaar2012-11-201-9/+0
| | | | | Problem: Error on exit when using Python 3. Solution: Remove PythonIO_Fini(). (Roland Puntaier)
* updated for version 7.3.711v7.3.711Bram Moolenaar2012-10-231-15/+15
| | | | | | Problem: vim.current.buffer is not available. (lilydjwg) Solution: Use py3_PyUnicode_AsUTF8 instead of py3_PyUnicode_AsUTF8String. (Ken Takata)
* updated for version 7.3.698v7.3.698Bram Moolenaar2012-10-211-1/+5
| | | | | Problem: Python 3 does not preserve state beween commands. Solution: Preserve the state. (Paul Ollis)
* updated for version 7.3.688v7.3.688Bram Moolenaar2012-10-141-5/+25
| | | | | Problem: Python 3.3 is not supported. Solution: Add Python 3.3 support (Ken Takata)
* updated for version 7.3.672v7.3.672Bram Moolenaar2012-09-211-3/+67
| | | | | 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-46/+18
| | | | | 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/+10
| | | | | | Problem: SEGV in Python code. Solution: Initialize len to zero. Use the right function depending on version. (Maxim Philippov)
* updated for version 7.3.658v7.3.658Bram Moolenaar2012-09-051-2/+3
| | | | | Problem: NUL bytes truncate strings when converted from Python. Solution: Handle truncation as an error. (ZyX)
* updated for version 7.3.657v7.3.657Bram Moolenaar2012-09-051-6/+11
| | | | | 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-0/+4
| | | | | Problem: Internal error in :pyeval. Solution: Handle failed object conversion. (ZyX)
* updated for version 7.3.579v7.3.579Bram Moolenaar2012-06-291-0/+3
| | | | | Problem: Can't compile with Python 2.5. Solution: Use PyCObject when Capsules are not available.
* updated for version 7.3.569v7.3.569Bram Moolenaar2012-06-291-28/+363
| | | | | Problem: Evaluating Vim expression in Python is insufficient. Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
* updated for version 7.3.422v7.3.422Bram Moolenaar2012-02-041-2/+8
| | | | | Problem: Python 3 does not have __members__. Solution: Add "name" and "number" in another way. (lilydjwg)
* updated for version 7.3.313v7.3.313Bram Moolenaar2011-09-141-1/+1
| | | | | Problem: One more warning when compiling with dynamic Python 3. Solution: Change PySliceObject to PyObject.
* updated for version 7.3.309v7.3.309Bram Moolenaar2011-09-141-4/+4
| | | | | Problem: Warnings for pointer types. Solution: Change PySliceObject to PyObject.
* updated for version 7.3.307v7.3.307Bram Moolenaar2011-09-141-6/+39
| | | | | Problem: Python 3 doesn't support slice assignment. Solution: Implement slices. (Brett Overesch, Roland Puntaier)
* updated for version 7.3.288v7.3.288Bram Moolenaar2011-08-281-1/+2
| | | | | | Problem: has('python') may give an error message for not being able to load the library after using python3. Solution: Only give the error when the verbose argument is true.
* updated for version 7.3.250v7.3.250Bram Moolenaar2011-07-151-4/+12
| | | | | Problem: Python: Errors in Unicode characters not handled nicely. Solution: Add the surrogateescape error handler. (lilydjwg)
* updated for version 7.3.236v7.3.236Bram Moolenaar2011-06-261-3/+3
| | | | | Problem: Python 3 doesn't compile without +multi_byte Solution: Use "latin1" when MULTI_BYTE is not defined. (lilydjwg)
* updated for version 7.3.220v7.3.220Bram Moolenaar2011-06-191-35/+94
| | | | | | | | | | | Problem: Python 3: vim.error is a 'str' instead of an 'Exception' object, so 'except' or 'raise' it causes a 'SystemError' exception. Buffer objects do not support slice assignment. When exchanging text between Vim and Python, multibyte texts become gabage or cause Unicode Expceptions, etc. 'py3file' tries to read in the file as Unicode, sometimes causes UnicodeDecodeException Solution: Fix the problems. (lilydjwg)
* updated for version 7.3.212v7.3.212Bram Moolenaar2011-06-121-3/+2
| | | | | | Problem: With Python 3.2 ":py3" fails. Solution: Move PyEval_InitThreads() to after Py_Initialize(). (Roland Puntaier) Check abiflags in configure. (Andreas Behr)
* updated for version 7.3.132v7.3.132Bram Moolenaar2011-02-251-3/+3
| | | | | Problem: C++ style comments. Solution: Change to C comments.
* updated for version 7.3.062v7.3.062Bram Moolenaar2010-11-161-2/+10
| | | | | | | Problem: Python doesn't work properly when installed in another directory than expected. Solution: Figure out home directory in configure and use Py_SetPythonHome() at runtime. (Roland Puntaier)
* 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.
* Add a configure check for RTLD_GLOBAL. (James Vega, Roland Puntaier)Bram Moolenaar2010-08-131-9/+6
|
* When building with both Python 2 and Python 3 don't use RTLD_GLOBAL, so thatBram Moolenaar2010-08-091-38/+47
| | | | both may work.
* Move many more common Python items to if_py_both.c.Bram Moolenaar2010-07-311-1157/+14
|
* Include old Python changes in Python 3 interface.Bram Moolenaar2010-07-251-3/+10
|
* Move some common code from if_python.c and if_python3.c to if_py_both.h.Bram Moolenaar2010-07-241-354/+195
|
* Temporary solution for crashing when using both :py and :py3: disallow both inBram Moolenaar2010-07-241-2/+20
| | | | one session.