0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

61 Commits

Author SHA1 Message Date
Bram Moolenaar
230bb3f09d updated for version 7.3.911
Problem:    Python: Access to Vim variables is not so easy.
Solution:   Define vim.vars and vim.vvars. (ZyX)
2013-04-24 14:07:45 +02:00
Bram Moolenaar
335e0b6974 updated for version 7.3.910
Problem:    Python code in #ifdef branches with only minor differences.
Solution:   Merge the #ifdef branches. (ZyX)
2013-04-24 13:47:45 +02:00
Bram Moolenaar
4d1da49cfe updated for version 7.3.909
Problem:    Duplicate Python code.
Solution:   Move more items to if_py_both.h. (ZyX)  Also avoid compiler
            warnings for missing initializers.
2013-04-24 13:39:15 +02:00
Bram Moolenaar
af6abb9d93 updated for version 7.3.907
Problem:    Python uses IndexError when a dict key is not found.
Solution:   Use KeyError instead. (ZyX)
2013-04-24 13:04:26 +02:00
Bram Moolenaar
4d36987c25 updated for version 7.3.825
Problem:    With Python errors are not always clear.
Solution:   Print the stack trace, unless :silent is used. (ZyX)
2013-02-20 16:09:43 +01:00
Bram Moolenaar
76d711c3b5 updated for version 7.3.808
Problem:    Python threads still do not work properly.
Solution:   Fix both Python 2 and 3.  Add tests. (Ken Takata)
2013-02-13 14:17:08 +01:00
Bram Moolenaar
02366255c9 updated for version 7.3.786
Problem:    Python threads don't run in the background (issue 103).
Solution:   Move the statements to manipulate thread state.
2013-01-30 11:44:39 +01:00
Bram Moolenaar
003d14a267 updated for version 7.3.698
Problem:    Python 3 does not preserve state beween commands.
Solution:   Preserve the state. (Paul Ollis)
2012-10-21 01:47:00 +02:00
Bram Moolenaar
b88adbf844 updated for version 7.3.691
Problem:    State specific to the Python thread is discarded.
Solution:   Keep state between threads. (Paul)
2012-10-14 05:20:12 +02:00
Bram Moolenaar
66b7985ec9 updated for version 7.3.672
Problem:    Not possible to lock/unlock lists in Python interface.
Solution:   Add .locked and .scope attributes. (ZyX)
2012-09-21 14:00:35 +02:00
Bram Moolenaar
770456589e updated for version 7.3.671
Problem:    More Python code can be shared between Python 2 and 3.
Solution:   Move code to if_py_both.h. (ZyX)
2012-09-21 13:46:06 +02:00
Bram Moolenaar
e8cdcef875 updated for version 7.3.661
Problem:    SEGV in Python code.
Solution:   Initialize len to zero.  Use the right function depending on
            version. (Maxim Philippov)
2012-09-12 20:21:43 +02:00
Bram Moolenaar
cdab905136 updated for version 7.3.657
Problem:    Python bindings silently truncate string values containing NUL.
Solution:   Fail when a string contains NUL. (ZyX)
2012-09-05 19:03:56 +02:00
Bram Moolenaar
77fceb8908 updated for version 7.3.656
Problem:    Internal error in :pyeval.
Solution:   Handle failed object conversion. (ZyX)
2012-09-05 18:54:48 +02:00
Bram Moolenaar
221d6872c4 updated for version 7.3.584
Problem:    PyCObject is not always defined.
Solution:   Use PyObject instead.
2012-06-30 13:34:34 +02:00
Bram Moolenaar
e721122b79 updated for version 7.3.583
Problem:    PyObject_NextNotImplemented is not defined before Python 2.7.
            (Danek Duvall)
