History log of /PHP_TRUNK/ext/readline/readline.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3234480 27-Aug-2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
/php-src/ext/readline/readline.c
af59e92 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 7
/php-src/ext/readline/readline.c
c3e3c98 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 1
/php-src/ext/readline/readline.c
63d3f0b 19-Aug-2014 Anatol Belski <ab@php.net> basic macro replacements, all at once
/php-src/ext/readline/readline.c
32b58b2 18-May-2014 Dmitry Stogov <dmitry@zend.com> phpng support for ext/readline
/php-src/ext/readline/readline.c
050d7e3 15-Apr-2014 Dmitry Stogov <dmitry@zend.com> Cleanup (1-st round)
/php-src/ext/readline/readline.c
31d67bd 20-Jan-2014 Remi Collet <remi@php.net> Fixed Bug #66412 readline_clear_history() with libedit causes segfault after #65714

Checking all libedit functions, this check is done in each functions (add_history,
read_history, write_history, ...) but is missing in clear_history.

Test coverage: readline_clear_history_001.phpt
/php-src/ext/readline/readline.c
47c9027 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/ext/readline/readline.c
b8d88bf 15-Nov-2013 Remi Collet <remi@php.net> Fix Bug #65714 PHP cli forces the tty to cooked mode

Only drop the using_history() call with libedit as I don't know
if it is required with readline.

This also allow to run a php script in background without
it being aborted on first output.
/php-src/ext/readline/readline.c
ca3e086 27-May-2013 Hartmel <hartmel@wheezy64> Bug #55694: Expose attempted_completion_over variable from readline library
/php-src/ext/readline/readline.c
0a7395e 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/ext/readline/readline.c
428dddd 30-May-2012 Johannes Schlüter <johannes@php.net> Fix bug #62186 readline fails to compile
/php-src/ext/readline/readline.c
2208fb3 21-Mar-2012 Rasmus Lerdorf <rasmus@php.net> Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
Add open_basedir checks to readline_write_history and readline_read_history
8b01a28 21-Mar-2012 Rasmus Lerdorf <rasmus@php.net> Add open_basedir checks to readline_write_history and readline_read_history
/php-src/ext/readline/readline.c
843fa04 11-Mar-2012 Xinchen Hui <laruence@php.net> Fixed bug #61088 (Memory leak in readline_callback_handler_install).
/php-src/ext/readline/readline.c
41fa157 11-Mar-2012 Xinchen Hui <laruence@php.net> Fixed bug #61088 (Memory leak in readline_callback_handler_install).
/php-src/ext/readline/readline.c
e4ca0ed 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/readline/readline.c
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/readline/readline.c
b1dd2f4 06-Sep-2011 Hannes Magnusson <bjori@php.net> Fixed bug#54450 (callback function when built against libedit)
/php-src/ext/readline/readline.c
618b480 28-Jul-2011 Pierre Joye <pajoye@php.net> - Fix #55301 (readline part) check if malloc succeded
/php-src/ext/readline/readline.c
d3fd31b 28-Jul-2011 Pierre Joye <pajoye@php.net> - Fix #55301 (readline part) check if malloc succeded
/php-src/ext/readline/readline.c
23e4385 25-Jul-2011 Felipe Pena <felipe@php.net> - Make usage of new PHP_FE_END macro
/php-src/ext/readline/readline.c
4b30846 25-Jul-2011 Felipe Pena <felipe@php.net> - Make usage of new PHP_FE_END macro
/php-src/ext/readline/readline.c
32b5f8a 06-Jun-2011 Felipe Pena <felipe@php.net> - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
/php-src/ext/readline/readline.c
6c734a6 19-Feb-2011 Johannes Schlüter <johannes@php.net> - Implement FR#53878 Interactive shell should work with shared readline extension

