summaryrefslogtreecommitdiff
path: root/src/if_python3.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-1/+1
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* patch 7.4.1065v7.4.1065Bram Moolenaar2016-01-091-6/+1
| | | | | | Problem: Cannot use the "dll" options on MS-Windows. Solution: Support the options on all platforms. Use the built-in name as the default, so that it's clear what Vim is looking for.
* patch 7.4.1012v7.4.1012Bram Moolenaar2015-12-311-1/+4
| | | | | | Problem: Vim overwrites the value of $PYTHONHOME. Solution: Do not set $PYTHONHOME if it is already set. (Kazuki Sakamoto, closes #500)
* patch 7.4.907v7.4.907Bram Moolenaar2015-11-021-1/+6
| | | | | | | Problem: Libraries for dynamically loading interfaces can only be defined at compile time. Solution: Add options to specify the dll names. (Kazuki Sakamoto, closes #452)
* patch 7.4.890v7.4.890Bram Moolenaar2015-10-071-1/+1
| | | | | Problem: Build failure when using dynamic python but not python3. Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX.
* updated for version 7.4.611v7.4.611Bram Moolenaar2015-02-031-1/+1
| | | | | Problem: Syntax error. Solution: Change statement to return.
* updated for version 7.4.609v7.4.609Bram Moolenaar2015-02-031-2/+2
| | | | | | | Problem: For complicated list and dict use the garbage collector can run out of stack space. Solution: Use a stack of dicts and lists to be marked, thus making it iterative instead of recursive. (Ben Fritz)
* updated for version 7.4.228v7.4.228Bram Moolenaar2014-03-301-5/+15
| | | | | Problem: Compiler warnings when building with Python 3.2. Solution: Make type cast depend on Python version. (Ken Takata)
* updated for version 7.4.153v7.4.153Bram Moolenaar2014-01-141-5/+5
| | | | | Problem: Compiler warning for pointer type. Solution: Add type cast.
* updated for version 7.4.151v7.4.151Bram Moolenaar2014-01-141-71/+5
| | | | | Problem: Python: slices with steps are not supported. Solution: Support slices in Python vim.List. (ZyX)
* updated for version 7.4.060v7.4.060Bram Moolenaar2013-11-031-1/+1
| | | | | Problem: Declaration has wrong return type for PyObject_SetAttrString(). Solution: Use int instead of PyObject. (Andreas Schwab)
* updated for version 7.4a.008v7.4a.008Bram Moolenaar2013-07-091-1/+2
| | | | | | | Problem: Python 3 doesn't handle multibyte characters prooperly when 'encoding' is not utf-8. Solution: Use PyUnicode_Decode() instead of PyUnicode_FromString(). (Ken Takata)
* updated for version 7.3.1299v7.3.1299Bram Moolenaar2013-07-031-4/+12
| | | | | | Problem: Errors when doing "make proto". Didn't do "make depend" for a while. Solution: Add #ifdefs. Update dependencies. Update proto files.
* updated for version 7.3.1287v7.3.1287Bram Moolenaar2013-07-011-1/+4
| | | | | | Problem: Python SystemExit exception is not handled properly. Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken Takata)
* updated for version 7.3.1236v7.3.1236Bram Moolenaar2013-06-231-1/+1
| | | | | Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED. Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
* updated for version 7.3.1231v7.3.1231Bram Moolenaar2013-06-231-0/+13
| | | | | Problem: Python: use of numbers not consistent. Solution: Add support for Number protocol. (ZyX)
* updated for version 7.3.1230v7.3.1230Bram Moolenaar2013-06-231-6/+9
| | | | | Problem: Python: Exception messages are not clear. Solution: Make exception messages more verbose. (ZyX)
* updated for version 7.3.1229v7.3.1229Bram Moolenaar2013-06-231-6/+6
| | | | | | Problem: Python: not so easy to delete/restore translating. Solution: Make macros do translation of exception messages. (ZyX) Note: this breaks translations!
* updated for version 7.3.1228v7.3.1228Bram Moolenaar2013-06-231-6/+1
| | | | | | | 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)
* updated for version 7.3.1186v7.3.1186Bram Moolenaar2013-06-131-6/+1
| | | | | Problem: Python 3: test 87 may crash. Solution: Use _PyArg_Parse_SizeT instead of PyArg_Parse. (Jun Takimoto)
* updated for version 7.3.1174v7.3.1174Bram Moolenaar2013-06-121-63/+3
| | | | | Problem: Python 2 and 3 use different ways to load modules. Solution: Use the same method. (ZyX)
* updated for version 7.3.1163v7.3.1163Bram Moolenaar2013-06-101-7/+85
| | | | | | Problem: Not easy to load Python modules. Solution: Search "python2", "python3" and "pythonx" directories in 'runtimepath' for Python modules. (ZyX)
* updated for version 7.3.1158v7.3.1158Bram Moolenaar2013-06-101-6/+5
| | | | | Problem: Crash when running test 86. (Jun Takimoto) Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
* updated for version 7.3.1099v7.3.1099Bram Moolenaar2013-06-021-1/+4
| | | | | | 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.1065v7.3.1065Bram Moolenaar2013-05-301-3/+6
| | | | | Problem: Python: key mapping is not standard. Solution: Puthon patch 24: use PyMapping_Keys. (ZyX)
* updated for version 7.3.1061v7.3.1061Bram Moolenaar2013-05-301-0/+7
| | | | | Problem: Python: Dictionary is not standard. Solution: Python patch 20: Add standard methods and fields. (ZyX)
* updated for version 7.3.1059v7.3.1059Bram Moolenaar2013-05-301-0/+29
| | | | | Problem: Python: Using fixed size buffers. Solution: Python patch 18: Use python's own formatter. (ZyX)
* updated for version 7.3.1047v7.3.1047Bram Moolenaar2013-05-291-10/+4
| | | | | | | | 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.1044v7.3.1044Bram Moolenaar2013-05-291-3/+13
| | | | | 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-26/+9
| | | | | Problem: Python: can't assign to vim.Buffer.name. Solution: Python patch 3. (ZyX)
* updated for version 7.3.1040v7.3.1040Bram Moolenaar2013-05-291-12/+29
| | | | | Problem: Python: Problems with debugging dynamic build. Solution: Python patch 1. (ZyX)
* updated for version 7.3.1003v7.3.1003Bram Moolenaar2013-05-211-0/+2
| | | | | Problem: Python interface does not compile with Python 2.2 Solution: Fix thread issues and True/False. (ZyX)
* updated for version 7.3.998v7.3.998Bram Moolenaar2013-05-211-1/+10
| | | | | | | | 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.995v7.3.995Bram Moolenaar2013-05-211-76/+6
| | | | | Problem: Python: Module initialization is duplicated. Solution: Move to shared file. (ZyX)
* updated for version 7.3.994v7.3.994Bram Moolenaar2013-05-211-2/+2
| | | | | Problem: Python: using magic constants. Solution: Use descriptive values for ml_flags. (ZyX)
* updated for version 7.3.993v7.3.993Bram Moolenaar2013-05-211-2/+2
| | | | | 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-37/+26
| | | | | Problem: Python: Too many type casts. Solution: Change argument types. (ZyX)
* updated for version 7.3.991v7.3.991Bram Moolenaar2013-05-211-129/+20
| | | | | Problem: More can be shared by Python 2 and 3. Solution: Move more stuff to if_py_both. (ZyX)
* updated for version 7.3.966v7.3.966Bram Moolenaar2013-05-171-1/+0
| | | | | Problem: There is ":py3do" but no ":pydo". Solution: Add the ":pydo" command. (Lilydjwg)
* updated for version 7.3.964v7.3.964Bram Moolenaar2013-05-171-3/+0
| | | | | | Problem: Python: not so easy to access tab pages. Solution: Add window.tabpage, make window.number work with non-current tab pages. (ZyX)
* updated for version 7.3.959v7.3.959Bram Moolenaar2013-05-151-3/+3
| | | | | Problem: Missing error number. Solution: Assign an error number.
* updated for version 7.3.957v7.3.957Bram Moolenaar2013-05-151-1/+112
| | | | | Problem: Python does not have a "do" command like Perl or Lua. Solution: Add the ":py3do" command. (Lilydjwg)
* updated for version 7.3.956v7.3.956Bram Moolenaar2013-05-151-3/+2
| | | | | Problem: Python vim.bindeval() causes SIGABRT. Solution: Make pygilstate a local variable. (Yukihiro Nakadaira)
* updated for version 7.3.953v7.3.953Bram Moolenaar2013-05-151-1/+1
| | | | | Problem: Python: string exceptions are deprecated. Solution: Make vim.error an Exception subclass. (ZyX)
* updated for version 7.3.951v7.3.951Bram Moolenaar2013-05-151-6/+10
| | | | | | | | 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)
* updated for version 7.3.950v7.3.950Bram Moolenaar2013-05-151-0/+3
| | | | | Problem: Python: Stack trace printer can't handle messages. Solution: Make KeyErrors use PyErr_SetObject. (ZyX)
* updated for version 7.3.949v7.3.949Bram Moolenaar2013-05-151-0/+59
| | | | | Problem: Python: no easy access to tabpages. Solution: Add vim.tabpages and vim.current.tabpage. (ZyX)
* updated for version 7.3.948v7.3.948Bram Moolenaar2013-05-151-0/+3
| | | | | | Problem: Cannot build with Python 2.2 Solution: Make Python interface work with Python 2.2 Make 2.2 the first supported version. (ZyX)
* updated for version 7.3.947v7.3.947Bram Moolenaar2013-05-151-0/+1
| | | | | | 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)
* updated for version 7.3.945v7.3.945Bram Moolenaar2013-05-151-21/+5
| | | | | Problem: Python: List of buffers is not very useful. Solution: Make vim.buffers a map. No iterator yet. (ZyX)