| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
does crash on Mac OS X which uses libedit instead of readline.
|
|
|
|
|
|
| |
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence
is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.
|
|\ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| | |
readline() takes a const char* and the other readline_until_enter_or_signal() implementation
already has const char*.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
emulation has changed from 0-based indexing to 1-based like gnu readline.
Original patch by Ronald Oussoren.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The GIL must be held to call PyMem_Malloc(), whereas PyOS_Readline() releases
the GIL to read input.
The result of the C callback PyOS_ReadlineFunctionPointer must now be a string
allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an error
occurred), instead of a string allocated by PyMem_Malloc() or PyMem_Realloc().
Fixing this issue was required to setup a hook on PyMem_Malloc(), for example
using the tracemalloc module.
PyOS_Readline() copies the result of PyOS_ReadlineFunctionPointer() into a new
buffer allocated by PyMem_Malloc(). So the public API of PyOS_Readline() does
not change.
|
| |
| |
| |
| |
| | |
emulation has changed from 0-based indexing to 1-based like gnu readline.
Original patch by Ronald Oussoren.
|
| |
| |
| |
| |
| |
| | |
initialization, so as to reclaim allocated resources (Python callbacks) at shutdown.
Original patch by Robin Schreiber.
|
| |
| |
| |
| |
| | |
Replace malloc() with PyMem_Malloc() when the GIL is held, or with
PyMem_RawMalloc() otherwise.
|
|\ \
| |/
| |
| |
| |
| | |
applications changing the rl_completer_word_break_characters global variable.
Initial patch by Bradley Froehle.
|
| |
| |
| |
| |
| |
| | |
applications changing the rl_completer_word_break_characters global variable.
Initial patch by Bradley Froehle.
|
|\ \
| |/
| |
| | |
readline use.
|
| |\
| | |
| | |
| | | |
readline use.
|
| | |
| | |
| | |
| | | |
readline use.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
|
| |\ \
| | |/
| | |
| | |
| | | |
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
|
| | |
| | |
| | |
| | |
| | | |
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
|
|/ / |
|
|\ \
| |/
| |
| |
| |
| | |
overwrite it.
Original patch by Hallvard B Furuseth.
|
| |
| |
| |
| |
| |
| | |
overwrite it.
Original patch by Hallvard B Furuseth.
|
|/
|
|
|
| |
PyOS_snprintf() to avoid temporary buffer allocated on the stack and a
conversion from bytes to Unicode.
|
|
|
|
|
|
|
|
|
|
| |
editline rl_initialize apparently discards any mappings done before it
is called, which makes tab revert to file completion instead of inserting
a tab. So now on OSX we call rl_initialize first if we are using
readline, and then re-read the users .editrc (if any) afterward so they
can still override our defaults.
Patch by Ned Deily, modified by Ronald Oussoren.
|
| |
|
| |
|
|
|
|
|
|
|
| |
variable the return value is assigned to is char *. Since the assigned-to
variable is never changed, simply make that a const char * and cast all calls
to get_history to const char * to silence the compiler warning (found with
LLVM).
|
|
|
|
| |
the result of a call to history_get_history_state.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78148 | ronald.oussoren | 2010-02-11 14:13:08 +0100 (Thu, 11 Feb 2010) | 3 lines
Add guard around the prototype for completion_matches to enable
compilition with libedit on OSX 10.5
........
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines
Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
Reported by Mark D.
........
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75531 | antoine.pitrou | 2009-10-19 20:17:18 +0200 (lun., 19 oct. 2009) | 4 lines
Issue #5833: Fix extra space character in readline completion with the
GNU readline library version 6.0.
........
r75532 | antoine.pitrou | 2009-10-19 20:20:21 +0200 (lun., 19 oct. 2009) | 3 lines
NEWS entry for r75531.
........
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74970 | ronald.oussoren | 2009-09-20 16:18:15 +0200 (Sun, 20 Sep 2009) | 7 lines
Issue 6877: this patch makes it possible to link the readline extension
to the libedit emulation of the readline API on OSX 10.5 or later.
This also adds a minimal testsuite for readline to check that the
history manipuation functions have the same interface with both
C libraries.
........
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71229 | matthias.klose | 2009-04-05 14:43:08 +0200 (So, 05 Apr 2009) | 3 lines
- Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings.
(avoiding brown paper typo this time)
........
r71271 | matthias.klose | 2009-04-05 23:19:13 +0200 (So, 05 Apr 2009) | 3 lines
Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)'
to avoid compiler warnings.
........
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67098 | martin.v.loewis | 2008-11-04 21:40:09 +0100 (Di, 04 Nov 2008) | 2 lines
Issue #4204: Fixed module build errors on FreeBSD 4.
........
|
|
|
|
|
|
|
|
|
| |
PyUnicode_AsStringAndSize -> _PyUnicode_AsStringAndSize to mark
them for interpreter internal use only.
We'll have to rework these APIs or create new ones for the
purpose of accessing the UTF-8 representation of Unicode objects
for 3.1.
|
| |
|
|
|
|
| |
in intobject.h
|