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
Thies C. Arntzen
4526dd2078
remove some crap
2002-02-01 14:02:49 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
c033288573
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.
2001-09-25 21:58:48 +00:00
foobar
93311d9301
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)
2001-08-22 10:25:24 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Andi Gutmans
01ed33d1b6
- Pointed out by Andrei. zval_ptr_dtor() should be used instead of the
...
zval_del_ref() function which should be nuked.
2001-02-27 20:16:35 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Stanislav Malyshev
66dafaa2c5
Libedit readline replacement support
...
# Comments are very welcome!
2001-01-18 11:42:09 +00:00
Thies C. Arntzen
825457ae64
update my email.
2000-10-29 09:14:55 +00:00
Thies C. Arntzen
d33f42d53f
beautify
2000-08-24 15:29:50 +00:00
Stanislav Malyshev
7248d68d49
Fix segfault on readline without parameters
2000-08-24 14:41:12 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
92c87b1ba9
Make readline compilable as shared module
2000-05-02 04:26:48 +00:00