Edin Kadribasic [Wed, 30 Jan 2002 23:46:44 +0000 (23:46 +0000)]
Enable extensions to specify that they are not supposed to be
built with the CLI SAPI. This is done by passing "nocli" as the
3rd parameter to PHP_EXTENSION macro.
Marko Karppinen [Sun, 27 Jan 2002 03:37:02 +0000 (03:37 +0000)]
Enable developers to use PHP_ARG_ENABLE and PHP_ARG_WITH silently
to maintain legacy configure options without clutter in the
configure help and checking output.
# Hopefully this encourages module writers to finally adopt
# standard naming conventions for their configure options!
Marko Karppinen [Sat, 26 Jan 2002 23:57:17 +0000 (23:57 +0000)]
- Reorganized stuff in configure.in and added a few comments
# This isn't nearly as big a change as the diff would lead one to believe.
# I've tested this on all my machines and its working for sniper too.
- Added a check for ApplicationServices/ApplicationServices.h (Mac OS X)
- Added AC_PROG_CPP, AC_PROG_CXX and AC_PROG_CXXCPP
# (the bundled libmysql build was failing without them with ac2.52/OSX)
- Improved the IPv6 check to fail on Mac OS X (there's no IPv6 there yet)
Andi Gutmans [Fri, 25 Jan 2002 12:55:03 +0000 (12:55 +0000)]
- First destructor hell fix. There was a situation where an object's
- destructor could be run after its class was already dead. Right now
- object destructors is the first thing whic happens during shutdown in
- order to prevent this problem. It's very likely that destructors will
- cause more grief and we'll have to outline exactly when you should use
- them and what kind of logic you're allowed to do inside of them.
- This bug was reported by sebastian.
Derick Rethans [Fri, 25 Jan 2002 11:27:47 +0000 (11:27 +0000)]
- Added optional parameter to highlight_string and highlight_file which
makes these functions return a highlighted string instead of dumping
to standard output. (Derick)
@- Added optional parameter to highlight_string and highlight_file which
@ makes these functions return a highlighted string instead of dumping
@ to standard output. (Derick)
Rasmus Lerdorf [Fri, 25 Jan 2002 09:01:02 +0000 (09:01 +0000)]
(extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags
@- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
@ EXTR_IF_EXISTS only extracts a variable if it already exists
@ EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and
@ then it prepends the prefix to it. ie. if $PATH exists then
@ extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH
@ This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS);
@ and you only get the global request variables you have defined imported
@ into your symbol table. (Rasmus)
Yasuo Ohgaki [Fri, 25 Jan 2002 00:51:03 +0000 (00:51 +0000)]
Added "pgsql.auto_reset_persistent" ini entry to catch broken connection
always with pg_pconnect(). (Default Off in source and php.ini-*)
This option requires a little overhead for pg_pconnect().
Yasuo Ohgaki [Thu, 24 Jan 2002 09:27:43 +0000 (09:27 +0000)]
Revert last 2 commit. Instead, make php_pgsql_do_connect() to catch
broken connection always.
# I think this is better than check&reset connection when query
# functions are called.
Sean Bright [Tue, 22 Jan 2002 03:35:23 +0000 (03:35 +0000)]
Fix for bug #15130. Way too much effort for this bug, but cleaned up code
a bit, use zend_parse_parameters(), etc, etc. We only look for extensions
in the basename, not the full path.
Jon Parise [Mon, 21 Jan 2002 18:25:04 +0000 (18:25 +0000)]
Adding Archive/Tar.php to php4/pear/. This is needed in order for the
phptar script (php4/pear/scripts/phptar) to be useful, so it makes sense
to make Archive/Tar.php a standard component.
Dan Kalowsky [Mon, 21 Jan 2002 14:11:17 +0000 (14:11 +0000)]
this closes off a number of ODBC bugs.
# this is a bit hack-ish in it's functionality. The proper answer (allowing
# users to set their cursor type) has bugs with some tests cases at this time.
# But this is being done to just get ODBC back into working order.