summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
Commit message (Collapse)AuthorAgeFilesLines
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-5/+5
| | | | PyArg_ParseTuple() format string arguments as possible.
* Patches by Kannan Vijayan:Guido van Rossum1999-11-181-4/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | new: readline.get_begidx() -> int gets the beginning index in the command line string delimiting the tab-completion scope. This would probably be used from within a tab-completion handler readline.get_endidx() -> int gets the ending index in the command line string delimiting the tab-completion scope. This would probably be used from within a tab-compeltion handler readline.set_completer_delims(string) -> None sets the delimiters used by readline as word breakpoints for tab-completion readline.get_completer_delims() -> string gets the delimiters used by readline as word breakpoints for tab-completion fixed: readline.get_line_buffer() -> string doesnt cause a debug message every other call
* setup_readline(): Added a comment about memory leak (reported byBarry Warsaw1999-01-291-1/+5
| | | | | | | | | Purify) being caused by a bug in the readline library. Nothing we can do about it. Cause: readline_initialize_everything() throws away the return value from rl_read_init_file(), but that happens to be the last reference to a dynamically allocated char*.
* Patches by William Lewis for Nextstep descendants.Guido van Rossum1999-01-271-0/+1
|
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Bernard Herzog pointed out that rl_parse_and_bind modifies itsGuido van Rossum1998-12-041-2/+9
| | | | argument string (bad function!), so we make a temporary copy.
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-0/+9
|
* Correct bug doc string (discovered by Berthold Hoellmann):Guido van Rossum1998-05-201-1/+1
| | | | get_line_buffer() does not take an optional argument.
* Make new gcc -Wall happyGuido van Rossum1998-04-101-0/+8
|
* Add unistd.h for isatty().Guido van Rossum1998-01-191-0/+4
|
* Darn. When thread support is disabled, the BEGIN/END macros don'tGuido van Rossum1997-10-101-0/+3
| | | | | | save and restore the tstate, but explicitly calling PyEval_SaveThread() does reset it! While I think about how to fix this for real, here's a fix that avoids getting a fatal error.
* Add get_line_buffer() and insert_text(), suggested by Michael McLay.Guido van Rossum1997-10-071-0/+40
|
* Set the completer's word break characters appropriate for Python.Guido van Rossum1997-09-261-0/+4
|
* Reordered and reformatted, and added some cool new features:Guido van Rossum1997-09-261-62/+183
| | | | | | | | | | set_completer(function) parse_and_bind(string) read_init_file(filename) The first is the most exciting feature: with an appropriate Python completer function, it can do dynamic completion based on the contents of your namespace!
* Renamed Py_input_hook to PyOS_InputHook.Guido van Rossum1997-08-111-2/+2
| | | | Also cleaned out some CR's left by the VC++ editor.
* New mechanism for GNU readline interface, via moduleGuido van Rossum1997-08-051-0/+122