Solution:   Add #ifdefs.
2012-06-30 13:21:08 +02:00
Bram Moolenaar
cc3e85f169 updated for version 7.3.581
Problem:    Problems compiling with Python.
Solution:   Pick UCS2 or UCS4 function at runtime. (lilydjwg)
2012-06-29 19:14:52 +02:00
Bram Moolenaar
2afa3238a1 updated for version 7.3.579
Problem:    Can't compile with Python 2.5.
Solution:   Use PyCObject when Capsules are not available.
2012-06-29 16:28:28 +02:00
Bram Moolenaar
db91395312 updated for version 7.3.569
Problem:    Evaluating Vim expression in Python is insufficient.
Solution:   Add vim.bindeval().  Also add pyeval() and py3eval(). (ZyX)
2012-06-29 12:54:53 +02:00
Bram Moolenaar
9dc93ae43e updated for version 7.3.288
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.
2011-08-28 16:00:19 +02:00
Bram Moolenaar
19e6094378 updated for version 7.3.220
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)
2011-06-19 00:27:51 +02:00
Bram Moolenaar
30fec7bc7f updated for version 7.3.145
Problem:    Can't build with Python dynamically loading.
Solution:   Add dll_PyType_Ready.
2011-03-26 18:32:05 +01:00
Bram Moolenaar
21377c8d5f updated for version 7.3.144
Problem:    Crash with ":python help(dir)". (Kearn Holliday)
Solution:   Fix the way the type is set on objects. (Tobias Columbus)
2011-03-26 13:56:48 +01:00
Bram Moolenaar
644d37b84d updated for version 7.3.062
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)
2010-11-16 19:26:02 +01:00
Bram Moolenaar
ebbcb824ba updated for version 7.3.034
Problem:    Win32: may be loading .dll from the wrong directory.
Solution:   Go to the Vim executable directory when opening a library.
2010-10-23 14:02:54 +02:00
Bram Moolenaar
b744b2fa32 Add a configure check for RTLD_GLOBAL. (James Vega, Roland Puntaier) 2010-08-13 16:22:57 +02:00
Bram Moolenaar
b61f95c31f When building with both Python 2 and Python 3 don't use RTLD_GLOBAL, so that
both may work.
2010-08-09 22:06:13 +02:00
Bram Moolenaar
ca8a4dfe7a Move many more common Python items to if_py_both.c. 2010-07-31 19:54:14 +02:00
Bram Moolenaar
170bf1aed5 Move some common code from if_python.c and if_python3.c to if_py_both.h. 2010-07-24 23:51:45 +02:00
Bram Moolenaar
4c3a326c53 Temporary solution for crashing when using both :py and :py3: disallow both in
one session.
2010-07-24 15:42:14 +02:00
Bram Moolenaar
fa5d1e63c7 Fix: "import termios" doesn't work with dynamically loaded Python. (James
Vega)
2010-07-22 21:44:13 +02:00
Bram Moolenaar
bd5e15fd5c Added support for Python 3. (Roland Puntaier) 2010-07-17 21:19:38 +02:00
Bram Moolenaar
cc448b373d Support completion for ":find". (Nazri Ramliy)
Cleanup white space.
2010-07-14 16:52:17 +02:00
Bram Moolenaar
860cae1cec Add the conceal patch from Vince Negri. 2010-06-05 23:22:07 +02:00
Bram Moolenaar
8b9c05fa54 updated for version 7.2.383
Problem:    Vim doesn't build cleanly with MSVC 2010.
Solution:   Change a few types. (George Reilly)
2010-03-02 17:54:33 +01:00
Bram Moolenaar
be2c9ae915 updated for version 7.2-288 2009-11-11 14:06:59 +00:00
Bram Moolenaar
badfde1bfe updated for version 7.2-268 2009-11-03 10:43:27 +00:00
Bram Moolenaar
cdcaa58929 updated for version 7.2-226 2009-07-09 18:06:49 +00:00
Bram Moolenaar
4bdbbf7066 updated for version 7.2-184 2009-05-21 21:27:43 +00:00
Bram Moolenaar
d72b386a63 updated for version 7.2-084 2009-01-13 17:11:05 +00:00
Bram Moolenaar
9774ecc80c updated for version 7.2-045 2008-11-20 10:04:53 +00:00
Bram Moolenaar
01dd60cb91 updated for version 7.2b-014 2008-07-24 14:24:48 +00:00
Bram Moolenaar
c236c16d08 updated for version 7.2b-000 2008-07-13 17:41:49 +00:00
Bram Moolenaar
e7cb9cf672 updated for version 7.1-320 2008-06-20 14:32:41 +00:00
Bram Moolenaar
2c45e945a3 updated for version 7.1-307 2008-06-04 11:35:26 +00:00
Bram Moolenaar
454ec05a47 updated for version 7.0-209 2007-03-08 09:20:28 +00:00
Bram Moolenaar
658ada69f4 updated for version 7.0-112 2006-10-03 13:02:36 +00:00
Bram Moolenaar
c9b4b05b35 updated for version 7.0g 2006-04-30 18:54:39 +00:00
Bram Moolenaar
f740b29ae2 updated for version 7.0199 2006-02-16 22:11:02 +00:00
Bram Moolenaar
0ac9379acf updated for version 7.0184 2006-01-21 22:16:51 +00:00