summaryrefslogtreecommitdiff
path: root/src/if_py_both.h
Commit message (Collapse)AuthorAgeFilesLines
* updated for version 7.3.1124v7.3.1124Bram Moolenaar2013-06-051-0/+2
| | | | | Problem: Python: Crash on MS-Windows when os.fchdir() is not available. Solution: Check for _chdir to be NULL. (Ken Takata)
* updated for version 7.3.1108v7.3.1108Bram Moolenaar2013-06-031-0/+2
| | | | | Problem: Error message for os.fchdir() (Charles Peacech) Solution: Clear the error. (ZyX)
* updated for version 7.3.1100v7.3.1100Bram Moolenaar2013-06-021-3/+5
| | | | | Problem: Python: a few more memory problems. Solution: Add and remove Py_XDECREF(). (ZyX)
* updated for version 7.3.1099v7.3.1099Bram Moolenaar2013-06-021-7/+102
| | | | | | Problem: Python: Changing directory with os.chdir() causes problems for Vim's notion of directories. Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
* updated for version 7.3.1098v7.3.1098Bram Moolenaar2013-06-021-0/+8
| | | | | Problem: Python: Possible memory leaks Solution: Add Py_XDECREF() calls. (ZyX)
* updated for version 7.3.1096v7.3.1096Bram Moolenaar2013-06-021-17/+29
| | | | | Problem: Python: popitem() was not defined in a standard way. Solution: Remove the argument from popitem(). (ZyX)
* updated for version 7.3.1081v7.3.1081Bram Moolenaar2013-05-311-1/+1
| | | | | Problem: Compiler warnings on 64-bit Windows. Solution: Change variable types. (Mike Williams)
* updated for version 7.3.1077v7.3.1077Bram Moolenaar2013-05-301-43/+52
| | | | | Problem: Python: Allocating dict the wrong way, causing a crash. Solution: Use py_dict_alloc(). Fix some exception problems. (ZyX)
* updated for version 7.3.1074v7.3.1074Bram Moolenaar2013-05-301-1/+1
| | | | | Problem: Compiler warning for printf format. (Manuel Ortega) Solution: Add type casts.
* updated for version 7.3.1070v7.3.1070Bram Moolenaar2013-05-301-12/+0
| | | | | Problem: Vim crashes in Python tests. Compiler warning for unused function. Solution: Disable the tests for now. Move the function.
* updated for version 7.3.1069v7.3.1069Bram Moolenaar2013-05-301-20/+28
| | | | | Problem: Python: memory leaks. Solution: Python patch 28: Purge out DICTKEY_CHECK_EMPTY macros. (ZyX)
* updated for version 7.3.1068v7.3.1068Bram Moolenaar2013-05-301-11/+5
| | | | | Problem: Python: Script is auto-loaded on function creation. Solution: Python patch 27. (ZyX)
* updated for version 7.3.1065v7.3.1065Bram Moolenaar2013-05-301-33/+28
| | | | | Problem: Python: key mapping is not standard. Solution: Puthon patch 24: use PyMapping_Keys. (ZyX)
* updated for version 7.3.1064v7.3.1064Bram Moolenaar2013-05-301-12/+19
| | | | | Problem: Python: insufficient error checking. Solution: Python patch 23. (ZyX)
* updated for version 7.3.1063v7.3.1063Bram Moolenaar2013-05-301-12/+56
| | | | | Problem: Python: Function is not standard. Solution: Python patch 22: make Function subclassable. (ZyX)
* updated for version 7.3.1062v7.3.1062Bram Moolenaar2013-05-301-118/+110
| | | | | Problem: Python: List is not standard. Solution: Python patch 21: Add standard methods and fields. (ZyX)
* updated for version 7.3.1061v7.3.1061Bram Moolenaar2013-05-301-31/+501
| | | | | Problem: Python: Dictionary is not standard. Solution: Python patch 20: Add standard methods and fields. (ZyX)
* updated for version 7.3.1060v7.3.1060Bram Moolenaar2013-05-301-0/+7
| | | | | Problem: Python: can't repr() a function. Solution: Python patch 19: add FunctionRepr(). (ZyX)
* updated for version 7.3.1059v7.3.1059Bram Moolenaar2013-05-301-53/+14
| | | | | Problem: Python: Using fixed size buffers. Solution: Python patch 18: Use python's own formatter. (ZyX)
* updated for version 7.3.1057v7.3.1057Bram Moolenaar2013-05-301-17/+16
| | | | | | Problem: Python: not enough compatibilty. Solution: Python patch 16: Make OutputWritelines support any sequence object (ZyX) Note: tests fail
* updated for version 7.3.1056v7.3.1056Bram Moolenaar2013-05-301-43/+95
| | | | | Problem: Python: possible memory leaks. Solution: Python patch 15. (ZyX) Fix will follow later.
* updated for version 7.3.1053v7.3.1053Bram Moolenaar2013-05-291-4/+4
| | | | | Problem: Python: no flag for types with tp_traverse+tp_clear. Solution: Python patch 14: Add Py_TPFLAGS_HAVE_GC. (ZyX)
* updated for version 7.3.1052v7.3.1052Bram Moolenaar2013-05-291-0/+1
| | | | | Problem: Python: possible SEGV and negative refcount. Solution: Python patch 13: Fix IterIter function. (ZyX)
* updated for version 7.3.1051v7.3.1051Bram Moolenaar2013-05-291-21/+39
| | | | | Problem: Python: possible memory leaks. Solution: Python patch 12: fix the leaks (ZyX)
* updated for version 7.3.1050v7.3.1050Bram Moolenaar2013-05-291-1/+1
| | | | | Problem: Python: Typo in pyiter_to_tv. Solution: Python patch 11. (ZyX)
* updated for version 7.3.1049v7.3.1049Bram Moolenaar2013-05-291-15/+12
| | | | | Problem: Python: no consistent naming Solution: Python patch 10: Rename DICTKEY_GET_NOTEMPTY to DICTKEY_GET. (ZyX)
* updated for version 7.3.1048v7.3.1048Bram Moolenaar2013-05-291-43/+44
| | | | | | Problem: Python: no consistent naming. Solution: Python patch 9: Rename d to dict and lookupDict to lookup_dict. (ZyX)
* updated for version 7.3.1047v7.3.1047Bram Moolenaar2013-05-291-26/+190
| | | | | | | | Problem: Python: dir() does not work properly. Solution: Python patch 8. Add __dir__ method to all objects with custom tp_getattr supplemented by __members__ attribute for at least python-2* versions. __members__ is not mentioned in python-3* dir() output even if it is accessible. (ZyX)
* updated for version 7.3.1046v7.3.1046Bram Moolenaar2013-05-291-4/+5
| | | | | | Problem: Python: Using Py_BuildValue for building strings. Solution: Python patch 7 and 7.5: Replace Py_BuildValue with PyString_FromString. (ZyX)
* updated for version 7.3.1045v7.3.1045Bram Moolenaar2013-05-291-23/+51
| | | | | Problem: Python: No error handling for VimToPython function. Solution: Python patch 6. (ZyX)
* updated for version 7.3.1044v7.3.1044Bram Moolenaar2013-05-291-3/+43
| | | | | Problem: Python: No {Buffer,TabPage,Window}.valid attributes. Solution: Python patch 5: add .valid (ZyX)
* updated for version 7.3.1042v7.3.1042Bram Moolenaar2013-05-291-54/+119
| | | | | Problem: Python: can't assign to vim.Buffer.name. Solution: Python patch 3. (ZyX)
* updated for version 7.3.1041v7.3.1041Bram Moolenaar2013-05-291-5/+27
| | | | | | Problem: Python: Invalid read valgrind errors. Solution: Python patch 2: defer DICTKEY_UNREF until key is no longer needed. (ZyX)
* updated for version 7.3.1035v7.3.1035Bram Moolenaar2013-05-281-1/+1
| | | | | Problem: Compiler warning on 64 bit windows. Solution: Add type cast. (Mike Williams)
* updated for version 7.3.1009v7.3.1009Bram Moolenaar2013-05-241-0/+2
| | | | | Problem: Compiler warning for ambiguous else. Solution: Add curly braces.
* updated for version 7.3.1004v7.3.1004Bram Moolenaar2013-05-211-3/+30
| | | | | Problem: No error when option could not be set. Solution: Report an error. (ZyX)
* updated for version 7.3.1003v7.3.1003Bram Moolenaar2013-05-211-4/+30
| | | | | Problem: Python interface does not compile with Python 2.2 Solution: Fix thread issues and True/False. (ZyX)
* updated for version 7.3.1002v7.3.1002Bram Moolenaar2013-05-211-10/+19
| | | | | Problem: Valgrind errors for Python interface. Solution: Fix memory leaks when running tests. (ZyX)
* updated for version 7.3.998v7.3.998Bram Moolenaar2013-05-211-28/+47
| | | | | | | | 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)
* updated for version 7.3.997v7.3.997Bram Moolenaar2013-05-211-30/+81
| | | | | Problem: Vim and Python exceptions are different. Solution: Make Vim exceptions be Python exceptions. (ZyX)
* updated for version 7.3.996v7.3.996Bram Moolenaar2013-05-211-0/+9
| | | | | Problem: Python: Can't check types of what is returned by bindeval(). Solution: Add vim.List, vim.Dictionary and vim.Function types. (ZyX)
* updated for version 7.3.995v7.3.995Bram Moolenaar2013-05-211-0/+112
| | | | | Problem: Python: Module initialization is duplicated. Solution: Move to shared file. (ZyX)
* updated for version 7.3.994v7.3.994Bram Moolenaar2013-05-211-27/+27
| | | | | Problem: Python: using magic constants. Solution: Use descriptive values for ml_flags. (ZyX)
* updated for version 7.3.993v7.3.993Bram Moolenaar2013-05-211-27/+27
| | | | | Problem: Python: Later patch does things slightly differently. Solution: Adjusted argument type changes. (ZyX)
* updated for version 7.3.992v7.3.992Bram Moolenaar2013-05-211-296/+257
| | | | | Problem: Python: Too many type casts. Solution: Change argument types. (ZyX)
* updated for version 7.3.991v7.3.991Bram Moolenaar2013-05-211-1/+126
| | | | | Problem: More can be shared by Python 2 and 3. Solution: Move more stuff to if_py_both. (ZyX)
* updated for version 7.3.967v7.3.967Bram Moolenaar2013-05-171-7/+11
| | | | | Problem: Build fails on Mac OSX. (Greg Novack) Solution: Undefine clear().
* updated for version 7.3.966v7.3.966Bram Moolenaar2013-05-171-0/+1
| | | | | Problem: There is ":py3do" but no ":pydo". Solution: Add the ":pydo" command. (Lilydjwg)
* updated for version 7.3.965v7.3.965Bram Moolenaar2013-05-171-36/+114
| | | | | Problem: Python garbage collection not working properly. Solution: Add support for garbage collection. (ZyX)
* updated for version 7.3.964v7.3.964Bram Moolenaar2013-05-171-28/+47
| | | | | | Problem: Python: not so easy to access tab pages. Solution: Add window.tabpage, make window.number work with non-current tab pages. (ZyX)