eac40fdf723bb9af0026305c8ae6cd285fe38c50 |
|
27-Aug-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #19884: Avoid spurious output on OS X with Gnu Readline Also adjust the test condition, because enable-meta-key was only added in 6.1, not 6.0.
/external/python/cpython2/Modules/readline.c
|
b362f75f6e5d8fe21d0cda740f9dcdf1976091f7 |
|
02-Nov-2015 |
Martin Panter <vadmium+py@gmail.com> |
Issue #25523: Correct "a" article to "an" article 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 to fix the grammar.
/external/python/cpython2/Modules/readline.c
|
29241242598e7d88c2225c2bc79f13d95b25da50 |
|
22-Jun-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #22463: Correct #endif placement; patch by Senthil Kumaran
/external/python/cpython2/Modules/readline.c
|
646b528467b171148143980452d2aa4294cbe5c8 |
|
22-Jun-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #22463: Backport compiler warning fixes and workarounds * Set but unused variable in Parser/pgen.c in non-debug builds. Patch by Christian Heimes. * Unused static function in Modules/readline.c. Patch by Georg Brandl. * main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith. * Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett Cannon. * Expression result unused in PyObject_INIT macro expansions. Based on patches by Christian Heimes. * Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE redefined'. Extracted from patch by Christian Heimes.
/external/python/cpython2/Modules/readline.c
|
8d496add74530767cad3aa8b5b371b9a7f0b8498 |
|
02-Jun-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #27171: Fix typos in documentation, code comments, and tests
/external/python/cpython2/Modules/readline.c
|
aad86a6015f8d4e1e4faea07e1400152f5843443 |
|
05-Apr-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #6953: Rearrange and expand Readline module documentation * 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
/external/python/cpython2/Modules/readline.c
|
ed06e8fa50c0428a57dd4e75f9a05962db68a43e |
|
03-Apr-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #23735: Avoid sighandler_t Gnu-ism
/external/python/cpython2/Modules/readline.c
|
a70c3239a728ca5c95bd78cd3edfe566e163dfe2 |
|
03-Apr-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
/external/python/cpython2/Modules/readline.c
|
b7036114fe59de9fb72d1e5e21df25a8c884b2f6 |
|
22-Mar-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #24266: Cancel history search mode with Ctrl+C in Readline 7
/external/python/cpython2/Modules/readline.c
|
a8041ae56532863957cb07812e2a523cab6dbce3 |
|
27-Sep-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #25203: Failed readline.set_completer_delims() no longer left the module in inconsistent state.
/external/python/cpython2/Modules/readline.c
|
3a34a72e781de52d156f0316484bc712e2be4643 |
|
26-Apr-2015 |
Benjamin Peterson <benjamin@python.org> |
remove extern definition, since it's in a header file (closes #24058)
/external/python/cpython2/Modules/readline.c
|
06c14976dc5f40e92423313d5068d6a71f7765cf |
|
04-Nov-2014 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #22773: fix failing test with old readline versions due to issue #19884.
/external/python/cpython2/Modules/readline.c
|
b47b54c7f8fc804f61a36361757aa5763cbaea51 |
|
21-Aug-2014 |
Benjamin Peterson <benjamin@python.org> |
Backed out changeset 7c19f1f792c6
/external/python/cpython2/Modules/readline.c
|
64c1215b5dc283484311f1ca0794977c3d8bdc90 |
|
20-Aug-2014 |
Benjamin Peterson <benjamin@python.org> |
don't call rl_initialize when stdout is not a tty
/external/python/cpython2/Modules/readline.c
|
1d9457d2d29d75a20c2eab7e1570b59ee3306b27 |
|
24-Jul-2014 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off") does crash on Mac OS X which uses libedit instead of readline.
/external/python/cpython2/Modules/readline.c
|
63a474788a3f53f8edb62cf895aeb90508435c1d |
|
24-Jul-2014 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #19884: readline: Disable the meta modifier key if stdout is not a 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.
/external/python/cpython2/Modules/readline.c
|
98a9722e4a82b5f7dc0411233bbec892a02c7667 |
|
09-Feb-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #20437: Fixed 43 potential bugs when deleting objects references.
/external/python/cpython2/Modules/readline.c
|
ddc697f212326a00689e3c542b8cc3103ef7c384 |
|
06-Feb-2014 |
Ned Deily <nad@acm.org> |
Issue #20374: delete spurious empty line
/external/python/cpython2/Modules/readline.c
|
b0fd12d96c2bd08db7412a526dfc1eedf864a97c |
|
06-Feb-2014 |
Ned Deily <nad@acm.org> |
Issue #20374: Avoid compiler warnings when compiling readline with libedit.
/external/python/cpython2/Modules/readline.c
|
0ac0eadf8db3858b50dcc0293a1a085b1bbd59f7 |
|
24-Jan-2014 |
Benjamin Peterson <benjamin@python.org> |
new plan: just remove typecasts (closes #20374)
/external/python/cpython2/Modules/readline.c
|
ce75105e10a88623333c6e5c0a1597e48800742e |
|
24-Jan-2014 |
Benjamin Peterson <benjamin@python.org> |
use new readline function types (closes #20374)
/external/python/cpython2/Modules/readline.c
|
62a192931b5e387f2fd5b6f90ebe505ee6b95404 |
|
13-Oct-2013 |
Ned Deily <nad@acm.org> |
Issue #18458: Prevent crashes with newer versions of libedit. Its readline emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren.
/external/python/cpython2/Modules/readline.c
|
31bc8bef63fdb92c6ea776e093243eb421247f22 |
|
06-May-2013 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #17289: The readline module now plays nicer with external modules or applications changing the rl_completer_word_break_characters global variable. Initial patch by Bradley Froehle.
/external/python/cpython2/Modules/readline.c
|
1efd9824d892b514d879dffe09c16b009363f132 |
|
02-Feb-2013 |
Nadeem Vawda <nadeem.vawda@gmail.com> |
Back out fix for issue #13886; it introduced a new bug in interactive readline use.
/external/python/cpython2/Modules/readline.c
|
221508cdefd30426b853c77e57ea9ddfc6828d75 |
|
27-Jan-2013 |
Nadeem Vawda <nadeem.vawda@gmail.com> |
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.
/external/python/cpython2/Modules/readline.c
|
7a697251c9c202891325a4268a75b8efa9774acd |
|
18-Dec-2010 |
R. David Murray <rdmurray@bitdance.com> |
Merged revisions 87356 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87356 | r.david.murray | 2010-12-17 22:48:32 -0500 (Fri, 17 Dec 2010) | 11 lines #9907: call rl_initialize early when using editline on OSX 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. ........
/external/python/cpython2/Modules/readline.c
|
0f98128d6e9a2375bb560a58418e83ebd1996f2b |
|
03-Aug-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Merged revisions 83670 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83670 | mark.dickinson | 2010-08-03 17:49:49 +0100 (Tue, 03 Aug 2010) | 3 lines Issue #8065: Fix another memory leak in readline module, from failure to free the result of a call to history_get_history_state. ........
/external/python/cpython2/Modules/readline.c
|
4ee9853028429563d72c214ad1a2cda27ace6625 |
|
03-Aug-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Merged revisions 83667 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83667 | mark.dickinson | 2010-08-03 17:08:16 +0100 (Tue, 03 Aug 2010) | 2 lines Issue #9450: Fix memory leaks in readline.remove/replace_history_entry. ........
/external/python/cpython2/Modules/readline.c
|
c83ea137d7e717f764e2f31fc2544f522de7d857 |
|
09-May-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Untabify C files. Will watch buildbots.
/external/python/cpython2/Modules/readline.c
|
23b581a6f491e1b34fbeda48e56c1b5eb2f097af |
|
04-May-2010 |
Brett Cannon <bcannon@gmail.com> |
Strip out extraneous whitespace, cast a some `const char *` to `void *` when passed to free() and make a `char *` to a `const char *` as found by Clang's static analyzer.
/external/python/cpython2/Modules/readline.c
|
333fca9b3ec7204f0660b45694adafa744336d5f |
|
11-Feb-2010 |
Ronald Oussoren <ronaldoussoren@mac.com> |
Add guard around the prototype for completion_matches to enable compilition with libedit on OSX 10.5
/external/python/cpython2/Modules/readline.c
|
d9ff74e51dc0ede17116b590e2e544d1a2b7fe39 |
|
26-Oct-2009 |
Antoine Pitrou <solipsis@pitrou.net> |
Some platforms have rl_completion_append_character but not rl_completion_suppress_append. Reported by Mark D.
/external/python/cpython2/Modules/readline.c
|
119cdef9b4d2346be562cde54c41e4ba4e915190 |
|
19-Oct-2009 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #5833: Fix extra space character in readline completion with the GNU readline library version 6.0.
/external/python/cpython2/Modules/readline.c
|
9f20d9d0ee78f7bd810dfe788a8d1319afbc36e7 |
|
20-Sep-2009 |
Ronald Oussoren <ronaldoussoren@mac.com> |
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.
/external/python/cpython2/Modules/readline.c
|
91a3b9e4f08a5e1325642c68543495c32fc853f9 |
|
05-Apr-2009 |
Matthias Klose <doko@ubuntu.com> |
Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)' to avoid compiler warnings.
/external/python/cpython2/Modules/readline.c
|
bb86d831340239e50036ef4f524bd90a727fdcd4 |
|
04-Nov-2008 |
Martin v. Löwis <martin@v.loewis.de> |
Issue #4204: Fixed module build errors on FreeBSD 4.
/external/python/cpython2/Modules/readline.c
|
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 |
|
09-Jun-2008 |
Gregory P. Smith <greg@mad-scientist.com> |
This reverts r63675 based on the discussion in this thread: http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Modules/readline.c
|
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 |
|
26-May-2008 |
Christian Heimes <christian@cheimes.de> |
Renamed PyString to PyBytes
/external/python/cpython2/Modules/readline.c
|
1bc4af4bdd9732e280958b1dee4f23f186930906 |
|
12-Nov-2007 |
Christian Heimes <christian@cheimes.de> |
readline module cleanup fixed indention to tabs use Py_RETURN_NONE macro added more error checks to on_completion_display_matches_hook open question: Does PyList_SetItem(l, i, o) steal a reference to o in the case of an error?
/external/python/cpython2/Modules/readline.c
|
f354894e7b35b09dabacdbcb1b812b290b0457a2 |
|
12-Nov-2007 |
Martin v. Löwis <martin@v.loewis.de> |
Only set rl_completion_display_matches_hook if there is a Python hook function. Fixes #1425.
/external/python/cpython2/Modules/readline.c
|
58bd49f5fec11751806d869a8479f59e13d2d558 |
|
04-Sep-2007 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #1388440: Add set_completion_display_matches_hook and get_completion_type to readline.
/external/python/cpython2/Modules/readline.c
|
bd53870d899fe3492fd4b1432df3f0ad24d0e287 |
|
19-Apr-2007 |
Neal Norwitz <nnorwitz@gmail.com> |
SF #1703270, add missing declaration in readline.c to avoid compiler warning.
/external/python/cpython2/Modules/readline.c
|
62e475b84f0cf3343fbd15810678b3c6f728aa9f |
|
07-Sep-2006 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #1552726] Avoid repeatedly polling in interactive mode -- only put a timeout on the select() if an input hook has been defined. Patch by Richard Boulton. This select() code is only executed with readline 2.1, or if READLINE_CALLBACKS is defined. Backport candidate for 2.5, 2.4, probably earlier versions too.
/external/python/cpython2/Modules/readline.c
|
5eaf772980a5013c89a9d3814991ff3244ed58f1 |
|
16-Jul-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix memory leaks in some conditions. Reported by Klocwork #152.
/external/python/cpython2/Modules/readline.c
|
1ac754fa10f5d199d19911e21185d0970cb3073f |
|
19-Jan-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Check return result from Py_InitModule*(). This API can fail. Probably should be backported.
/external/python/cpython2/Modules/readline.c
|
e677adc43acf9176ffe81b9956aeb7a643258239 |
|
29-Sep-2005 |
Georg Brandl <georg@python.org> |
Fix parse errors in readline module when compiling without threads.
/external/python/cpython2/Modules/readline.c
|
e3afc598bc62c6ad46c56feec3f18cf8131c91c6 |
|
07-Apr-2005 |
Michael W. Hudson <mwh@python.net> |
In a threads-disabled build, typing Ctrl-C into a raw_input() crashed, because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS actually expanded to nothing under a no-threads build, so if you somehow NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would stay NULLed when you return to Python. Argh! Backport candidate.
/external/python/cpython2/Modules/readline.c
|
da6242c84498caaf147d944529877cb3dba4f674 |
|
30-Mar-2005 |
Michael W. Hudson <mwh@python.net> |
Fixes for [ 1166660 ] The readline module can cause python to segfault It seems to me that the code I'm rewriting here attempted to call any user-supplied hook functions using the thread state of the thread that called the hook-setting function, as opposed to that of the thread that is currently executing. This doesn't work, in general. Fix this by using the PyGILState API (It wouldn't be that hard to define a dummy version of said API when #ifndef WITH_THREAD, would it?). Also, check the conversion to integer of the return value of a hook function for errors (this problem was mentioned in the ipython bug report linked to in the above bug).
/external/python/cpython2/Modules/readline.c
|
9a8c3142e2bc122386cd1502124cb7103a217386 |
|
30-Mar-2005 |
Michael W. Hudson <mwh@python.net> |
Be a bit more accurate.
/external/python/cpython2/Modules/readline.c
|
b47039f66bd21327d12070bfd220d25e516e2381 |
|
30-Mar-2005 |
Michael W. Hudson <mwh@python.net> |
I don't think it's particularly accurate to say Guido is maintaining this module any more.
/external/python/cpython2/Modules/readline.c
|
9533e3402433245489bcf55adf1e134ca71b4798 |
|
27-Feb-2005 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #1093585: raise a ValueError for negative history items in remove_history and replace_history. Will backport to 2.4.
/external/python/cpython2/Modules/readline.c
|
7a8173a477d69269d8f4b1f80253310b07a088d2 |
|
25-Nov-2004 |
Hye-Shik Chang <hyeshik@gmail.com> |
Rename a static variable "history_length" to "_history_length". GNU readline exports a global variable that has such a name already and the collision makes gcc4 doesn't compile the source.
/external/python/cpython2/Modules/readline.c
|
8da2b01c3fb730c384cdc4e329933ee16cfe3497 |
|
07-Oct-2004 |
Michael W. Hudson <mwh@python.net> |
This is Michiel de Hoon's patch, as attached to the bug report: [ 1030629 ] PyOS_InputHook broken with a couple of utterly inconsequential changes by me.
/external/python/cpython2/Modules/readline.c
|
1fa040ba73db700debd9f5079fa2083a0937f8b6 |
|
25-Aug-2004 |
Neal Norwitz <nnorwitz@gmail.com> |
SF #1015517, get readline to compile with older compilers
/external/python/cpython2/Modules/readline.c
|
701abe745b28024662886c254a4dbc2ee1dddb3a |
|
20-Aug-2004 |
Martin v. Löwis <martin@v.loewis.de> |
Fail fatally if strdup fails.
/external/python/cpython2/Modules/readline.c
|
78a8acc55bb3ae7c8d265cbcb4709d84938a4cef |
|
18-Aug-2004 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #914291: Restore locale while readline is running.
/external/python/cpython2/Modules/readline.c
|
6c06cd5ff9dbf940c5907eb4d8992e7ee857b1d7 |
|
16-Aug-2004 |
Skip Montanaro <skip@pobox.com> |
fix a couple problems with the last patch picked up by Michael Hudson
/external/python/cpython2/Modules/readline.c
|
e5069019e7bd33ed5d6072c38ad149694053aaca |
|
15-Aug-2004 |
Skip Montanaro <skip@pobox.com> |
Add get_history_item and replace_history_item functions to the readline module. Closes patch #675551. My apologies to Michal Vitecek for taking so long to process this.
/external/python/cpython2/Modules/readline.c
|
238499060351da61665c1e623c5f59c6d0ef3354 |
|
08-Jul-2004 |
Michael W. Hudson <mwh@python.net> |
PyThreadState_Swap(NULL) didn't do what I thought it did. Fixes [ 987287 ] Python 2.4a1, interpreter hanging on Keyboard Interrupt
/external/python/cpython2/Modules/readline.c
|
30ea2f223f5c0a85a13bd893063555a9f587cd6d |
|
07-Jul-2004 |
Michael W. Hudson <mwh@python.net> |
This closes patch: [ 960406 ] unblock signals in threads although the changes do not correspond exactly to any patch attached to that report. Non-main threads no longer have all signals masked. A different interface to readline is used. The handling of signals inside calls to PyOS_Readline is now rather different. These changes are all a bit scary! Review and cross-platform testing much appreciated.
/external/python/cpython2/Modules/readline.c
|
79cddc56b30f45899154289fdf684a98a10e9e2c |
|
24-May-2004 |
Skip Montanaro <skip@pobox.com> |
stupid, stupid, stupid... raw_input() already supports readline() if the readline module is loaded.
/external/python/cpython2/Modules/readline.c
|
0dc23101a070fd6a5cceb66ee87eac70f94e7bd1 |
|
23-May-2004 |
Skip Montanaro <skip@pobox.com> |
Exposed readline() function from the readline module.
/external/python/cpython2/Modules/readline.c
|
2786d90617993c5958a477067b20882395de5ac9 |
|
25-Mar-2004 |
Nicholas Bastin <nick.bastin@gmail.com> |
A few more PyThreadState_Get to PyThreadState_GET conversions
/external/python/cpython2/Modules/readline.c
|
7befb9966e1435475a9d2e9d3cc3670564ce77aa |
|
10-Feb-2004 |
Skip Montanaro <skip@pobox.com> |
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
/external/python/cpython2/Modules/readline.c
|
f56d015a7123de2df3a32bc38f666a79dd8cab79 |
|
13-Nov-2003 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #804543: strdup saved locales. Backported to 2.3.
/external/python/cpython2/Modules/readline.c
|
e7a9796a0f83bd2e5e2b1d35ad8f0a2a96ec5e3f |
|
20-Sep-2003 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #800697: Add readline.clear_history.
/external/python/cpython2/Modules/readline.c
|
afd43b55124e332fe0a8e495bef551ba7e49a69f |
|
17-Jul-2003 |
Michael W. Hudson <mwh@python.net> |
Remove inaccurate (and it turns out, entirely superfluous) declarations of PyOS_InputHook and PyOS_ReadlineFunctionPointer). The inaccuracies were causing problems in framework builds on Mac OS X.
/external/python/cpython2/Modules/readline.c
|
21d896cfa1646a1da4e0ead57db9defc2ade397c |
|
01-Jul-2003 |
Neal Norwitz <nnorwitz@gmail.com> |
Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros
/external/python/cpython2/Modules/readline.c
|
d9efdc5b5a532210b36d9ad410f201e64aebac36 |
|
01-Mar-2003 |
Neal Norwitz <nnorwitz@gmail.com> |
get_completer() takes no args
/external/python/cpython2/Modules/readline.c
|
c355f0cae932bd1548ff5797af9846fcb32aa6f7 |
|
21-Feb-2003 |
Neal Norwitz <nnorwitz@gmail.com> |
flex_complete looks like a private (but callback) function, so make it static
/external/python/cpython2/Modules/readline.c
|
0e986a312fe926b6cdc54437eaf9e5837fda5ead |
|
30-Jan-2003 |
Michael W. Hudson <mwh@python.net> |
I was in this module anyway, so I did some janitorial things. METH_NOARGS functions are still called with two arguments, one NULL, so put that back into the function definitions (I didn't know this until recently). Make get_history_length() METH_NOARGS.
/external/python/cpython2/Modules/readline.c
|
796df156cdfa162f47987c37bc102f5c70697e40 |
|
30-Jan-2003 |
Michael W. Hudson <mwh@python.net> |
Add the get_completer() function based on Michael Stone's patch in [ 676342 ] after using pdb readline does not work correctly which is required to fix that bug. So maaybe a bugfix candidate.
/external/python/cpython2/Modules/readline.c
|
6d0d3655af5c98d77274e08196ea0db336699290 |
|
07-Jan-2003 |
Guido van Rossum <guido@python.org> |
Fix from Michael Stone for SF bug #660476 and #513033 (bogus thread state swaps in readline).
/external/python/cpython2/Modules/readline.c
|
05ac449d2970aba1922380796633084175e30424 |
|
07-Jan-2003 |
Guido van Rossum <guido@python.org> |
A few more whitespace normalizations.
/external/python/cpython2/Modules/readline.c
|
74f3143d18e5a64ab11fc674260763eb73f4a1ae |
|
07-Jan-2003 |
Guido van Rossum <guido@python.org> |
Various cleanups: - Whitespace normalization. - Cleaned up some comments. - Broke long lines.
/external/python/cpython2/Modules/readline.c
|
faf5e4d48f9d8cb78a35e71c560dda8d1d2d7115 |
|
30-Dec-2002 |
Guido van Rossum <guido@python.org> |
Patch 659834 by Magnus Lie Hetland: Check for readline 2.2 features. This should make it possible to compile readline.c again with GNU readline versions 2.0 or 2.1; this ability was removed in readline.c rev. 2.49. Apparently the older versions are still in widespread deployment on older Solaris installations. With an older readline, completion behavior is subtly different (a space is always added).
/external/python/cpython2/Modules/readline.c
|
566f6afe9a9de23132302020dcb4c612d5180f23 |
|
26-Oct-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #512981: Update readline input stream on sys.stdin/out change.
/external/python/cpython2/Modules/readline.c
|
60c8a3aba82b83e8da25e614bee2329f7c74509f |
|
09-Oct-2002 |
Guido van Rossum <guido@python.org> |
GNU readline() mistakenly sets the LC_CTYPE locale. This is evil. Only the user or the app's main() should do this! We must save and restore the locale around the rl_initialize() call.
/external/python/cpython2/Modules/readline.c
|
fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc |
|
02-Aug-2002 |
Mark Hammond <mhammond@skippinet.com.au> |
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
/external/python/cpython2/Modules/readline.c
|
14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f |
|
13-Jun-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #568124: Add doc string macros.
/external/python/cpython2/Modules/readline.c
|
a039274cccd24631f2b2de39d31ae4ffe7399bf8 |
|
11-Jun-2002 |
Skip Montanaro <skip@pobox.com> |
patch #562492 - prevent duplicate lines in history also call using_history() to properly initialize history variables
/external/python/cpython2/Modules/readline.c
|
84271bb34fa2a0d4609caade9b07f06cc83a8626 |
|
30-May-2002 |
Guido van Rossum <guido@python.org> |
SF #558432: Prevent Annoying ' ' from readline (Holker Krekel). 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.]
/external/python/cpython2/Modules/readline.c
|
0e0ee598fccac4fec66e2673a97770c286f0a1d7 |
|
21-Apr-2002 |
Neal Norwitz <nnorwitz@gmail.com> |
#544265, Remove warnings for passing const to free()
/external/python/cpython2/Modules/readline.c
|
767f83539ddeb25355a0cde21fa13f4b002b0b5b |
|
31-Mar-2002 |
Neal Norwitz <nnorwitz@gmail.com> |
Get rid of warnings due to changing to METH_NOARGS
/external/python/cpython2/Modules/readline.c
|
3a6f97850b2a4071f3015033fa3d68ce6fa576f4 |
|
25-Mar-2002 |
Neal Norwitz <nnorwitz@gmail.com> |
Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.
/external/python/cpython2/Modules/readline.c
|
0f75e0dcad9b193fc11855b5c59d4c9bd42e533f |
|
24-Mar-2002 |
Neil Schemenauer <nascheme@enme.ucalgary.ca> |
Add get_history_item, get_current_history_length, and redisplay functions. Clarify the docstring for get_history_length. Closes SF patch 494066.
/external/python/cpython2/Modules/readline.c
|
7bf6833e178696b9815fd4e4c6d1cecc8b46bdd2 |
|
03-Mar-2002 |
Andrew MacIntyre <andymac@bullseye.apana.org.au> |
OS/2 EMX port changes (Modules part of patch #450267): Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c
/external/python/cpython2/Modules/readline.c
|
0c1ceaf66ddb8cdaecd9d43f4f47abb8151a1ddb |
|
13-Feb-2002 |
Michael W. Hudson <mwh@python.net> |
Simon Budig's patch (posted by me): [ #513235 ] prevent readline filename completion
/external/python/cpython2/Modules/readline.c
|
cdc445122208cb90a59a468a7396b227e223c43a |
|
12-Jan-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Include <unistd.h> in Python.h. Fixes #500924.
/external/python/cpython2/Modules/readline.c
|
885d457709c1d680c899dc3d035a47c8fb514cfa |
|
28-Nov-2001 |
Tim Peters <tim.peters@gmail.com> |
sprintf -> PyOS_snprintf in some "obviously safe" cases. Also changed <>-style #includes to ""-style in some places where the former didn't make sense.
/external/python/cpython2/Modules/readline.c
|
d4c0a9c59b399bfa0d36030663f78aa18a68e051 |
|
28-Nov-2001 |
Marc-André Lemburg <mal@egenix.com> |
Fixes for possible buffer overflows in sprintf() usages.
/external/python/cpython2/Modules/readline.c
|
b6c1d5239cfeadd761d2055cc44212f7a6b7e5af |
|
19-Oct-2001 |
Guido van Rossum <guido@python.org> |
SF patch #443759: Add Interface to readline's add_history 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.
/external/python/cpython2/Modules/readline.c
|
0daad598d0947395248f087c2aa347083f440e36 |
|
30-Sep-2001 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #462122: add readline startup and pre_event hooks.
/external/python/cpython2/Modules/readline.c
|
52d55a392600011d3edfe85c694744ec550ad1fe |
|
01-Aug-2001 |
Fred Drake <fdrake@acm.org> |
Cleaned up the docstring for readline.set_completer(). Thanks to Nathaniel Gray for reporting the confusion.
/external/python/cpython2/Modules/readline.c
|
353ae5896499d0ec297cff00e3686f4cd88668c3 |
|
10-Jul-2001 |
Guido van Rossum <guido@python.org> |
SF Patch #432457 by Jason Tishler: support for readline 4.2. 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.
/external/python/cpython2/Modules/readline.c
|
b0e51b2957f7e4ba4bd2399329bae810b57881aa |
|
13-Apr-2001 |
Guido van Rossum <guido@python.org> |
Clean up the unsightly mess around the readline header files. We now 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.
/external/python/cpython2/Modules/readline.c
|
5a53019b0d4780b270c0c8027e0e66b7183fb661 |
|
10-Jan-2001 |
Guido van Rossum <guido@python.org> |
Part of SF patch #102409 by jlt63 to support building these modules under CYGWIN as shared libraries (DLLs).
/external/python/cpython2/Modules/readline.c
|
1ea64ea3abf78a65f8145ab2613be7dfd178f4ce |
|
02-Oct-2000 |
Guido van Rossum <guido@python.org> |
Supporting rl_library_version is more trouble than it's worth -- 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.
/external/python/cpython2/Modules/readline.c
|
6c0f33f8efdd3e288a66402c8c1c38622206bcb2 |
|
20-Sep-2000 |
Guido van Rossum <guido@python.org> |
Add a definition of rl_library_version. Reported by jpettit@sourceforge.
/external/python/cpython2/Modules/readline.c
|
174efc9cdbc3b398096ec24a7bb4ebe650ec5929 |
|
16-Sep-2000 |
Guido van Rossum <guido@python.org> |
Use PyOS_setsig() instead of directly calling signal() or sigaction(). 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.
/external/python/cpython2/Modules/readline.c
|
b9ce5ada37f271cd2e9ec67f86a82a166f1e1296 |
|
01-Sep-2000 |
Guido van Rossum <guido@python.org> |
Add three prototypes for functions in history.h to shut up gcc -Wall.
/external/python/cpython2/Modules/readline.c
|
8ce159aef570c7c85a1e3c938fbb91ed4d0a6979 |
|
31-Aug-2000 |
Fred Drake <fdrake@acm.org> |
Peter Schneider-Kamp <nowonder@nowonder.de>: Remove some of GCC's warning in -Wstrict-prototypes mode. This closes SourceForge patch #101342.
/external/python/cpython2/Modules/readline.c
|
cf4d8ccb051fa9ad15b69a7beb7b908f34a3ca96 |
|
05-Aug-2000 |
Moshe Zadka <moshez@math.huji.ac.il> |
Removed unnecessary local variable -- gave warning on gcc -Wall
/external/python/cpython2/Modules/readline.c
|
a1abb728bc0d3898539ea89effa7906a50366f1a |
|
03-Aug-2000 |
Andrew M. Kuchling <amk@amk.ca> |
Use METH_OLDARGS instead of numeric constant 0 in method def. tables
/external/python/cpython2/Modules/readline.c
|
e365fb8d1ff062d619f9476265e48e9ba8ab2bf6 |
|
03-Aug-2000 |
Andrew M. Kuchling <amk@amk.ca> |
Use METH_VARARGS instead of numeric constant 1 in method def. tables
/external/python/cpython2/Modules/readline.c
|
4f1b2081e9dde910048ef679f5afe252023a4031 |
|
23-Jul-2000 |
Tim Peters <tim.peters@gmail.com> |
Removed all instances of RETSIGTYPE from the source code: signal 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).
/external/python/cpython2/Modules/readline.c
|
2c46eaf8e948607f7551f2075044d27d27c43775 |
|
23-Jul-2000 |
Thomas Wouters <thomas@python.org> |
ANSIfication of function-pointers and declarations. Also, make sure to return something if RETSIGTYPE is not void, in functions that are defined as returning RETSIGTYPE.
/external/python/cpython2/Modules/readline.c
|
f3f33dcf03eaed3c4e720178f9d69205a66d6a91 |
|
21-Jul-2000 |
Thomas Wouters <thomas@python.org> |
Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 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 ;)
/external/python/cpython2/Modules/readline.c
|
49bd24d4e4ce539c452e9ba43c6c0f7f1c6aff94 |
|
19-Jul-2000 |
Skip Montanaro <skip@pobox.com> |
added history file truncation based upon code from Johannes Zellner.
/external/python/cpython2/Modules/readline.c
|
a788a7f0fba47538879d7329fd340437377444f2 |
|
10-Jul-2000 |
Peter Schneider-Kamp <nowonder@nowonder.de> |
ANSI-fication
/external/python/cpython2/Modules/readline.c
|
dbd9ba6a6c19c3d06f5684b3384a934f740038db |
|
09-Jul-2000 |
Tim Peters <tim.peters@gmail.com> |
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
/external/python/cpython2/Modules/readline.c
|
28067821e28ddc03687818334b83a0d312265575 |
|
06-Jul-2000 |
Skip Montanaro <skip@pobox.com> |
added read_history_file and write_history_file XXX should perhaps support history truncation as well
/external/python/cpython2/Modules/readline.c
|
26418a90f0990b567931c4e2ea408e72930a40c8 |
|
28-Jun-2000 |
Guido van Rossum <guido@python.org> |
Trent Mick: use size_t instead of int where appropriate (call_readline()).
/external/python/cpython2/Modules/readline.c
|
b18618dab7b6b85bb05b084693706e59211fa180 |
|
04-May-2000 |
Guido van Rossum <guido@python.org> |
Vladimir Marangozov's long-awaited malloc restructuring. 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.)
/external/python/cpython2/Modules/readline.c
|
43713e5a2899930a8698e244b0d0fef59a676d17 |
|
29-Feb-2000 |
Guido van Rossum <guido@python.org> |
Massive patch by Skip Montanaro to add ":name" to as many PyArg_ParseTuple() format string arguments as possible.
/external/python/cpython2/Modules/readline.c
|
b960e7a797a694df0ec8ca63fa1e712ed722d1fc |
|
18-Nov-1999 |
Guido van Rossum <guido@python.org> |
Patches by Kannan Vijayan: 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
/external/python/cpython2/Modules/readline.c
|
f761287e0aaa282c564ca15fde56e5d8e9af8f29 |
|
29-Jan-1999 |
Barry Warsaw <barry@python.org> |
setup_readline(): Added a comment about memory leak (reported by 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*.
/external/python/cpython2/Modules/readline.c
|
54ecc3d24f52ae45ca54a24167e434915c88b60f |
|
27-Jan-1999 |
Guido van Rossum <guido@python.org> |
Patches by William Lewis for Nextstep descendants.
/external/python/cpython2/Modules/readline.c
|
3886bb6997f8f7b0b64eed19045161e697f415fe |
|
04-Dec-1998 |
Guido van Rossum <guido@python.org> |
Add DL_EXPORT() to all modules that could possibly be used on BeOS or Windows.
/external/python/cpython2/Modules/readline.c
|
3b5330ef2d9b6c19ac18e7630059d90e4f5ab991 |
|
04-Dec-1998 |
Guido van Rossum <guido@python.org> |
Bernard Herzog pointed out that rl_parse_and_bind modifies its argument string (bad function!), so we make a temporary copy.
/external/python/cpython2/Modules/readline.c
|
bcc207484a0f8f27a684e11194e7430c0710f66d |
|
05-Aug-1998 |
Guido van Rossum <guido@python.org> |
Changes for BeOS, QNX and long long, by Chris Herborth.
/external/python/cpython2/Modules/readline.c
|
a88c5f30c75021433d2a55704a9d6ca9676d09c6 |
|
20-May-1998 |
Guido van Rossum <guido@python.org> |
Correct bug doc string (discovered by Berthold Hoellmann): get_line_buffer() does not take an optional argument.
/external/python/cpython2/Modules/readline.c
|
730806d3d9bd8c54466e4a864b2b1f94df4413d2 |
|
11-Apr-1998 |
Guido van Rossum <guido@python.org> |
Make new gcc -Wall happy
/external/python/cpython2/Modules/readline.c
|
73bacfc3d7d00a4f3473c9d5bed276c958b40afb |
|
19-Jan-1998 |
Guido van Rossum <guido@python.org> |
Add unistd.h for isatty().
/external/python/cpython2/Modules/readline.c
|
a59406abdfd1393db708b379003fe3ab0dd0af2e |
|
10-Oct-1997 |
Guido van Rossum <guido@python.org> |
Darn. When thread support is disabled, the BEGIN/END macros don't 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.
/external/python/cpython2/Modules/readline.c
|
79378ffd91a38e220a5421a04ff8a593ce4a7c7a |
|
07-Oct-1997 |
Guido van Rossum <guido@python.org> |
Add get_line_buffer() and insert_text(), suggested by Michael McLay.
/external/python/cpython2/Modules/readline.c
|
b6c935a933cc39ea23d867f2367b398efda7f064 |
|
27-Sep-1997 |
Guido van Rossum <guido@python.org> |
Set the completer's word break characters appropriate for Python.
/external/python/cpython2/Modules/readline.c
|
290900a5d76a5d9763bc1d1bb228845cda5754fa |
|
26-Sep-1997 |
Guido van Rossum <guido@python.org> |
Reordered and reformatted, and added some cool new features: 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!
/external/python/cpython2/Modules/readline.c
|
44620646fd7666dffa362137c9b69a3c9e18c715 |
|
11-Aug-1997 |
Guido van Rossum <guido@python.org> |
Renamed Py_input_hook to PyOS_InputHook. Also cleaned out some CR's left by the VC++ editor.
/external/python/cpython2/Modules/readline.c
|
0969d362751bd779fc6618d70ddd6c76e8cbc12c |
|
05-Aug-1997 |
Guido van Rossum <guido@python.org> |
New mechanism for GNU readline interface, via module
/external/python/cpython2/Modules/readline.c
|