# This is useful w/ distributors who like to build all things shared or don't
# provide the readline extension. Or if a user pefers readline's behavior over
# libedit which might be used by the distributor.
/php-src/ext/readline/readline.c
484a353 10-Jan-2011 Ilia Alshanetsky <iliaa@php.net> Fixed bug #53630 (Fixed parameter handling inside readline() function).
/php-src/ext/readline/readline.c
934e8d1 10-Jan-2011 Ilia Alshanetsky <iliaa@php.net> Fixed bug #53630 (Fixed parameter handling inside readline() function).
/php-src/ext/readline/readline.c
927bf09 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/readline/readline.c
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/readline/readline.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/php-src/ext/readline/readline.c
4411621 13-Dec-2009 Felipe Pena <felipe@php.net> - Fixed bug #50209 (Compiling with libedit cannot find readline.h)
(patch by tcallawa at redhat dot com)
/php-src/ext/readline/readline.c
ea61c33 22-Jan-2009 Ilia Alshanetsky <iliaa@php.net> Fixed execution condition
/php-src/ext/readline/readline.c
fc6c8f5 16-Jan-2009 Ilia Alshanetsky <iliaa@php.net> Improved parameter handling
/php-src/ext/readline/readline.c
51fc4e8 07-Jan-2009 Felipe Pena <felipe@php.net> - MFH: More suitable parameter checking
/php-src/ext/readline/readline.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/php-src/ext/readline/readline.c
a9455b5 21-Nov-2008 Felipe Pena <felipe@php.net> - MFH: Fixed memory leak in readline_callback_handler_remove()
/php-src/ext/readline/readline.c
da06789 20-Nov-2008 Felipe Pena <felipe@php.net> - MFH: Fixed memory leaks in readline_completion_function()
/php-src/ext/readline/readline.c
fc2fb50 17-Nov-2008 Felipe Pena <felipe@php.net> - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
/php-src/ext/readline/readline.c
4907fae 16-Nov-2008 Ilia Alshanetsky <iliaa@php.net> Fixed memory leak inside readline_callback_handler_install() function
/php-src/ext/readline/readline.c
7a37fa2 02-Nov-2008 Felipe Pena <felipe@php.net> - Revert ZEND_BEGIN_ARG_INFO change
/php-src/ext/readline/readline.c
df10005 24-Oct-2008 Felipe Pena <felipe@php.net> - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
/php-src/ext/readline/readline.c
39a0c5f 10-Sep-2008 Felipe Pena <felipe@php.net> - Fixed mem. leak
/php-src/ext/readline/readline.c
e304515 02-Aug-2008 Felipe Pena <felipe@php.net> - MFH: Added parameter TSRMLS_DC in zend_is_callable()
/php-src/ext/readline/readline.c
07444b4 14-Jul-2008 Felipe Pena <felipe@php.net> - Added arginfo
/php-src/ext/readline/readline.c
3ece9a2 25-Jun-2008 Felipe Pena <felipe@php.net> - New parameter parsing API
/php-src/ext/readline/readline.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/php-src/ext/readline/readline.c
6c810b0 27-Sep-2007 Dmitry Stogov <dmitry@php.net> Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
/php-src/ext/readline/readline.c
c92668e 12-Feb-2007 Ilia Alshanetsky <iliaa@php.net> Fixed a memory leak inside readline_completion_function() on non-callable
callback.
/php-src/ext/readline/readline.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/php-src/ext/readline/readline.c
ae77214 04-Sep-2006 Nuno Lopes <nlopess@php.net> fix gcc warning
/php-src/ext/readline/readline.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/php-src/ext/readline/readline.c
3e669bc 06-Dec-2005 foobar <sniper@php.net> MFH: nuke php3 legacy
/php-src/ext/readline/readline.c
26b8b65 28-Nov-2005 foobar <sniper@php.net> MFH: - Fixed bug #35409 (undefined reference to 'rl_completion_matches').
/php-src/ext/readline/readline.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/php-src/ext/readline/readline.c
d5847b9 12-Apr-2005 Ilia Alshanetsky <iliaa@php.net> Fixed compiler warning.
/php-src/ext/readline/readline.c
779edcb 04-Feb-2005 Ilia Alshanetsky <iliaa@php.net> Proper fix for bug #31796 .
/php-src/ext/readline/readline.c
5879c5c 03-Feb-2005 Ilia Alshanetsky <iliaa@php.net> Fixed bug #31796 (readline completion handler does not handle empty return
values).
/php-src/ext/readline/readline.c
429b37d 26-Sep-2004 Wez Furlong <wez@php.net> compile fix from Timm
/php-src/ext/readline/readline.c
9085689 17-Sep-2004 Wez Furlong <wez@php.net> standardize the callback support to allow array($obj, 'method') callbacks.
Add a couple of utility functions.
/php-src/ext/readline/readline.c
bbd6dec 24-Aug-2004 Wez Furlong <wez@php.net> Add support for the readline callback interface, allowing you to interleave
IO and user input. Sample script:

<?php
dl("readline.so");

function handle_user_input($line)
{
echo "You typed: '$line'\n";
if ($line == 'exit')
exit;
}

readline_callback_handler_install('type! > ', 'handle_user_input');

