Jan Borsodi [Thu, 4 Jan 2001 12:29:08 +0000 (12:29 +0000)]
Removed some stupid header text.
Added a new struct for handling error logs and Qt Message Handler handles.
Added functions for returning the error string and starting and stopping the message handler.
Jan Borsodi [Thu, 4 Jan 2001 12:27:39 +0000 (12:27 +0000)]
New function qdom_error which returns the error text from the last qdom operation, or FALSE if none occured.
Fixed the documentation for the qdom_tree function.
Added init and shutdown code for some global variables.
Added code for starting and stopping the Qt Message Handler in qdom_tree.
Chuck Hagenbuch [Wed, 3 Jan 2001 18:24:20 +0000 (18:24 +0000)]
Mail.php: use the Mail_rfc822:: class to parse addresses. There is a small
performance penalty, but it handles rfc822 groups, which
imap_rfc822_parse_adrlist doesn't.
rfc822.php: Style fixes, some small tweaks/optimizations, and work around a
bit of object weirdness that caused the test for $this (to see if we were
being called statically) to not be sufficient.
Zeev Suraski [Tue, 2 Jan 2001 22:49:31 +0000 (22:49 +0000)]
Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
Zeev Suraski [Sat, 30 Dec 2000 00:38:47 +0000 (00:38 +0000)]
Fix a few possible bugs:
- engine=off in one or more vhosts could propogate to other vhosts
- Under some error situations, the default values for INI directives
could be erroneously replaced for a single request
Stig Venaas [Thu, 28 Dec 2000 23:50:42 +0000 (23:50 +0000)]
Hopefully solves some bad behavior in array_unique(), array_intersect()
and array_diff(). Now using SORT_STRING instead of SORT_REGULAR
@- Fixed misbehavior of array_unique(), array_intersect() and array_diff();
@ could in certain cases give wrong result or segfault (Stig Venaas)
Zeev Suraski [Tue, 26 Dec 2000 22:15:32 +0000 (22:15 +0000)]
Add Release_TSDbg support. This mode compiles PHP with the release C runtime,
but with optimizations disabled and with debug info. Some crashes can only
be debugged using this mode.
Sascha Schumann [Sun, 24 Dec 2000 16:03:16 +0000 (16:03 +0000)]
Run run-tests.php in srcdir and add top_builddir/pear to the include
path (does not seem to work though yet. The include path does not
seem to get changed at all).
Sascha Schumann [Sun, 24 Dec 2000 14:40:37 +0000 (14:40 +0000)]
Sync the expected output with Linux dirname output. The test passes now.
Perhaps this should be split into two tests, because the
Win32 paths don't work properly with PHP's dirname on Unix.
Sascha Schumann [Fri, 22 Dec 2000 21:11:34 +0000 (21:11 +0000)]
Set the floating-point exception mask on FreeBSD to 0 (as do other
FreeBSD system applications). Also bump up the module API number
as the zend_hash_get_current_key change affects source and binary
compatibility.
Sascha Schumann [Fri, 22 Dec 2000 16:34:11 +0000 (16:34 +0000)]
(php_file_copy) Use mmap to map the source file into our address space
and then simply write it out to the target file. That avoids switching
between user and kernel land too many times. If that does not work, we
fall back to the read/write method.
Andrei Zmievski [Fri, 22 Dec 2000 16:31:42 +0000 (16:31 +0000)]
(PHP preg_replace) Fix to allow proper escaping of captured subpattern
references in the replacement string.
(PHP array_sum) Check that argument is an array.