Hannes Magnusson
b1dd2f4e68
Fixed bug#54450 (callback function when built against libedit)
2011-09-06 15:07:24 +00:00
Pierre Joye
618b480d91
- Fix #55301 (readline part) check if malloc succeded
2011-07-28 10:42:45 +00:00
Pierre Joye
d3fd31b6dd
- Fix #55301 (readline part) check if malloc succeded
2011-07-28 10:42:45 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
32b5f8a1a3
- 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
2011-06-06 21:28:16 +00:00
Johannes Schlüter
6c734a6b4c
- 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.
2011-02-19 16:04:30 +00:00
Ilia Alshanetsky
484a35373e
Fixed bug #53630 (Fixed parameter handling inside readline() function).
2011-01-10 18:19:02 +00:00
Ilia Alshanetsky
934e8d134c
Fixed bug #53630 (Fixed parameter handling inside readline() function).
2011-01-10 18:19:02 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Felipe Pena
4411621217
- Fixed bug #50209 (Compiling with libedit cannot find readline.h)
...
(patch by tcallawa at redhat dot com)
2009-12-13 17:06:47 +00:00
Ilia Alshanetsky
ea61c335e4
Fixed execution condition
2009-01-22 14:40:20 +00:00
Ilia Alshanetsky
fc6c8f5440
Improved parameter handling
2009-01-16 00:07:03 +00:00
Felipe Pena
51fc4e878d
- MFH: More suitable parameter checking
2009-01-07 22:55:38 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
a9455b5be6
- MFH: Fixed memory leak in readline_callback_handler_remove()
2008-11-21 22:27:02 +00:00
Felipe Pena
da067890db
- MFH: Fixed memory leaks in readline_completion_function()
2008-11-20 22:25:37 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Ilia Alshanetsky
4907faecd1
Fixed memory leak inside readline_callback_handler_install() function
2008-11-16 18:00:50 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Felipe Pena
39a0c5f4e6
- Fixed mem. leak
2008-09-10 13:47:29 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Felipe Pena
07444b4670
- Added arginfo
2008-07-14 17:50:47 +00:00
Felipe Pena
3ece9a2cf6
- New parameter parsing API
2008-06-25 15:06:58 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
c92668e768
Fixed a memory leak inside readline_completion_function() on non-callable
...
callback.
2007-02-12 01:23:17 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Nuno Lopes
ae77214f7f
fix gcc warning
2006-09-04 18:59:01 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
foobar
26b8b65c18
MFH: - Fixed bug #35409 (undefined reference to 'rl_completion_matches').
2005-11-28 16:51:16 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
d5847b9cf7
Fixed compiler warning.
2005-04-12 16:41:42 +00:00
Ilia Alshanetsky
779edcb01d
Proper fix for bug #31796 .
2005-02-04 00:21:50 +00:00
Ilia Alshanetsky
5879c5cf21
Fixed bug #31796 (readline completion handler does not handle empty return
...
values).
2005-02-03 22:45:36 +00:00
Wez Furlong
429b37d750
compile fix from Timm
2004-09-26 13:52:09 +00:00
Wez Furlong
9085689d6f
standardize the callback support to allow array($obj, 'method') callbacks.
...
Add a couple of utility functions.
2004-09-17 11:26:43 +00:00
Wez Furlong
bbd6dec20c
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();
}
}
2004-08-24 12:52:07 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Andrey Hristov
5fcc682ebc
proto fixes
2003-07-19 19:23:34 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
CHAILLAN Nicolas
2838df58fb
Very little fixes
2002-11-08 03:05:19 +00:00
Jan Lehnardt
6b3234f3d4
- fix build on FreeBSD, verified by thies.
2002-10-09 18:59:15 +00:00
Hartmut Holzgraefe
10811cd0d8
getting rid of the warn_not_available alias
2002-03-22 01:10:31 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00