Bram Moolenaar
9e822c00b1
updated for version 7.3.1044
...
Problem: Python: No {Buffer,TabPage,Window}.valid attributes.
Solution: Python patch 5: add .valid (ZyX)
2013-05-29 22:15:30 +02:00
Bram Moolenaar
3e734ea2c7
updated for version 7.3.1043
...
Problem: Python: Dynamic compilation with 2.3 fails.
Solution: Python patch 4. (ZyX)
2013-05-29 22:05:55 +02:00
Bram Moolenaar
e9ba516be2
updated for version 7.3.1042
...
Problem: Python: can't assign to vim.Buffer.name.
Solution: Python patch 3. (ZyX)
2013-05-29 22:02:22 +02:00
Bram Moolenaar
0014a53ad1
updated for version 7.3.1040
...
Problem: Python: Problems with debugging dynamic build.
Solution: Python patch 1. (ZyX)
2013-05-29 21:33:39 +02:00
Bram Moolenaar
2a0f3d3fb2
updated for version 7.3.1003
...
Problem: Python interface does not compile with Python 2.2
Solution: Fix thread issues and True/False. (ZyX)
2013-05-21 22:23:56 +02:00
Bram Moolenaar
774267bbb9
updated for version 7.3.998
...
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-21 20:51:59 +02:00
Bram Moolenaar
1dc28783fa
updated for version 7.3.995
...
Problem: Python: Module initialization is duplicated.
Solution: Move to shared file. (ZyX)
2013-05-21 19:11:01 +02:00
Bram Moolenaar
d6e391862c
updated for version 7.3.992
...
Problem: Python: Too many type casts.
Solution: Change argument types. (ZyX)
2013-05-21 18:30:34 +02:00
Bram Moolenaar
b52f4c02e6
updated for version 7.3.991
...
Problem: More can be shared by Python 2 and 3.
Solution: Move more stuff to if_py_both. (ZyX)
2013-05-21 18:19:38 +02:00
Bram Moolenaar
d620aa9be4
updated for version 7.3.966
...
Problem: There is ":py3do" but no ":pydo".
Solution: Add the ":pydo" command. (Lilydjwg)
2013-05-17 16:40:06 +02:00
Bram Moolenaar
cabf80ff2f
updated for version 7.3.964
...
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-17 16:18:33 +02:00
Bram Moolenaar
71700b8903
updated for version 7.3.956
...
Problem: Python vim.bindeval() causes SIGABRT.
Solution: Make pygilstate a local variable. (Yukihiro Nakadaira)
2013-05-15 17:49:05 +02:00
Bram Moolenaar
d5f729cada
updated for version 7.3.953
...
Problem: Python: string exceptions are deprecated.
Solution: Make vim.error an Exception subclass. (ZyX)
2013-05-15 16:04:40 +02:00
Bram Moolenaar
8661b17843
updated for version 7.3.951
...
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-15 15:44:28 +02:00
Bram Moolenaar
4d188da22b
updated for version 7.3.950
...
Problem: Python: Stack trace printer can't handle messages.
Solution: Make KeyErrors use PyErr_SetObject. (ZyX)
2013-05-15 15:35:09 +02:00
Bram Moolenaar
5e538ecd5e
updated for version 7.3.949
...
Problem: Python: no easy access to tabpages.
Solution: Add vim.tabpages and vim.current.tabpage. (ZyX)
2013-05-15 15:12:29 +02:00
Bram Moolenaar
03db85b398
updated for version 7.3.948
...
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-15 14:51:35 +02:00
Bram Moolenaar
b6c589a529
updated for version 7.3.947
...
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-15 14:39:52 +02:00
Bram Moolenaar
dfa38d4e45
updated for version 7.3.945
...
Problem: Python: List of buffers is not very useful.
Solution: Make vim.buffers a map. No iterator yet. (ZyX)
2013-05-15 13:38:47 +02:00
Bram Moolenaar
8f1723de47
updated for version 7.3.942
...
Problem: Python: SEGV in Buffer functions.
Solution: Call CheckBuffer() at the right time. (ZyX)
2013-05-12 20:36:14 +02:00
Bram Moolenaar
3d0c52db9c
updated for version 7.3.941
...
Problem: Stuff in if_py_both.h is ordered badly.
Solution: Reorder by type. (ZyX)
2013-05-12 19:45:35 +02:00
Bram Moolenaar
971db46799
updated for version 7.3.937
...
Problem: More can be shared between Python 2 and 3.
Solution: Move code to if_py_both.h. (ZyX)
2013-05-12 18:44:48 +02:00
Bram Moolenaar
84a05acc8c
updated for version 7.3.925
...
Problem: Typos in source files.
Solution: Fix the typos. (Ken Takata)
2013-05-06 04:24:17 +02:00
Bram Moolenaar
84e0f6ca9a
updated for version 7.3.924
...
Problem: Python interface can't easily access options.
Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
2013-05-06 03:52:55 +02:00
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