while (true) {
$n = stream_select($r = array(STDIN), $w = null, $e = null, null);

if ($n && in_array(STDIN, $r)) {
readline_callback_read_char();
}
}
/php-src/ext/readline/readline.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/php-src/ext/readline/readline.c
5fcc682 19-Jul-2003 Andrey Hristov <andrey@php.net> proto fixes
/php-src/ext/readline/readline.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/php-src/ext/readline/readline.c
b506f5c 31-Dec-2002 Sebastian Bergmann <sebastian@php.net> Bump year.
/php-src/ext/readline/readline.c
2838df5 08-Nov-2002 CHAILLAN Nicolas <nicos@php.net> Very little fixes
/php-src/ext/readline/readline.c
6b3234f 09-Oct-2002 Jan Lehnardt <jan@php.net> - fix build on FreeBSD, verified by thies.
/php-src/ext/readline/readline.c
10811cd 22-Mar-2002 Hartmut Holzgraefe <hholzgra@php.net> getting rid of the warn_not_available alias
/php-src/ext/readline/readline.c
90613d2 28-Feb-2002 Sebastian Bergmann <sebastian@php.net> Maintain headers.
/php-src/ext/readline/readline.c
4526dd2 01-Feb-2002 Thies C. Arntzen <thies@php.net> remove some crap
/php-src/ext/readline/readline.c
3893351 11-Dec-2001 Sebastian Bergmann <sebastian@php.net> Update headers.
/php-src/ext/readline/readline.c
6892520 11-Oct-2001 Stig Bakken <ssb@php.net> * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
/php-src/ext/readline/readline.c
c033288 25-Sep-2001 Jeroen van Wolffelaar <jeroen@php.net> Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
/php-src/ext/readline/readline.c
93311d9 22-Aug-2001 foobar <sniper@php.net> Fixed two problems:

- CGI_BINARY was defined always thus this extension
could be compiled with even when not building CGI binary.

- HAVE_READLINE => HAVE_LIBREADLINE (typo)
/php-src/ext/readline/readline.c
c43806f 30-Jul-2001 Zeev Suraski <zeev@php.net> Zend compatibility patch
/php-src/ext/readline/readline.c
d87cc97 28-Jul-2001 Zeev Suraski <zeev@php.net> Redesigned thread safety mechanism - nua nua
/php-src/ext/readline/readline.c
1beda9e 24-May-2001 Stig Bakken <ssb@php.net> * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
/php-src/ext/readline/readline.c
01ed33d 27-Feb-2001 Andi Gutmans <andi@php.net> - Pointed out by Andrei. zval_ptr_dtor() should be used instead of the
zval_del_ref() function which should be nuked.
/php-src/ext/readline/readline.c
eb6ba01 26-Feb-2001 Andi Gutmans <andi@php.net> - Fix copyright notices with 2001
/php-src/ext/readline/readline.c
66dafaa 18-Jan-2001 Stanislav Malyshev <stas@php.net> Libedit readline replacement support
# Comments are very welcome!
/php-src/ext/readline/readline.c
825457a 29-Oct-2000 Thies C. Arntzen <thies@php.net> update my email.
/php-src/ext/readline/readline.c
d33f42d 24-Aug-2000 Thies C. Arntzen <thies@php.net> beautify
/php-src/ext/readline/readline.c
7248d68 24-Aug-2000 Stanislav Malyshev <stas@php.net> Fix segfault on readline without parameters
/php-src/ext/readline/readline.c
3701bc4 05-Jun-2000 Andi Gutmans <andi@php.net> - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
/php-src/ext/readline/readline.c
e043439 18-May-2000 Zeev Suraski <zeev@php.net> Update the license with the new clause 6
/php-src/ext/readline/readline.c
92c87b1 02-May-2000 Sascha Schumann <sas@php.net> Make readline compilable as shared module
/php-src/ext/readline/readline.c
d02fe90 06-Mar-2000 Stig Bakken <ssb@php.net> Change extension names in all extensions' zend_module_entry to their
directory name.
/php-src/ext/readline/readline.c
e387105 24-Feb-2000 Egon Schmid <eschmid@php.net> Thies I will give up until tomorrow.
/php-src/ext/readline/readline.c
86fa2aa 19-Feb-2000 Zeev Suraski <zeev@php.net> the pipe is breaking all the time
/php-src/ext/readline/readline.c
43ae2bf 01-Jan-2000 Sascha Schumann <sas@php.net> Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
/php-src/ext/readline/readline.c
a1ad287 18-Dec-1999 Zeev Suraski <zeev@php.net> - The tree compiles again
/php-src/ext/readline/readline.c
19023f3 08-Dec-1999 Thies C. Arntzen <thies@php.net> ZTS compile fixes
/php-src/ext/readline/readline.c
5d70df5 25-Oct-1999 Thies C. Arntzen <thies@php.net> added some more options
/php-src/ext/readline/readline.c
a9dcde3 23-Oct-1999 Thies C. Arntzen <thies@php.net> one can now use callbacks for custom completion functions (still work-in-progress)
/php-src/ext/readline/readline.c
185d90f 14-Oct-1999 Thies C. Arntzen <thies@php.net> configure works for me (RH 6.1)
@- Added readline support. Works *only* in standalone mode! (Thies)
/php-src/ext/readline/readline.c
1d9584c 14-Oct-1999 Thies C. Arntzen <thies@php.net> interface to GNU-Readline! (not yet active, autoconf needs to be done)
very neat - but only usable in standalone (command-promt) mode!
/php-src/ext/readline/readline.c