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.
Sean Bright [Sun, 20 Jan 2002 04:55:40 +0000 (04:55 +0000)]
These PHP3_* macros aren't defined in the code, so these haven't been doing
anything for some time now (at least since 4.0 was released). So let's go
ahead and remove those.
# If I missed something obvious, let me know and I will revert the patch.
Edin Kadribasic [Sun, 20 Jan 2002 02:30:18 +0000 (02:30 +0000)]
Modified the build system to make certain extensions (pcntl, ncurses,
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
- Fixed passing parameters to domxml_xslt_process(). Now they can be either strings or XPath expressions.
- Several minor fixes in domxml_xslt_process().
Wez Furlong [Sat, 19 Jan 2002 14:06:52 +0000 (14:06 +0000)]
Make the decoder less strict to allow for brain-dead mailers that mark
messages as 7bit but then include 8bit chars in the body.
Thanks to Dan Fitzpatrick for bringing this to my attention.
shite :) too much WS fixes. leave the licence as it was...
# (why uses pear spaces and php tabs anyway... but i don't want to start another CS flame war ...)