- 02 Agu, 2002 1 kayıt (commit)
-
-
Mark Hammond yazdı
for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
-
- 13 Haz, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 11 Haz, 2002 1 kayıt (commit)
-
-
Skip Montanaro yazdı
also call using_history() to properly initialize history variables
-
- 30 May, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
readline in all python versions is configured to append a 'space' character for a successful completion. But for almost all python expressions 'space' is not wanted (see coding conventions PEP 8). For example if you have a function 'longfunction' and you type 'longf<TAB>' you get 'longfunction ' as a completion. note the unwanted space at the end. The patch fixes this behaviour by setting readline's append_character to '\0' which means don't append anything. This doesn't work with readline < 2.1 (AFAIK nowadays readline2.2 is in good use). An alternative approach would be to make the append_character accessable from python so that modules like the rlcompleter.py can set it to '\0'. [Ed.: I think expecting readline >= 2.2 is fine. If a completer wants another character they can append that to the keyword in the list.]
-
- 21 Nis, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 31 Mar, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 25 Mar, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 24 Mar, 2002 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
Clarify the docstring for get_history_length. Closes SF patch 494066.
-
- 03 Mar, 2002 1 kayıt (commit)
-
-
Andrew MacIntyre yazdı
Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c
-
- 13 Şub, 2002 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
[ #513235 ] prevent readline filename completion
-
- 12 Ock, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 28 Kas, 2001 2 kayıt (commit)
-
-
Tim Peters yazdı
Also changed <>-style #includes to ""-style in some places where the former didn't make sense.
-
Marc-André Lemburg yazdı
-
- 19 Eki, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This was submitted by Moshe, but apparently he's too busy to check it in himself. He wrote: Here is a function in GNU readline called add_history, which is used to manage the history list. Though Python uses this function internally, it does not expose it to the Python programmer. This patch adds direct interface to this function with documentation. This could be used by friendly modules to "seed" the history with commands.
-
- 30 Eyl, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 01 Agu, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
Thanks to Nathaniel Gray for reporting the confusion.
-
- 10 Tem, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This patch allows the readline module to build cleanly with GNU readline 4.2 without breaking the build for earlier GNU readline versions. The configure script checks for the presence of rl_completion_matches in libreadline.
-
- 13 Nis, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
always: - #undef HAVE_CONFIG_H (because otherwise chardefs.h tries to include strings.h) - #include readline.h and history.h and we never declare any readline function prototypes ourselves. This makes it compile with readline 4.2, albeit with a few warnings. Some of the remaining warnings are about completion_matches(), which is renamed to rl_completion_matches(). I've tested it with various other versions, from 2.0 up, and they all seem to work (some with warnings) -- but only on Red Hat Linux 6.2. Fixing the warnings for readline 4.2 would break compatibility with 3.0 (and maybe even earlier versions), and readline doesn't seem to have a way to test for its version at compile time, so I'd rather leave the warnings in than break compilation with older versions.
-
- 10 Ock, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
under CYGWIN as shared libraries (DLLs).
-
- 02 Eki, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
readline doesn't have it before readline 2.2 and there's no compile-time way to find out which readline version is in use. Sigh. GNU readline sucks.
-
- 20 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 16 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This fixes the first half of bug #110611: the immediate exit when ^C is hit when readline and threads are configured. Also added a new module variable, readline.library_version.
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 31 Agu, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Remove some of GCC's warning in -Wstrict-prototypes mode. This closes SourceForge patch #101342.
-
- 04 Agu, 2000 1 kayıt (commit)
-
-
Moshe Zadka yazdı
-
- 03 Agu, 2000 2 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
- 23 Tem, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
handlers "return void", according to ANSI C. Removed the new Py_RETURN_FROM_SIGNAL_HANDLER macro. Left RETSIGTYPE in the config stuff, because it's not clear to me that others aren't relying on it (e.g., extension modules).
-
- 22 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
return something if RETSIGTYPE is not void, in functions that are defined as returning RETSIGTYPE.
-
- 21 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
-
- 19 Tem, 2000 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 10 Tem, 2000 1 kayıt (commit)
-
-
Peter Schneider-Kamp yazdı
-
- 09 Tem, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 06 Tem, 2000 1 kayıt (commit)
-
-
Skip Montanaro yazdı
XXX should perhaps support history truncation as well
-
- 28 Haz, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 03 May, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
-
- 29 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
PyArg_ParseTuple() format string arguments as possible.
-
- 18 Kas, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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
-
- 29 Ock, 1999 1 kayıt (commit)
-
-
Barry Warsaw yazdı
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*.
-
- 27 Ock, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-