Age | Commit message (Collapse) | Author |
|
Problem: Get ml_get error when using Python to delete lines in a buffer
that is not in a window. issue 248.
Solution: Do not try adjusting the cursor for a different buffer.
|
|
Problem: list_remove() conflicts with function defined in Sun header file.
Solution: Rename the function. (Richard Palo)
|
|
Problem: Compiler warnings when building with Python 3.2.
Solution: Make type cast depend on Python version. (Ken Takata)
|
|
Problem: Typos in messages.
Solution: "then" -> "than". (Dominique Pelle)
|
|
Problem: Older Python versions don't support %ld.
Solution: Use %d instead. (ZyX)
|
|
Problem: Warning for type-punned pointer. (Tony Mechelynck)
Solution: Use intermediate variable.
|
|
Problem: Dictionary.update() thows an error when used without arguments.
Python programmers don't expect that.
Solution: Make Dictionary.update() without arguments do nothing. (ZyX)
|
|
Problem: Compiler warnings for Python interface. (Tony Mechelynck)
Solution: Add type casts, initialize variable.
|
|
Problem: Crash in Python exception handling.
Solution: Only use exception variables if did_throw is set. (ZyX)
|
|
Problem: Compiler warning for pointer type.
Solution: Add type cast.
|
|
Problem: Python: Cannot iterate over options.
Solution: Add options iterator. (ZyX)
|
|
Problem: Python: slices with steps are not supported.
Solution: Support slices in Python vim.List. (ZyX)
|
|
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)
|
|
Problem: Memory leak in Python OptionsAssItem. (Ken Takata)
Solution: Call Py_XDECREF() where needed. (ZyX)
|
|
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)
|
|
Problem: Python: interrupt not being properly discarded. (Yggdroot Chen)
Solution: Discard interrupt in VimTryEnd. (ZyX)
|
|
Problem: Crash when using invalid key in Python dictionary.
Solution: Check for object to be NULL. Add tests. (ZyX)
|
|
Problem: More ml_get errors when adding or deleting lines from Python.
(Vlad Irnov)
Solution: Switch to a window with the buffer when possible.
|
|
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.
|
|
Problem: Compiler warnings for function prototypes.
Solution: Add "void". Move list_features() prototype. (Ken Takata)
|
|
Problem: Not giving correct error messages for SystemExit().
Solution: Move E858 into an else. (Ken Takata)
|
|
Problem: Python SystemExit exception is not handled properly.
Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken
Takata)
|
|
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)
|
|
Problem: Can't build with Python and MSVC10.
Solution: Move #if outside of macro. (Taro Muraoka)
|
|
Problem: Python: non-import errors not handled correctly.
Solution: Let non-ImportError exceptions pass the finder. (ZyX)
|
|
Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED.
Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
|
|
Problem: Python: Strings are not marked for translation.
Solution: Add N_() where appropriate. (ZyX)
|
|
Problem: Various Python problems.
Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory
leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
|
|
Problem: Python: inconsistencies in variable names.
Solution: Rename variables. (ZyX)
|
|
Problem: Python: use of numbers not consistent.
Solution: Add support for Number protocol. (ZyX)
|
|
Problem: Python: Exception messages are not clear.
Solution: Make exception messages more verbose. (ZyX)
|
|
Problem: Python: not so easy to delete/restore translating.
Solution: Make macros do translation of exception messages. (ZyX)
Note: this breaks translations!
|
|
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)
|
|
Problem: Inconsistent string conversion.
Solution: Use 'encoding' instead of utf-8. Use METH_O in place of
METH_VARARGS where appropriate. (ZyX)
|
|
Problem: Python: duplicate code.
Solution: Share code between OutputWrite() and OutputWritelines(). (ZyX)
|
|
Problem: Inconsistent function argument declarations.
Solution: Use ANSI style.
|
|
Problem: Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito
Higashi)
Solution: Don't always use goto_tabpage_tp().
|
|
Problem: Compiler warnings on 64 bit system.
Solution: Add type casts. (Mike Williams)
|
|
Problem: Python 2 and 3 use different ways to load modules.
Solution: Use the same method. (ZyX)
|
|
Problem: Python 2: loading modules doesn't work well.
Solution: Fix the code. Add more tests. (ZyX)
|
|
Problem: Not easy to load Python modules.
Solution: Search "python2", "python3" and "pythonx" directories in
'runtimepath' for Python modules. (ZyX)
|
|
Problem: Python: Memory leaks
Solution: Add more Py_DECREF(). (ZyX)
|
|
Problem: Python: PyList_SetItem() is inefficient.
Solution: Use PyList_SET_ITEM() (ZyX)
|
|
Problem: Python: Crash on MS-Windows when os.fchdir() is not available.
Solution: Check for _chdir to be NULL. (Ken Takata)
|
|
Problem: Error message for os.fchdir() (Charles Peacech)
Solution: Clear the error. (ZyX)
|
|
Problem: Python: a few more memory problems.
Solution: Add and remove Py_XDECREF(). (ZyX)
|
|
Problem: Python: Changing directory with os.chdir() causes problems for
Vim's notion of directories.
Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
|
|
Problem: Python: Possible memory leaks
Solution: Add Py_XDECREF() calls. (ZyX)
|
|
Problem: Python: popitem() was not defined in a standard way.
Solution: Remove the argument from popitem(). (ZyX)
|
|
Problem: Compiler warnings on 64-bit Windows.
Solution: Change variable types. (Mike Williams)
|