Bram Moolenaar
5395e7afe9
updated for version 7.4.153
...
Problem: Compiler warning for pointer type.
Solution: Add type cast.
2014-01-14 19:35:56 +01:00
Bram Moolenaar
1028f4d75e
updated for version 7.4.152
...
Problem: Python: Cannot iterate over options.
Solution: Add options iterator. (ZyX)
2014-01-14 16:55:00 +01:00
Bram Moolenaar
063a46ba77
updated for version 7.4.151
...
Problem: Python: slices with steps are not supported.
Solution: Support slices in Python vim.List. (ZyX)
2014-01-14 16:36:51 +01:00
Bram Moolenaar
78cf3f0de9
updated for version 7.4.141
...
Problem: Problems when building with Borland: st_mode is signed short;
can't build with Python; temp files not ignored by Mercurial;
building with DEBUG doesn't define _DEBUG.
Solution: Fix the problems. (Ken Takata)
2014-01-10 18:16:07 +01:00
Bram Moolenaar
c2401d62e0
updated for version 7.4.111
...
Problem: Memory leak in Python OptionsAssItem. (Ken Takata)
Solution: Call Py_XDECREF() where needed. (ZyX)
2013-12-07 14:28:43 +01:00
Bram Moolenaar
9fee7d4729
updated for version 7.4.107
...
Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the
Python code doesn't catch it. (Yggdroot Chen)
Solution: Throw exceptions on errors in vim.eval(). (ZyX)
2013-11-28 17:04:43 +01:00
Bram Moolenaar
d6b8a5253b
updated for version 7.4.084
...
Problem: Python: interrupt not being properly discarded. (Yggdroot Chen)
Solution: Discard interrupt in VimTryEnd. (ZyX)
2013-11-11 01:05:48 +01:00
Bram Moolenaar
ba2d7ffc4b
updated for version 7.4.063
...
Problem: Crash when using invalid key in Python dictionary.
Solution: Check for object to be NULL. Add tests. (ZyX)
2013-11-04 00:34:53 +01:00
Bram Moolenaar
af003f6384
updated for version 7.4a.043
...
Problem: More ml_get errors when adding or deleting lines from Python.
(Vlad Irnov)
Solution: Switch to a window with the buffer when possible.
2013-07-24 17:11:46 +02:00
Bram Moolenaar
95064ece73
updated for version 7.4a.027
...
Problem: When Python adds lines to another buffer the cursor position is
wrong, it might be below the last line causing ml_get errors.
(Vlad Irnov)
Solution: Temporarily change the current window, so that marks are corrected
properly.
2013-07-17 17:15:25 +02:00
Bram Moolenaar
fb97f28cc2
updated for version 7.4a.009
...
Problem: Compiler warnings for function prototypes.
Solution: Add "void". Move list_features() prototype. (Ken Takata)
2013-07-09 17:42:46 +02:00
Bram Moolenaar
91aeaf4cce
updated for version 7.3.1312
...
Problem: Not giving correct error messages for SystemExit().
Solution: Move E858 into an else. (Ken Takata)
2013-07-06 13:02:30 +02:00
Bram Moolenaar
4100937474
updated for version 7.3.1287
...
Problem: Python SystemExit exception is not handled properly.
Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken
Takata)
2013-07-01 22:03:04 +02:00
Bram Moolenaar
daa270289b
updated for version 7.3.1242
...
Problem: No failure when trying to use a number as a string.
Solution: Give an error when StringToLine() is called with an instance of
the wrong type. (Jun Takimoto)
2013-06-24 22:33:30 +02:00
Bram Moolenaar
c1c3d68da9
updated for version 7.3.1239
...
Problem: Can't build with Python and MSVC10.
Solution: Move #if outside of macro. (Taro Muraoka)
2013-06-24 21:21:58 +02:00
Bram Moolenaar
7e85d3d432
updated for version 7.3.1237
...
Problem: Python: non-import errors not handled correctly.
Solution: Let non-ImportError exceptions pass the finder. (ZyX)
2013-06-23 16:40:39 +02:00
Bram Moolenaar
dee2e315d7
updated for version 7.3.1236
...
Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED.
Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
2013-06-23 16:35:47 +02:00
Bram Moolenaar
6f1404f8a8
updated for version 7.3.1234
...
Problem: Python: Strings are not marked for translation.
Solution: Add N_() where appropriate. (ZyX)
2013-06-23 16:04:08 +02:00
Bram Moolenaar
841fbd2907
updated for version 7.3.1233
...
Problem: Various Python problems.
Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory
leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
2013-06-23 14:37:07 +02:00
Bram Moolenaar
c4b99e0be7
updated for version 7.3.1232
...
Problem: Python: inconsistencies in variable names.
Solution: Rename variables. (ZyX)
2013-06-23 14:30:47 +02:00
Bram Moolenaar
141be8a585
updated for version 7.3.1231
...
Problem: Python: use of numbers not consistent.
Solution: Add support for Number protocol. (ZyX)
2013-06-23 14:16:57 +02:00
Bram Moolenaar
c476e52fca
updated for version 7.3.1230
...
Problem: Python: Exception messages are not clear.
Solution: Make exception messages more verbose. (ZyX)
2013-06-23 13:46:40 +02:00
Bram Moolenaar
0bd80ccd85
updated for version 7.3.1229
...
Problem: Python: not so easy to delete/restore translating.
Solution: Make macros do translation of exception messages. (ZyX)
Note: this breaks translations!
2013-06-23 13:28:17 +02:00
Bram Moolenaar
808c2bc8bf
updated for version 7.3.1228
...
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)
2013-06-23 13:11:18 +02:00
Bram Moolenaar
389a1793f4
updated for version 7.3.1227
...
Problem: Inconsistent string conversion.
Solution: Use 'encoding' instead of utf-8. Use METH_O in place of
METH_VARARGS where appropriate. (ZyX)
2013-06-23 13:00:44 +02:00
Bram Moolenaar
6c85e7f3be
updated for version 7.3.1226
...
Problem: Python: duplicate code.
Solution: Share code between OutputWrite() and OutputWritelines(). (ZyX)
2013-06-23 12:51:32 +02:00
Bram Moolenaar
5ab9d98b9a
updated for version 7.3.1206
...
Problem: Inconsistent function argument declarations.
Solution: Use ANSI style.
2013-06-16 14:25:57 +02:00
Bram Moolenaar
d69497413f
updated for version 7.3.1204
...
Problem: Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito
Higashi)
Solution: Don't always use goto_tabpage_tp().
2013-06-16 14:18:28 +02:00
Bram Moolenaar
edb07a2d88
updated for version 7.3.1176
...
Problem: Compiler warnings on 64 bit system.
Solution: Add type casts. (Mike Williams)
2013-06-12 18:13:38 +02:00
Bram Moolenaar
81c40c507c
updated for version 7.3.1174
...
Problem: Python 2 and 3 use different ways to load modules.
Solution: Use the same method. (ZyX)
2013-06-12 14:41:04 +02:00
Bram Moolenaar
9f3685a527
updated for version 7.3.1172
...
Problem: Python 2: loading modules doesn't work well.
Solution: Fix the code. Add more tests. (ZyX)
2013-06-12 14:20:36 +02:00
Bram Moolenaar
c09a6d6c0c
updated for version 7.3.1163
...
Problem: Not easy to load Python modules.
Solution: Search "python2", "python3" and "pythonx" directories in
'runtimepath' for Python modules. (ZyX)
2013-06-10 21:27:29 +02:00
Bram Moolenaar
f9c9b32bd1
updated for version 7.3.1162
...
Problem: Python: Memory leaks
Solution: Add more Py_DECREF(). (ZyX)
2013-06-10 20:47:36 +02:00
Bram Moolenaar
c1ba10c7f6
updated for version 7.3.1161
...
Problem: Python: PyList_SetItem() is inefficient.
Solution: Use PyList_SET_ITEM() (ZyX)
2013-06-10 20:39:03 +02:00
Bram Moolenaar
d4209d203a
updated for version 7.3.1124
...
Problem: Python: Crash on MS-Windows when os.fchdir() is not available.
Solution: Check for _chdir to be NULL. (Ken Takata)
2013-06-05 20:34:15 +02:00
Bram Moolenaar
e9056b121d
updated for version 7.3.1108
...
Problem: Error message for os.fchdir() (Charles Peacech)
Solution: Clear the error. (ZyX)
2013-06-03 20:04:48 +02:00
Bram Moolenaar
78b5957439
updated for version 7.3.1100
...
Problem: Python: a few more memory problems.
Solution: Add and remove Py_XDECREF(). (ZyX)
2013-06-02 18:54:21 +02:00
Bram Moolenaar
f4258308e2
updated for version 7.3.1099
...
Problem: Python: Changing directory with os.chdir() causes problems for
Vim's notion of directories.
Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
2013-06-02 18:20:17 +02:00
Bram Moolenaar
4f2109d782
updated for version 7.3.1098
...
Problem: Python: Possible memory leaks
Solution: Add Py_XDECREF() calls. (ZyX)
2013-06-02 18:07:37 +02:00
Bram Moolenaar
de71b5658f
updated for version 7.3.1096
...
Problem: Python: popitem() was not defined in a standard way.
Solution: Remove the argument from popitem(). (ZyX)
2013-06-02 17:41:54 +02:00
Bram Moolenaar
99dc19d1cc
updated for version 7.3.1081
...
Problem: Compiler warnings on 64-bit Windows.
Solution: Change variable types. (Mike Williams)
2013-05-31 20:49:31 +02:00
Bram Moolenaar
35eacd7180
updated for version 7.3.1077
...
Problem: Python: Allocating dict the wrong way, causing a crash.
Solution: Use py_dict_alloc(). Fix some exception problems. (ZyX)
2013-05-30 22:06:33 +02:00
Bram Moolenaar
f62d942e54
updated for version 7.3.1074
...
Problem: Compiler warning for printf format. (Manuel Ortega)
Solution: Add type casts.
2013-05-30 19:01:24 +02:00
Bram Moolenaar
fdde880b02
updated for version 7.3.1070
...
Problem: Vim crashes in Python tests. Compiler warning for unused function.
Solution: Disable the tests for now. Move the function.
2013-05-30 15:38:24 +02:00
Bram Moolenaar
fc714b35c6
updated for version 7.3.1069
...
Problem: Python: memory leaks.
Solution: Python patch 28: Purge out DICTKEY_CHECK_EMPTY macros. (ZyX)
2013-05-30 14:52:37 +02:00
Bram Moolenaar
018acca3bd
updated for version 7.3.1068
...
Problem: Python: Script is auto-loaded on function creation.
Solution: Python patch 27. (ZyX)
2013-05-30 13:37:28 +02:00
Bram Moolenaar
bcb40977c3
updated for version 7.3.1065
...
Problem: Python: key mapping is not standard.
Solution: Puthon patch 24: use PyMapping_Keys. (ZyX)
2013-05-30 13:22:13 +02:00
Bram Moolenaar
494ff7e850
updated for version 7.3.1064
...
Problem: Python: insufficient error checking.
Solution: Python patch 23. (ZyX)
2013-05-30 13:17:17 +02:00
Bram Moolenaar
355fd9b468
updated for version 7.3.1063
...
Problem: Python: Function is not standard.
Solution: Python patch 22: make Function subclassable. (ZyX)
2013-05-30 13:14:13 +02:00
Bram Moolenaar
78cddbe271
updated for version 7.3.1062
...
Problem: Python: List is not standard.
Solution: Python patch 21: Add standard methods and fields. (ZyX)
2013-05-30 13:05:58 +02:00