Bram Moolenaar
b983f75d22
updated for version 7.3.954
...
Problem: No check if PyObject_IsTrue fails.
Solution: Add a check for -1 value. (ZyX)
2013-05-15 16:11:50 +02:00
Bram Moolenaar
e761459eb6
updated for version 7.3.952
...
Problem: Python: It's not easy to change window/buffer/tabpage.
Solution: Add ability to assign to vim.current.{tabpage,buffer,window}.
(ZyX)
2013-05-15 15:51:08 +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
bd80f35bc5
updated for version 7.3.943
...
Problem: Python: Negative indices were failing.
Solution: Fix negative indices. Add tests. (ZyX)
2013-05-12 21:16:23 +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
4e5dfb5700
updated for version 7.3.940
...
Problem: Python: Can't get position of window.
Solution: Add window.row and window.col. (ZyX)
2013-05-12 19:30:31 +02:00
Bram Moolenaar
99add41656
updated for version 7.3.939
...
Problem: Using Py_BuildValue is inefficient sometimes.
Solution: Use PyLong_FromLong(). (ZyX)
2013-05-12 19:09:51 +02:00
Bram Moolenaar
6d21645f46
updated for version 7.3.938
...
Problem: Python: not easy to get to window number.
Solution: Add vim.window.number. (ZyX)
2013-05-12 19:00:41 +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
161fb5e302
updated for version 7.3.928
...
Problem: Can't build with strict C compiler.
Solution: Move declaration to start of block. (Taro Muraoka)
2013-05-06 06:26:15 +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
7a26dd860a
updated for version 7.3.908
...
Problem: Possible crash when using a list in Python.
Solution: Return early if the list is NULL. (ZyX)
2013-04-24 13:10:41 +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
24b11fb173
updated for version 7.3.881
...
Problem: Python list does not work correctly.
Solution: Fix it and add a test. (Yukihiro Nakadaira)
2013-04-05 19:32:36 +02:00
Bram Moolenaar
b2c5a5ac79
updated for version 7.3.819
...
Problem: Compiling without +eval and with Python isn't working.
Solution: Add the eval feature when building with Python.
2013-02-14 22:11:39 +01:00
Bram Moolenaar
a54bf40017
updated for version 7.3.749
...
Problem: Python interface doesn't build without the multi-byte feature.
Solution: Add #ifdef. (Ken Takata)
2012-12-05 16:30:07 +01:00
Bram Moolenaar
d1f13fd597
updated for version 7.3.683
...
Problem: ":python" may crash when vimbindeval() returns None.
Solution: Check for v_string to be NULL. (Yukihiro Nakadaira)
2012-10-05 21:30:07 +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
696c2116dc
updated for version 7.3.670
...
Problem: Python: memory leaks when there are exceptions.
Solution: Add DICTKEY_UNREF in the right places. (ZyX)
2012-09-21 13:43:14 +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
afa6b9af86
updated for version 7.3.658
...
Problem: NUL bytes truncate strings when converted from Python.
Solution: Handle truncation as an error. (ZyX)
2012-09-05 19:09:11 +02:00
Bram Moolenaar
231e1a1723
updated for version 7.3.654
...
Problem: When creating a Vim dictionary from Python objects an empty key
might be used.
Solution: Do not use empty keys, throw an IndexError. (ZyX)
2012-09-05 18:45:28 +02:00
Bram Moolenaar
ac0ddc15e9
updated for version 7.3.652
...
Problem: Workaround for Python crash isn't perfect.
Solution: Change the type of the length argument. (Sean Estabrooks)
2012-09-05 17:28:21 +02:00
Bram Moolenaar
c1a995db49
updated for version 7.3.626
...
Problem: Python interface doesn't build with Python 2.4 or older.
Solution: Define Py_ssize_t. (Benjamin Bannier)
2012-08-08 16:05:07 +02:00
Bram Moolenaar
9581b5f70e
updated for version 7.3.611
...
Problem: Can't use Vim dictionary as self argument in Python.
Solution: Fix the check for the "self" argument. (ZyX)
2012-07-25 15:36:04 +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
3cd3e7ab17
updated for version 7.3.580
...
Problem: Warning on 64 bit MS-Windows.
Solution: Add type cast. (Mike Williams)
2012-06-29 17:52:02 +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
f27839c1a9
updated for version 7.3.578
...
Problem: Misplaced declaration.
Solution: Move declaration to start of block.
2012-06-29 16:19:50 +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
b830f0c7df
updated for version 7.3.497
...
Problem: Crash when doing ":python print" and compiled with gcc and
the optimizer enabled.
Solution: Avoid the crash, doesn't really fix the problem. (Christian
Brabandt)
2012-04-20 13:31:21 +02:00
Bram Moolenaar
7f85d297dc
updated for version 7.3.422
...
Problem: Python 3 does not have __members__.
Solution: Add "name" and "number" in another way. (lilydjwg)
2012-02-04 20:17:26 +01:00
Bram Moolenaar
275648066d
updated for version 7.3.300
...
Problem: Python doesn't parse multi-byte argument correctly.
Solution: Use "t" instead of "s". (lilydjwg)
2011-09-07 19:30:21 +02:00
Bram Moolenaar
03a807aaf4
updated for version 7.3.239
...
Problem: Python corrects the cursor column without taking 'virtualedit'
into account. (lilydjwg)
Solution: Call check_cursor_col_win().
2011-07-07 15:08:58 +02:00
Bram Moolenaar
91805fc0db
updated for version 7.3.232
...
Problem: Python doesn't compile without +multi_byte
Solution: Use "latin1" when MULTI_BYTE is not defined.
2011-06-26 04:01:44 +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
a29a37d533
updated for version 7.3.142
...
Problem: Python stdout doesn't have a flush() method, causing an import to
fail.
Solution: Add a dummy flush() method. (Tobias Columbus)
2011-03-22 15:47:44 +01:00
Bram Moolenaar
6b5ef067a5
updated for version 7.3.037
...
Problem: Compiler warnings for loss of data. (Mike Williams)
Solution: Add type casts.
2010-10-27 12:18:00 +02:00
Bram Moolenaar
2eea198564
updated for version 7.3.007
...
Problem: Python code defines global "buffer". Re-implements a grow-array.
Solution: Use a grow-array instead of coding the same functionality. Handle
out-of-memory situation properly.
2010-09-21 16:49:37 +02:00