Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | explicitly cast away constness to silence compiler warning | Benjamin Peterson | 2016-09-06 | 1 | -1/+1 |
| | |||||
* | Issue #19884: Avoid spurious output on OS X with Gnu Readline | Martin Panter | 2016-08-27 | 1 | -12/+15 |
| | | | | | Also adjust the test condition, because enable-meta-key was only added in 6.1, not 6.0. | ||||
* | Issue #16182: Fix readline begidx, endidx, and use locale encoding | Martin Panter | 2016-06-14 | 1 | -38/+94 |
| | | | | Based on patch by Serhiy Storchaka. | ||||
* | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | Issue #6953: Rearrange and expand Readline module documentation | Martin Panter | 2016-04-05 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | | | * Group functions into six new subsections * Document the underlying Readline function or variable accessed * get_history_length() returns the history file limit * clear_history() is conditionally compiled in * Clarify zero and one bases for history item indexes * parse_and_bind() uses its argument directly as an init line * Change "command line" to "line buffer" for consistency * read_init_file() also executes the file * read_history_file() replaces the previous history * write_history_file() overwrites any existing file * Differentiate history file lines from history list items, which could be multi-line * Add more information about completion, also addressing Issue #10796 * libedit (Editline) may be used on any platform; detection is OS X specific | ||||
* | Issue #23735: Avoid sighandler_t Gnu-ism | Martin Panter | 2016-04-03 | 1 | -1/+1 |
| | |||||
* | Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price | Martin Panter | 2016-04-03 | 1 | -0/+31 |
| | |||||
* | Issue #24266: Cancel history search mode with Ctrl+C in Readline 7 | Martin Panter | 2016-03-22 | 1 | -0/+3 |
| | |||||
* | Issue #15699: Reunite comment with variable | Martin Panter | 2016-03-22 | 1 | -16/+3 |
| | |||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #25203: Failed readline.set_completer_delims() no longer left the | Serhiy Storchaka | 2015-09-27 | 1 | -4/+5 |
|\ \ | |/ | | | | | module in inconsistent state. | ||||
| * | Issue #25203: Failed readline.set_completer_delims() no longer left the | Serhiy Storchaka | 2015-09-27 | 1 | -4/+5 |
| | | | | | | | | module in inconsistent state. | ||||
* | | merge 3.4 (#24058) | Benjamin Peterson | 2015-04-26 | 1 | -2/+0 |
|\ \ | |/ | |||||
| * | remove extern definition, since it's in a header file (closes #24058) | Benjamin Peterson | 2015-04-26 | 1 | -2/+0 |
| | | |||||
* | | Issue 22940: fixes to editline support | Ned Deily | 2014-11-26 | 1 | -1/+1 |
| | | |||||
* | | only support append_history if readline has it | Benjamin Peterson | 2014-11-26 | 1 | -0/+4 |
| | | |||||
* | | add readline.append_history_file (closes #22940) | Benjamin Peterson | 2014-11-26 | 1 | -0/+37 |
|/ | | | | patch by "bru" | ||||
* | Issue #22773: fix failing test with old readline versions due to issue #19884. | Antoine Pitrou | 2014-11-04 | 1 | -0/+4 |
| | |||||
* | Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off") | Victor Stinner | 2014-07-24 | 1 | -1/+5 |
| | | | | does crash on Mac OS X which uses libedit instead of readline. | ||||
* | Issue #19884: readline: Disable the meta modifier key if stdout is not a | Victor Stinner | 2014-07-24 | 1 | -0/+11 |
| | | | | | | 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. | ||||
* | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -3/+2 |
|\ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -3/+2 |
| | | |||||
* | | Issue #20374: merge | Ned Deily | 2014-02-06 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Issue #20374: delete spurious empty line | Ned Deily | 2014-02-06 | 1 | -1/+0 |
| | | |||||
* | | Issue #20374: merge | Ned Deily | 2014-02-06 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | Issue #20374: Avoid compiler warnings when compiling readline with libedit. | Ned Deily | 2014-02-06 | 1 | -0/+9 |
| | | |||||
* | | merge 3.3 (#20374) | Benjamin Peterson | 2014-01-24 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | new plan: just remove typecasts (closes #20374) | Benjamin Peterson | 2014-01-24 | 1 | -4/+4 |
| | | |||||
* | | merge 3.3 (#20374) | Benjamin Peterson | 2014-01-24 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | use new readline function types (closes #20374) | Benjamin Peterson | 2014-01-24 | 1 | -3/+3 |
| | | |||||
* | | make char* const | Christian Heimes | 2013-12-04 | 1 | -1/+1 |
| | | | | | | | | | | readline() takes a const char* and the other readline_until_enter_or_signal() implementation already has const char*. | ||||
* | | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | 2013-10-19 | 1 | -2/+2 |
| | | |||||
* | | Issue #18458: merge comments from 3.3 | Ned Deily | 2013-10-12 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #18458: Prevent crashes with newer versions of libedit. Its readline | Ned Deily | 2013-10-12 | 1 | -15/+25 |
| | | | | | | | | | | emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren. | ||||
* | | Close #16742: Fix misuse of memory allocations in PyOS_Readline() | Victor Stinner | 2013-10-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue #18458: Prevent crashes with newer versions of libedit. Its readline | Ned Deily | 2013-09-06 | 1 | -12/+22 |
| | | | | | | | | | | emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren. | ||||
* | | Issue #15699: The readline module now uses PEP 3121-style module ↵ | Antoine Pitrou | 2013-07-31 | 1 | -42/+110 |
| | | | | | | | | | | | | initialization, so as to reclaim allocated resources (Python callbacks) at shutdown. Original patch by Robin Schreiber. | ||||
* | | Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules | Victor Stinner | 2013-07-07 | 1 | -2/+2 |
| | | | | | | | | | | Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise. | ||||
* | | Issue #17289: The readline module now plays nicer with external modules or ↵ | Antoine Pitrou | 2013-05-06 | 1 | -7/+18 |
|\ \ | |/ | | | | | | | | | applications changing the rl_completer_word_break_characters global variable. Initial patch by Bradley Froehle. | ||||
| * | Issue #17289: The readline module now plays nicer with external modules or ↵ | Antoine Pitrou | 2013-05-06 | 1 | -7/+18 |
| | | | | | | | | | | | | applications changing the rl_completer_word_break_characters global variable. Initial patch by Bradley Froehle. | ||||
* | | Back out fix for issue #13886; it introduced a new bug in interactive ↵ | Nadeem Vawda | 2013-02-02 | 1 | -1/+1 |
|\ \ | |/ | | | | | readline use. | ||||
| * | Back out fix for issue #13886; it introduced a new bug in interactive ↵ | Nadeem Vawda | 2013-02-02 | 1 | -1/+1 |
| |\ | | | | | | | | | | readline use. | ||||
| | * | Back out fix for issue #13886; it introduced a new bug in interactive ↵ | Nadeem Vawda | 2013-02-02 | 1 | -1/+1 |
| | | | | | | | | | | | | readline use. | ||||
* | | | Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. | Nadeem Vawda | 2013-01-27 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported. | ||||
| * | | Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. | Nadeem Vawda | 2013-01-27 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported. | ||||
| | * | Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. | Nadeem Vawda | 2013-01-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported. | ||||
* | | | #16135: Removal of OS/2 support (Modules/*) | Jesus Cea | 2012-10-05 | 1 | -4/+0 |
|/ / | |||||
* | | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 1 | -5/+8 |
|\ \ | |/ | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
| * | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 1 | -5/+8 |
| | | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. |