php-src/ChangeLog

2287 lines
62 KiB
Plaintext
Raw Normal View History

2003-01-22 09:33:11 +08:00
2003-01-21 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/mbstring/php_mbregex.c:
Oops! wrong patch. Reverted.
* ext/mbstring/php_mbregex.c:
Fixed mb_ereg_replace() bug (the function has ignored the default option)
* tests/lang/bug21800.phpt:
Added test case for bug #21800
* ext/mbstring/php_mbregex.c:
Fixed mb_ereg_search() segfault that occurs when the function is called
before a string to be searched is passed by mb_ereg_search_init()
2003-01-21 Andrey Hristov <andrey@webgate.bg>
* ext/sysvshm/sysvshm.c:
increasing readability.
2003-01-21 Ilia Alshanetsky <ilia@prohost.org>
* ext/odbc/birdstep.c:
getParameters -> zend_get_parameters_ex.
* ext/fbsql/php_fbsql.c
ext/mbstring/mbstring.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/file.c
ext/standard/string.c
sapi/apache/php_apache.c
sapi/apache_hooks/php_apache.c:
ARG_COUNT(ht) -> ZEND_NUM_ARGS().
2003-01-21 Stig Bakken <ssb@fast.no>
* pear/PEAR.php
pear/package-PEAR.xml:
- PEAR_Error now supports exceptions when using Zend Engine 2. Set the
error mode to PEAR_ERROR_EXCEPTION to make PEAR_Error throw itself
as an exception (invoke PEAR errors with raiseError() or throwError()
just like before).
2003-01-21 Sascha Schumann <sascha@schumann.cx>
* (PHP_4)
main/SAPI.h:
cvs server: warning: file `main/SAPI.h' seems to still contain conflict
indicators
..but it checks it in nevertheless.
* main/SAPI.c
main/SAPI.h
sapi/apache/mod_php4.c:
add sapi_get_target_uid/_gid for obtaining information about the
non-privileged user the web server is running as. this is useful
for creating shared memory segments which need to be accessed by
the child processes/threads.
2003-01-21 Jani Taskinen <sniper@iki.fi>
* (PHP_4_3)
sapi/apache2filter/config.m4:
MFH: Fixed bug: #21698, httpd.conf not modified with "make install"
* sapi/apache2filter/config.m4:
Fixed bug: #21698, httpd.conf not modified with "make install"
* ext/ircg/config.m4:
fix typo
* (PHP_4_3)
ext/ircg/config.m4:
MFH: Fix bug: #21249, configure fails when searching for ircg-config script
* ext/ircg/config.m4:
Fix bug: #21249, configure fails when searching for ircg-config script
2003-01-21 Edin Kadribasic <edink@proventum.net>
* sapi/embed/EXPERIMENTAL
sapi/embed/config.m4:
Added missing warning about experimental nature of sapi/embed.
2003-01-21 Pierre-Alain Joye <paj@pearfr.org>
* ext/gd/libgd/gd.c:
Remove the (c), in the future, can we add PHP Licence terms for the new
functions ?
* ext/gd/libgd/gd.c:
Add credits to my functions (thx for the advice Wez&Ilia :)
2003-01-21 09:33:07 +08:00
2003-01-20 Ilia Alshanetsky <ilia@prohost.org>
* ext/imap/php_imap.c
ext/imap/php_imap.h:
quota function fixes. Thanks Wez.
* ext/imap/php_imap.c:
Changed php_error to php_error_docref.
Removed pointless memory allocation checks.
Memory leak fix inside quota functions.
2003-01-20 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/pcre/php_pcre.c:
Fixed bug #21758
2003-01-20 Ilia Alshanetsky <ilia@prohost.org>
* ext/msession/msession.c:
Restore php_error -> php_error_docref patch.
2003-01-20 Sascha Schumann <sascha@schumann.cx>
* README.TESTING:
test commit
2003-01-20 Derick Rethans <d.rethans@jdimedia.nl>
* ext/standard/credits.c:
- Add credits for Magnus
2003-01-20 Jani Taskinen <sniper@iki.fi>
* ext/gd/config.m4:
Add test for png.h
2003-01-20 Mark L. Woodward <mlwmohawk@mohawksoft.com>
* ext/msession/README
ext/msession/msession.c
ext/msession/php_msession.h
ext/msession/reqclient.h:
Updated for Msession 1.2.
Includes new APIs
2003-01-20 09:32:16 +08:00
2003-01-19 Ilia Alshanetsky <ilia@prohost.org>
* ext/oracle/oracle.c:
ZTS fix.
2003-01-19 Zeev Suraski <zeev@zend.com>
* acinclude.m4
configure.in:
relabel
2003-01-19 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/scanf.c:
Improved the patched part to prevent further potential bugs
2003-01-19 Ilia Alshanetsky <ilia@prohost.org>
* ext/oracle/oracle.c:
fixed typos
2003-01-19 Derick Rethans <d.rethans@jdimedia.nl>
* README.TESTING:
- Moved to http://qa.php.net/write-test.php
2003-01-19 Harald Radi <harald.radi+coding.php@nme.at>
* ext/standard/basic_functions.c
main/php_ini.c:
ini patch to allow 'entry[] = value' entries
2003-01-19 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/string.c
ext/standard/tests/strings/bug21744.phpt:
Fixed bug #21744(21741)
Added test case for the bug
2003-01-19 Ilia Alshanetsky <ilia@prohost.org>
* ext/dbase/dbf_rec.c
ext/oci8/oci8.c
ext/oracle/oracle.c
ext/rpc/com/com.c
ext/rpc/com/conversion.c
ext/rpc/java/java.c
ext/w32api/w32api.c:
ZTS fixes.
* ext/mcal/php_mcal.c:
Changed php_error to php_error_docref.
Make mcal compile with ZE2.
* ext/dbase/dbf_rec.c
ext/dio/dio.c
ext/hwapi/hwapi.cpp
ext/ingres_ii/ii.c
ext/mime_magic/mime_magic.c
ext/oci8/oci8.c
ext/oracle/oracle.c
ext/ovrimos/ovrimos.c
ext/pcre/php_pcre.c
ext/pdf/pdf.c
ext/pfpro/pfpro.c
ext/posix/posix.c
ext/pspell/pspell.c
ext/recode/recode.c
ext/rpc/com/com.c
ext/rpc/com/com_wrapper.c
ext/rpc/com/conversion.c
ext/rpc/com/variant.c
ext/rpc/dotnet/dotnet.cpp
ext/rpc/java/java.c
ext/session/session.c
ext/snmp/winsnmp.c
ext/standard/filters.c
ext/sysvsem/sysvsem.c
ext/sysvshm/sysvshm.c
ext/w32api/w32api.c:
Changed php_error to php_error_docref.
2003-01-19 09:50:24 +08:00
2003-01-18 Derick Rethans <d.rethans@jdimedia.nl>
* ext/standard/credits.c:
s/4.4/5.0
2003-01-18 Ilia Alshanetsky <ilia@prohost.org>
* ext/bz2/bz2.c
ext/curl/interface.c
ext/cyrus/cyrus.c
ext/ircg/ircg.c
ext/ldap/ldap.c
ext/mnogosearch/php_mnogo.c
ext/msession/msession.c
ext/msql/php_msql.c
ext/mssql/php_mssql.c
ext/odbc/birdstep.c
ext/odbc/php_odbc.c
ext/sysvmsg/sysvmsg.c
ext/xslt/sablot.c:
Changed php_error to php_error_docref.
Thanks to Marcus B<>rger for writing a script that significantly simplifies
this process.
* ext/pcre/php_pcre.c:
Fixed bug #21732 (Added a sanity check, that prevents parameter mismatch).
* ext/swf/swf.c
ext/xslt/sablot.c
ext/yp/yp.c
ext/zip/zip.c:
Changed php_error to php_error_docref.
* ext/wddx/wddx.c
ext/yaz/php_yaz.c:
Removed pointless memory allocation checks.
Changed php_error to php_error_docref.
* ext/bz2/bz2.c
ext/db/db.c
ext/dba/dba.c
ext/dbx/dbx.c
ext/dbx/dbx_odbc.c
ext/domxml/php_domxml.c
ext/fbsql/php_fbsql.c
ext/fdf/fdf.c
ext/hwapi/hwapi.cpp
ext/hyperwave/hw.c
ext/iconv/iconv.c
ext/informix/ifx.ec
ext/ingres_ii/ii.c
ext/interbase/interbase.c
ext/ldap/ldap.c
ext/mbstring/mbstring.c
ext/mbstring/php_mbregex.c
ext/mcal/php_mcal.c
ext/mcrypt/mcrypt.c
ext/mnogosearch/php_mnogo.c
ext/msql/php_msql.c
ext/mssql/php_mssql.c
ext/mysql/php_mysql.c
ext/oci8/oci8.c
ext/odbc/php_odbc.c
ext/openssl/openssl.c
ext/oracle/oracle.c
ext/ovrimos/ovrimos.c
ext/pdf/pdf.c
ext/pgsql/pgsql.c
ext/posix/posix.c
ext/pspell/pspell.c
ext/qtdom/qtdom.c
ext/session/session.c
ext/sockets/sockets.c
ext/standard/exec.c
ext/standard/file.c
ext/standard/image.c
ext/standard/info.c
ext/standard/metaphone.c
ext/standard/string.c
ext/xml/php_xml.h
ext/xml/xml.c
ext/zlib/zlib.c
sapi/aolserver/aolserver.c
sapi/apache/php_apache.c
sapi/apache2filter/php_functions.c
sapi/apache_hooks/php_apache.c:
Removed pointless memory allocation checks.
2003-01-18 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* tests/lang/bug21094.phpt:
Added test case for bug #21094
* ext/standard/scanf.c:
WS
2003-01-18 Marcus Boerger <marcus.boerger@post.rwth-aachen.de>
* ext/exif/exif.c:
correct my fault here and documnet the sense of the test
2003-01-18 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/tests/strings/bug21730.phpt:
Fixed typo
* ext/standard/tests/strings/bug21730.phpt:
Added test case for bug #21730
2003-01-18 Ilia Alshanetsky <ilia@prohost.org>
* ext/exif/exif.c:
Additional memory allocation fixes by Marcus B<>rger.
2003-01-18 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/scanf.c:
Tons of WS fixes
2003-01-18 Ilia Alshanetsky <ilia@prohost.org>
* ext/exif/exif.c:
Removed the no longer needed memory allocation checks.
2003-01-18 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/scanf.c:
Fixed bug #21726 and #21730
2003-01-18 Andrey Hristov <andrey@webgate.bg>
* ext/standard/basic_functions.c
ext/standard/php_var.h
ext/standard/var.c:
Renamed get_memory_usage() to memory_get_usage() (per Andi's advice)
This doesn't break any BC.
2003-01-18 Wez Furlong <wez.php@thebrainroom.net>
* ext/standard/file.c:
Fix potential problem for 64-bit architectures.
2003-01-18 Derick Rethans <d.rethans@jdimedia.nl>
* ext/standard/file.c:
- Fixed memleak in fscanf().
* ext/standard/tests/general_functions/proc_open.phpt:
- Skip test if the function to test is not available
2003-01-18 Jani Taskinen <sniper@iki.fi>
* (PHP_4_3)
ext/imap/config.m4
ext/imap/php_imap.c:
MFH: Fix bug: #21687, imap extension does not include gss authentication
mechanism
* ext/imap/config.m4
ext/imap/php_imap.c:
Fix bug: #21687, imap extension does not include gss authentication
mechanism
2003-01-18 09:33:47 +08:00
2003-01-17 Ilia Alshanetsky <ilia@prohost.org>
* ext/standard/tests/image/getimagesize.phpt:
Added missing test result.
2003-01-17 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* header:
Bump year.
* win32/md5crypt.c:
WS fix
2003-01-17 Ilia Alshanetsky <ilia@prohost.org>
* ext/gd/gd.c:
Removed pointless checks of array_init() return value.
2003-01-17 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Fixed a quoted printable decoder so that it would conform to RFC2045.
2003-01-17 Sascha Schumann <sascha@schumann.cx>
* sapi/thttpd/thttpd.c
sapi/thttpd/thttpd_patch:
Fix POST handling once and for all. The daemon now never blocks and
handles
uploads of up to 2GB on 32 bit platforms.
Uploads >16KB are put into a file-backed mmap area.
SG(request_info).content_type got corrupted somewhere. As a workaround,
we provide SAPI with a duplicate of the original string.
2003-01-17 Marcus Boerger <marcus.boerger@post.rwth-aachen.de>
* ext/standard/image.c
ext/standard/tests/image/image_type_to_mime_type.phpt
ext/standard/tests/image/test1pix.jp2:
fix jp2 detection and add testfile
2003-01-17 Ilia Alshanetsky <ilia@prohost.org>
* ext/gd/gd.c
ext/gd/libgd/gd.c
ext/gd/libgd/gd.h
ext/gd/libgd/gd_gd2.c
ext/gd/libgd/gd_jpeg.c:
Syncronize bundled GD library with latest GD (2.0.11).
2003-01-17 Derick Rethans <d.rethans@jdimedia.nl>
* (PHP_4_3)
ext/standard/info.c:
- MFH: Fixed a bug that made that no newline was displayed when there was
no
value for a row.
* ext/standard/info.c:
- Fixed a bug that made that no newline was displayed when there was no
value
for a row.
2003-01-17 Andrey Hristov <andrey@webgate.bg>
* ext/swf/swf.c:
Removed pointless checks around array_init().
2003-01-17 Ilia Alshanetsky <ilia@prohost.org>
* ext/imap/php_imap.c:
Fixed memory leaks in imap_get_quota & imap_get_quotaroot.
Removed pointless checks around array_init().
2003-01-17 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Significant speed enhancements. I was underestimating the power of recent
CPUs :)
2003-01-17 Sebastian Bergmann <sb@sebastian-bergmann.de>
* main/internal_functions_win32.c:
Move ZEND_ENGINE_2 check to where it is defined.
2003-01-17 09:36:11 +08:00
2003-01-16 Harald Radi <harald.radi+coding.php@nme.at>
* main/config.w32.h
main/internal_functions_win32.c:
move the ZE2 check into internal_functions_win32.c
* ext/bcmath/libbcmath/src/config.h:
revert previous commit
* ext/bcmath/libbcmath/src/config.h:
unbreak the build
2003-01-16 Ilia Alshanetsky <ilia@prohost.org>
* ext/pdf/pdf.c:
Fixed bug #21651 (crash in pdf_open_memory_image() when inserting a
non truecolor image).
2003-01-16 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Finally fixed a qp encoder bug that line break characters that appear
exactly
at the end of the chunk lost in the output.
2003-01-16 Marcus Boerger <marcus.boerger@post.rwth-aachen.de>
* ext/standard/tests/image/getimagesize.phpt
ext/standard/tests/image/image_type_to_mime_type.phpt:
- JPEG 2000 support
* ext/standard/image.c
ext/standard/php_image.h:
- corrected error in file detection for very small files
- JPEG 2000 support, mostly Adam Wright <adam@elysium.ltd.uk>
2003-01-16 Harald Radi <harald.radi+coding.php@nme.at>
* ext/rpc/java/java.dsp:
change library name
* ext/rpc/skeleton/php_skeleton.h
ext/rpc/skeleton/skeleton.c
ext/rpc/skeleton/skeleton.h:
update skeleton
* win32/php4dllts.dsp:
fix path to config.w32.h
* main/internal_functions_win32.c:
add COM
* main/config.w32.h:
prevent HEAD + ZE1 builds and add COM
* ext/rpc/com/com.dsp:
for those who prefer to have com as a shared lib
2003-01-16 Sascha Schumann <sascha@schumann.cx>
* (PHP_4)
configure.in
main/php_version.h:
Open up the PHP_4 branch which has been derived from the current PHP_4_3
branch, so we don't introduce any ZE2-related changes.
This branch has the purpose of housing experimental patches in the
context of PHP 4/ZE1. Patches which don't qualify as bug fixes
should not be committed to the PHP_4_3 branch.
Note: The code on this branch is unlikely to be ever released in the form
of a standard PHP release. Commit new features to the HEAD branch!
Patches for this branch should be the exception.
Note: The version is "4.5.0", because 4.4.0 has been used for some time
in HEAD before being switched to 5.0.0. I would have used something
like "4.X.X", but letters are not really supported by the current
system.
2003-01-16 Harald Radi <harald.radi+coding.php@nme.at>
* ext/rpc/handler.h
ext/rpc/layer.h
ext/rpc/php_rpc.h
ext/rpc/rpc.c
ext/rpc/rpc.h
ext/rpc/com/com.c
ext/rpc/com/com.h
ext/rpc/com/php_com.h
ext/rpc/skeleton/skeleton.c
ext/rpc/skeleton/skeleton.h:
make layers loadable as self-sustaining php extension
which registeres itself in the rpc framework.
2003-01-16 Dan Kalowsky <dank@deadmime.org>
* ext/odbc/php_odbc.h:
typo corrected
* ext/odbc/php_odbc.c
ext/odbc/php_odbc.h:
Adding in test ability for WIndows to fetch_objects
2003-01-16 Edin Kadribasic <edink@proventum.net>
* ext/standard/math.c:
Fixed bug #21648
2003-01-16 Sascha Schumann <sascha@schumann.cx>
* php.ini-dist
php.ini-recommended
ext/session/mod_files.c
ext/session/php_session.h
ext/session/session.c:
Add INI setting session.hash_bits_per_character which enables developers
to choose how session ids are represented, regardless of the hash
algorithm.
2003-01-16 Ilia Alshanetsky <ilia@prohost.org>
* ext/oracle/oracle.c:
Fixed bug #20079 (made ora_logoff return TRUE on success).
2003-01-16 09:33:30 +08:00
2003-01-15 Edin Kadribasic <edink@proventum.net>
* win32/php_modules.dsw:
Added some missing modules. Removed some that are built in or moved to
ext/rpc.
2003-01-15 Harald Radi <harald.radi+coding.php@nme.at>
* (PHP_4_3)
ext/rpc/.cvsignore
ext/rpc/CREDITS
ext/rpc/EXPERIMENTAL
ext/rpc/RPC_HOWTO
ext/rpc/handler.h
ext/rpc/hash.h
ext/rpc/layer.h
ext/rpc/php_rpc.h
ext/rpc/rpc.c
ext/rpc/rpc.h
ext/rpc/rpc_proxy.c
ext/rpc/rpc_proxy.h
ext/rpc/com/.cvsignore
ext/rpc/com/CREDITS
ext/rpc/com/TODO
ext/rpc/com/com.c
ext/rpc/com/com.h
ext/rpc/com/com_wrapper.c
ext/rpc/com/com_wrapper.h
ext/rpc/com/conversion.c
ext/rpc/com/conversion.h
ext/rpc/com/dispatch.c
ext/rpc/com/variant.c
ext/rpc/com/variant.h
ext/rpc/dotnet/.cvsignore
ext/rpc/dotnet/CREDITS
ext/rpc/dotnet/EXPERIMENTAL
ext/rpc/dotnet/README
ext/rpc/dotnet/dotnet.cpp
ext/rpc/dotnet/dotnet.dsp
ext/rpc/dotnet/dotnet.php
ext/rpc/dotnet/php_dotnet.h
ext/rpc/java/.cvsignore
ext/rpc/java/CREDITS
ext/rpc/java/EXPERIMENTAL
ext/rpc/java/Makefile.frag
ext/rpc/java/README
ext/rpc/java/config.m4
ext/rpc/java/except.php
ext/rpc/java/java.c
ext/rpc/java/java.dsp
ext/rpc/java/jawt.php
ext/rpc/java/jver.php
ext/rpc/java/reflect.java
ext/rpc/skeleton/skeleton.c
ext/rpc/skeleton/skeleton.h
ext/rpc/tests/test1.php
ext/rpc/tests/test2.php
ext/rpc/tests/test3.php
ext/rpc/tests/test4.php
ext/rpc/tests/tests.php
ext/rpc/xmlrpc/.cvsignore
ext/rpc/xmlrpc/CREDITS
ext/rpc/xmlrpc/EXPERIMENTAL
ext/rpc/xmlrpc/config.m4
ext/rpc/xmlrpc/php_xmlrpc.h
ext/rpc/xmlrpc/xmlrpc-epi-php.c
ext/rpc/xmlrpc/xmlrpc.dsp
ext/rpc/xmlrpc/libxmlrpc/.cvsignore
ext/rpc/xmlrpc/libxmlrpc/README
ext/rpc/xmlrpc/libxmlrpc/acinclude.m4
ext/rpc/xmlrpc/libxmlrpc/base64.c
ext/rpc/xmlrpc/libxmlrpc/base64.h
ext/rpc/xmlrpc/libxmlrpc/encodings.c
ext/rpc/xmlrpc/libxmlrpc/encodings.h
ext/rpc/xmlrpc/libxmlrpc/queue.c
ext/rpc/xmlrpc/libxmlrpc/queue.h
ext/rpc/xmlrpc/libxmlrpc/simplestring.c
ext/rpc/xmlrpc/libxmlrpc/simplestring.h
ext/rpc/xmlrpc/libxmlrpc/system_methods.c
ext/rpc/xmlrpc/libxmlrpc/system_methods_private.h
ext/rpc/xmlrpc/libxmlrpc/xml_element.c
ext/rpc/xmlrpc/libxmlrpc/xml_element.h
ext/rpc/xmlrpc/libxmlrpc/xml_to_dandarpc.c
ext/rpc/xmlrpc/libxmlrpc/xml_to_dandarpc.h
ext/rpc/xmlrpc/libxmlrpc/xml_to_soap.c
ext/rpc/xmlrpc/libxmlrpc/xml_to_soap.h
ext/rpc/xmlrpc/libxmlrpc/xml_to_xmlrpc.c
ext/rpc/xmlrpc/libxmlrpc/xml_to_xmlrpc.h
ext/rpc/xmlrpc/libxmlrpc/xmlrpc.c
ext/rpc/xmlrpc/libxmlrpc/xmlrpc.h
ext/rpc/xmlrpc/libxmlrpc/xmlrpc.m4
ext/rpc/xmlrpc/libxmlrpc/xmlrpc_introspection.c
ext/rpc/xmlrpc/libxmlrpc/xmlrpc_introspection.h
ext/rpc/xmlrpc/libxmlrpc/xmlrpc_introspection_private.h
ext/rpc/xmlrpc/libxmlrpc/xmlrpc_private.h
ext/rpc/xmlrpc/libxmlrpc/xmlrpc_win32.h:
removing this stuff from the php 4.3 branch
2003-01-15 Sascha Schumann <sascha@schumann.cx>
* main/SAPI.h:
scrap STANDARD_SAPI_MODULE_PROPERTIES; it is causing more harm than good
2003-01-15 Ilia Alshanetsky <ilia@prohost.org>
* ext/interbase/interbase.c:
More build fixes.
2003-01-15 Wez Furlong <wez.php@thebrainroom.net>
* ext/standard/basic_functions.c
ext/standard/exec.h
ext/standard/proc_open.c
ext/standard/proc_open.h
ext/standard/tests/general_functions/proc_open.phpt:
Relieve scripts of the burden of ensuring that all pipes are closed prior
to calling proc_close().
Implement proc_get_status(resource $process) which returns an array of
information about a process created with proc_open().
The information includes:
array(
"command" => string "name of the command",
"pid" => long process identifier,
"running" => bool true if the process is still running
"exitcode" => long exitcode if the process exited
"signaled" => bool true if the process was signaled
"termsig" => long signal number if signaled
"stopped" => bool true if the process is stopped
"stopsig" => long signal number if stopped
);
2003-01-15 Ilia Alshanetsky <ilia@prohost.org>
* ext/informix/ifx.ec:
Fixed a typo.
2003-01-15 Sebastian Bergmann <sb@sebastian-bergmann.de>
* main/config.w32.h:
Define PHP_CAN_SUPPORT_PROC_OPEN.
* win32/php4dll.dsp
win32/php4dllts.dsp:
Add proc_open.c to project.
2003-01-15 Wez Furlong <wez.php@thebrainroom.net>
* ext/standard/basic_functions.c
ext/standard/config.m4
ext/standard/exec.c
ext/standard/proc_open.c:
- Move proc_open code to a source file of it's own.
- Tidy up that netware mess by performing a configure check which will
define the symbol PHP_CAN_SUPPORT_PROC_OPEN if PHP can support
proc_open.
- Protected the proc_open specific code with #ifdef
PHP_CAN_SUPPORT_PROC_OPEN
so that user-space scripts can use function_exists and react
accordingly.
** Heads Up Win32: You need to add ext/standard/proc_open.c to the DSP and
** #define PHP_CAN_SUPPORT_PROC_OPEN in the w32 config header.
2003-01-15 Jani Taskinen <sniper@iki.fi>
* (PHP_4_3)
ext/session/mod_files.c:
MFH: handle ERANGE from strtol properly
2003-01-15 Ilia Alshanetsky <ilia@prohost.org>
* ext/interbase/interbase.c:
Build fixes.
2003-01-15 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Fixed a qp encoder bug that the constructor sometimes fails if
line-breaking mode is off.
2003-01-15 Ilia Alshanetsky <ilia@prohost.org>
* ext/rpc/java/java.c:
Typo fixes.
* ext/informix/ifx.ec:
Fixed typo.
* ext/sybase/php_sybase_db.c
ext/sybase_ct/php_sybase_ct.c:
Various corrections.
* ext/interbase/interbase.c:
Fixed typos.
* ext/dbase/dbase.c:
Typo corrections.
2003-01-15 Sascha Schumann <sascha@schumann.cx>
* main/SAPI.c
main/SAPI.h:
whitespace
2003-01-15 Yasuo Ohgaki <yohgaki@ohgaki.net>
* ext/pgsql/pgsql.c:
Fixed proto
2003-01-15 Adam Dickmeiss <adam@indexdata.dk>
* ext/yaz/php_yaz.c
ext/yaz/php_yaz.h:
Fix functions comments (connection resource rather than connection id).
New functions yaz_set_option and yaz_get_option.
Cleanup in yaz_connect.
* ext/yaz/config.m4:
Fix lib config for the case where YAZ depends on multiple libraries
2003-01-15 Ilia Alshanetsky <ilia@prohost.org>
* ext/interbase/interbase.c:
Kill compile warning.
* ext/informix/ifx.ec
ext/interbase/interbase.c
ext/sybase/php_sybase_db.c
ext/sybase_ct/php_sybase_ct.c:
Newer parameter parsing API.
* ext/hwapi/hwapi.cpp
ext/hyperwave/hw.c
ext/qtdom/qtdom.c
ext/rpc/dotnet/dotnet.cpp
ext/rpc/java/java.c
ext/snmp/winsnmp.c:
Getting rid of the old API parsing code.
* ext/filepro/filepro.c:
Changed php_error to php_error_docref.
Made use of the more recent parameter parsing API, zend_get_parameters*.
* ext/dbase/dbase.c:
Removed pointless checks around array_init() & ZE memory allocation macros.
Changed php_error to php_error_docref.
Dropped getParam* parameter parsing API in favor of zend_get_parameters*.
* ext/cpdf/cpdf.c
ext/cpdf/php_cpdf.h:
This patch allows cpdf to be compiled in conjunction with ncurses, which
was
not possible before due to conflicting defines.
2003-01-15 09:34:55 +08:00
2003-01-14 Ilia Alshanetsky <ilia@prohost.org>
* ext/rpc/xmlrpc/xmlrpc-epi-php.c:
Porting of patch applied to ext/xmlrpc.
* ext/xmlrpc/xmlrpc-epi-php.c:
Made the code use php_error_docref().
Removed pointless checks around array_init() and emalloc().
Switched to zend_get_parameters_ex() argument parsing API.
* ext/domxml/php_domxml.c:
Changed getParameters() to zend_get_parameters_ex().
* ext/hyperwave/hw.c:
Fixed compile warnings.
* ext/cpdf/cpdf.c:
One more typo.
* ext/cpdf/cpdf.c:
Fixed typos.
2003-01-14 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/iconv/iconv.c:
Appended my name to the list of authors
* ext/iconv/tests/iconv_mime_decode.phpt:
Test update for new feature
2003-01-14 Ilia Alshanetsky <ilia@prohost.org>
* ext/cpdf/cpdf.c:
Switched from old getParse* argument parsing API to a more recent
zend_get_parameters*.
2003-01-14 Andrey Hristov <andrey@webgate.bg>
* ext/standard/basic_functions.c
ext/standard/php_var.h
ext/standard/var.c:
added function get_memory_usage(). available only when PHP is compiled
with --enable-memory-limit
2003-01-14 Ilia Alshanetsky <ilia@prohost.org>
* ext/hyperwave/hg_comm.c:
Fixed compile warning & removed useless variable.
* ext/hyperwave/hw.c:
Changed php_error to php_error_docref.
Got rid off the ancient getParameters* parameter parsing API.
2003-01-14 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Added a new option "force-encode-first" to the quoted-printable encoder
as per Wez's request. If enabled, the encoder forcefully does qp
tranformation on every first character of lines in incoming stream.
2003-01-14 Ilia Alshanetsky <ilia@prohost.org>
* ext/cpdf/cpdf.c:
Changed php_error() to php_error_docref().
Made pdfdoc retrieval a macro.
2003-01-14 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/quot_print.c:
Made php_quot_print_decode() RFC2045-compliant
2003-01-14 Edin Kadribasic <edink@proventum.net>
* (PHP_4_3)
NEWS:
Bugfixing news
* ext/gettext/gettext.dsp:
MFB: bind_textdomain_codeset() availability on windows
* (PHP_4_3)
ext/gettext/gettext.dsp:
Made bind_textdomain_codeset() available on windows (fixes #21525).
2003-01-14 Derick Rethans <d.rethans@jdimedia.nl>
* win32/install.txt:
s/gd/gd2
2003-01-14 Ilia Alshanetsky <ilia@prohost.org>
* ext/sockets/sockets.c:
Changed php_error to php_error_docref().
Removed pointless checks around array_init().
2003-01-14 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Fixed small memory leak that occurs when the invalid line length is passed
to the qprint ctor.
* ext/standard/filters.c:
Fixed quoted-printable encoder so that it produces RFC2045 complicant
output. As per this specification requirement, the constructor now accepts
three options: binary (boolean), line-len (uint), line-break-chars
(string).
2003-01-14 09:35:54 +08:00
2003-01-13 Jani Taskinen <sniper@iki.fi>
* ext/informix/config.m4
ext/informix/config.m4:
Fixed bug: #21543, Informix version detection fails
2003-01-13 Frank M. Kromann <frank@kromann.info>
* ext/rpc/com/conversion.c:
false should be VT_FALSE
2003-01-13 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* (PHP_4_3)
tests/run-test/test008.phpt:
MFH
* tests/run-test/test008.phpt:
Fixed typoFixed typoFixed typoFixed typoFixed typoFixed typoFixed typoFixed
typo
2003-01-13 Andrey Hristov <andrey@webgate.bg>
* ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/php_array.h:
added array_combine().
Creates an array by using the elements of the first parameter as keys and
the elements of the second as correspoding keys. Error is thrown in case
the arrays has different number of elements. Number of elements 0 is not
valid for both parameters.
2003-01-13 Edin Kadribasic <edink@proventum.net>
* sapi/servlet/servlet.dsp:
Adjust paths for the new location of ext/rpc/java
* ext/rpc/java/java.dsp:
Adjust paths to the new location java.dsp
* ext/rpc/xmlrpc/xmlrpc-epi-php.c:
Fix ZTS build here too.
* ext/xmlrpc/xmlrpc-epi-php.c:
Fixed ZTS build.
2003-01-13 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Fixed a silly segfault bug caused by lack of strict type checking
2003-01-13 Sascha Schumann <sascha@schumann.cx>
* build/buildcheck.sh:
which is not portable. use our bundled shtool instead.
2003-01-13 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
. Implemented a common filter parameter parsing function.
. Added automatic line-breaking feature for base64 encode filter. This
can be turned on by putting a option entry "base64-encode.line-length"
to the filter parameters.
2003-01-13 Derick Rethans <d.rethans@jdimedia.nl>
* ext/domxml/php_domxml.c:
- Fix ZTS build
2003-01-13 09:34:00 +08:00
2003-01-12 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* tests/lang/bug21600.phpt:
Added test case for bug #21600
* ext/standard/filters.c:
Fixed a bug of the base64 decoder that a sequence of intervening
characters that are supposed to be ignored by the decoder cause output
corruption.
2003-01-12 Stanislav Malyshev <stas@zend.com>
* ext/standard/aggregation.c:
ZE2 compatibility
2003-01-12 Sebastian Bergmann <sb@sebastian-bergmann.de>
* ext/standard/basic_functions.c
ext/standard/info.c:
ZTS fixes.
2003-01-12 Stanislav Malyshev <stas@zend.com>
* ext/standard/aggregation.c:
Disable ZE2-incompatible parts
* ext/standard/var.c:
remove unneeded var
2003-01-12 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Fixed infinite loop bug when an invalid quoted-printable escape sequence
appears in the streem.
* ext/standard/filters.c:
Fixed error msg format so it correctly reports the actual filter name
2003-01-12 Sascha Schumann <sascha@schumann.cx>
* php.ini-recommended:
recommending SHA-1 as hash function
* php.ini-dist:
sync entries
* php.ini-dist
php.ini-recommended
ext/session/php_session.h
ext/session/session.c:
add INI setting session.hash_function
add support for creating session ids using SHA-1
source more entropy for session ids
* ext/session/mod_files.c:
handle ERANGE from strtol properly
2003-01-12 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
. Updated quoted-printable filter by a neater implementation.
. Changed emalloc family functions to pemalloc ones for persistent
filters.
. Changed base64 and quoted-printable filter names to
"convert.base64-encode",
"convert.base64-decode", "convert.quoted-printable-encode", and
"convert.quoted-printable-decode" respectively for the consistency that
may be requested later.
2003-01-12 Derick Rethans <d.rethans@jdimedia.nl>
* NEWS:
- Update NEWS to show 5.0.0
2003-01-12 Jan Lehnardt <jan@dasmoped.net>
* run-tests.php:
- fix typo
2003-01-12 Sebastian Bergmann <sb@sebastian-bergmann.de>
* ext/rpc/java/config.m4
sapi/servlet/Makefile.frag
sapi/servlet/config.m4
sapi/servlet/servlet.c
sapi/servlet/servlet.c
sapi/servlet/servlet.java:
Patch by Giuseppe Tanzilli <g.tanzilli@gruppocsf.com>.
2003-01-12 Frank M. Kromann <frank@kromann.info>
* ext/mssql/php_mssql.c:
Release skiped results. This will free memory on the server.
Make mssql_execute work for stored procedures with and without returning
result sets
2003-01-12 09:31:51 +08:00
2003-01-11 Ilia Alshanetsky <ilia@prohost.org>
* ext/sybase_ct/php_sybase_ct.c:
Do not 'convert' double columns to integers after the 1st row in the result
set.
* ext/sybase_ct/php_sybase_ct.c:
Fixed handling of NUMERIC type, when it contains numbers that could
potentially exceed the interger limit.
2003-01-11 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/browscap.c
ext/standard/datetime.c
ext/standard/file.c
ext/standard/formatted_print.c
ext/standard/pack.c
ext/standard/reg.c
ext/standard/string.c:
Reverted because correct decision has not been made yet.
* sapi/apache2filter/php_functions.c:
This patch is likely to fix win32 build
* ext/standard/browscap.c
ext/standard/datetime.c
ext/standard/pack.c
ext/standard/reg.c
ext/standard/string.c:
Reduced warnings in ZE2 build
* ext/standard/file.c
ext/standard/formatted_print.c:
Reduced compiler warnings in ZE2 build
2003-01-11 Ilia Alshanetsky <ilia@prohost.org>
* ext/standard/string.c:
Added stripos() & strripos() functions.
Added 3rd parameter (offset) to strrpos().
2003-01-11 Sebastian Bergmann <sb@sebastian-bergmann.de>
* ext/rpc/rpc.c:
Add missing ,.
2003-01-11 Harald Radi <harald.radi+coding.php@nme.at>
* ext/rpc/rpc.c
ext/rpc/rpc_proxy.c
ext/rpc/com/variant.c:
fix build
2003-01-11 Sebastian Bergmann <sb@sebastian-bergmann.de>
* win32/php4dllts.dsp:
Leftover.
2003-01-11 Ilia Alshanetsky <ilia@prohost.org>
* sapi/cli/php_cli.c:
Fix the line numbering when the 1st line in the script is #!.
2003-01-11 09:34:28 +08:00
2003-01-10 Harald Radi <harald.radi+coding.php@nme.at>
* main/config.w32.h
main/internal_functions_win32.c
win32/php4dllts.dsp:
HEAD defaults to build with ZE2 now
2003-01-10 Frank M. Kromann <frank@kromann.info>
* ext/mssql/php_mssql.c:
Fixing copy and paste errors
* ext/mssql/php_mssql.c:
Avoid warnings when running stored procedures returning multiple results
before setting output and return values.
Additional results can be skipped by the optional parameter to
mssql_execute
2003-01-10 Christian Stocker <chregu@phant.ch>
* ext/domxml/php_domxml.c:
Throw error if object is not a XML_DOCUMENT_NODE in domxml_dump_node()
* (PHP_4_3)
ext/domxml/php_domxml.c:
Throw error if object is not a XML_DOCUMENT_NODE
2003-01-10 Wez Furlong <wez.php@thebrainroom.net>
* ext/standard/math.c:
Fix the number format fix when the number of decimal places is 0.
2003-01-10 Derick Rethans <d.rethans@jdimedia.nl>
* ext/xmlrpc/xmlrpc-epi-php.c:
- Fixed bug #20155: xmlrpc compile problem with zendengine2 (Path by Jan
Schneider)
2003-01-10 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/mime_magic/mime_magic.c
ext/standard/reg.c:
Reduced compiler warnings
* ext/iconv/iconv.c:
Added missing cast operators
2003-01-10 Ilia Alshanetsky <ilia@prohost.org>
* ext/gd/libgd/gd.c:
Fixed ImageRotate when rotation angle is 90 degrees, patch by
leon@leonatkinson.com.
2003-01-10 Stig Bakken <ssb@fast.no>
* (RELEASE_1_0_1)
pear/package-PEAR.xml:
- prepare 1.0.1 release
2003-01-10 Ilia Alshanetsky <ilia@prohost.org>
* (PHP_4_3)
NEWS:
Bug fixing news.
2003-01-10 Stig Bakken <ssb@fast.no>
* (RELEASE_1_0_1)
pear/scripts/pear.in:
- obey PHP_PEAR_INSTALL_DIR and PHP_PEAR_PHP_BIN environment variables
* (RELEASE_1_0_1)
pear/PEAR/Command/Package.php:
- verbosity fix for cvstag and cvsdiff commands
* (RELEASE_1_0_1)
pear/OS/Guess.php:
- TODO item
* pear/PEAR/Command/Package.php:
- add "cvsdiff" command
* (RELEASE_1_0_1)
pear/PEAR/Config.php:
- use getenv() instead of $_ENV[]
2003-01-10 09:33:11 +08:00
2003-01-09 Ilia Alshanetsky <ilia@prohost.org>
* ext/standard/file.c:
CS fixes
* ext/standard/file.c:
Fixed a memory corruption that occurs when an unterminated " is encountered
this bug maybe be related to #21556.
2003-01-09 Frank M. Kromann <frank@kromann.info>
* ext/mssql/config.m4:
Adding extended checks for where FreeTDS is installed
2003-01-09 Ilia Alshanetsky <ilia@prohost.org>
* main/safe_mode.c:
Fixed compiler warnings.
2003-01-09 Sara Golemon <php@alphaweb.net>
* ext/standard/filestat.c
main/safe_mode.c
main/safe_mode.h:
Bug #21531 file_exists() and other filestat functions throw errors when
in safe mode and file/directory does not exist.
Extended php_checkuid function to add "flags" field via rename to
php_checkuid_ex with alias for BC in functions that do want safe mode
errors thrown.
2003-01-09 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/ctype/ctype.c:
Fixed typo
2003-01-09 Wez Furlong <wez.php@thebrainroom.net>
* ext/standard/basic_functions.c
ext/standard/basic_functions.h
ext/standard/formatted_print.c
tests/strings/002.phpt:
Implement fprintf() and vfprintf().
Add a couple of tests.
2003-01-09 Sebastian Bergmann <sb@sebastian-bergmann.de>
* (PHP_4_3)
main/.cvsignore
main/config.w32.h
main/config.w32.h.in
win32/php4dll.dsp
win32/php4dllts.dsp:
MFH: Revert config.w32.h.in -> config.w32.h build step.
2003-01-09 Jani Taskinen <sniper@iki.fi>
* configure.in:
Fix bug: #21511, config.status warning
2003-01-09 Wez Furlong <wez.php@thebrainroom.net>
* ext/standard/math.c
ext/standard/tests/math/bug21523.phpt:
Fix Bug #21523 - number_format could cause a memory allocation for a
negative memory size in situations where the sprintf implementation of the
host system generated less decimal places than were requested.
Resolved this issue by making number_format examine the string returned
by spprintf and have it pad to the correct number of decimal places.
Added a test-case based on the bug report; the length of decimal places
required to trigger this bug is sprintf implementation dependent; as the
implementation is now using spprintf (provided by PHP), that number is
78 digits (NDIG - 2).
2003-01-09 Stig Bakken <ssb@fast.no>
* (RELEASE_1_0_1)
pear/PEAR.php:
- added debug_backtrace() support to PEAR errors
* (RELEASE_1_0_1)
pear/System.php:
- System::which() now checks .exe .bat .cmd and .com on Windows
* (RELEASE_1_0_1)
pear/PEAR/Frontend/CLI.php:
- cleanups
2003-01-09 Zeev Suraski <zeev@zend.com>
* configure.in
main/php_version.h:
Time for an update
2003-01-09 Frank M. Kromann <frank@kromann.info>
* ext/mssql/php_mssql.c:
Use the correct link when checking for more results on stored procedures
* ext/mssql/php_mssql.c
ext/mssql/php_mssql.h:
Restire BC for mssql_execute(). This will not break the new feature for
handling
multiple results from a single stired procedure.
Adding mssql_free_statement()
2003-01-09 Ilia Alshanetsky <ilia@prohost.org>
* ext/standard/fsock.c:
Fixed bug #21529 (memory corruption by fsockopen()).
2003-01-09 Frank M. Kromann <frank@kromann.info>
* ext/mssql/php_mssql.c:
changed from LVAL to RESVAL macro
2003-01-09 Jani Taskinen <sniper@iki.fi>
* ext/standard/image.c:
Fix the ZTS build.
2003-01-09 09:33:21 +08:00
2003-01-08 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Reimplemented base64 filter to use iconv()-like facility for flexibility.
2003-01-08 Frank M. Kromann <frank@kromann.info>
* ext/fbsql/php_fbsql.h
ext/mssql/php_mssql.c
ext/mssql/php_mssql.h:
Changed global data type to avoid problems with initialization
2003-01-08 Ilia Alshanetsky <ilia@prohost.org>
* ext/standard/image.c
ext/standard/php_image.h:
Added support for WBMP images.
* ext/gd/gd.c
ext/gd/libgd/gd_io_dp.c:
Fixed bug #21518.
Fixed memory in leak ImageCreateFromString().
Fixed a bug that prevented proper identification of WBMP images and thus
prevented ImageCreateFromString() from working on those images.
* (PHP_4_3)
NEWS:
Bug fixing news.
2003-01-08 Zeev Suraski <zeev@zend.com>
* ext/session/session.c:
Fix UMR
2003-01-08 Georg Richter <georg.richter@phpev.de>
* (PHP_4_3)
ext/mysql/php_mysql.c:
fixed bug 21498
* ext/mysql/php_mysql.c:
fixed bug #21498
2003-01-08 Ilia Alshanetsky <ilia@prohost.org>
* ext/mcrypt/mcrypt.c:
Removed unused variable.
* main/main.c:
Fixed bug #21499 (more descriptive message in the event of require/include
failure).
* sapi/cgi/cgi_main.c
sapi/cli/php_cli.c:
Fixed bug #21297. The fix also fixes miscalculation of lines numbers by 1
due the previously mentioned bug.
* ext/odbc/php_odbc.c:
Version is char ;).
2003-01-08 09:34:57 +08:00
2003-01-07 Christian Dickmann <chrisdicki@gmx.de>
* pear/PEAR/Config.php:
fix default umask(); (thx to Mirco MEEBEY Bauer for bringing this behavior
to my attention and testing the patch)
2003-01-07 Dan Kalowsky <dank@deadmime.org>
* ext/odbc/php_odbc.c:
Version tag for future move to PECL
* ext/odbc/config.m4
ext/odbc/php_odbc.c:
Reverting last change as it really doesn't fix longreadlen problems in all
cases.
2003-01-07 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Instances should not be freed in dtor()...
* ext/standard/filters.c:
Made error msg format more consistent
2003-01-07 Pierre-Alain Joye <paj@pearfr.org>
* ext/gd/gd.c:
Fix line drawed twice (L. Atkinson)
2003-01-07 Sara Golemon <php@alphaweb.net>
* ext/standard/user_filters.c:
Backout changes between 1.6 and 1.7
2003-01-07 Zeev Suraski <zeev@zend.com>
* sapi/cgi/cgi_main.c:
Add missing call
2003-01-07 Levi Dixon <ldixon@mail.communityconnect.com>
* ext/oci8/config.m4
ext/oci8/oci8.c:
Added support for Shared Data Mode for OCI8_VERSION >= 8.1, which will
provide memory savings by sharing common statement data
2003-01-07 Edin Kadribasic <edink@proventum.net>
* (PHP_4_3)
NEWS:
Bugfix #17098 in the branch
* (PHP_4_3)
sapi/apache2filter/sapi_apache2.c:
MFH:
Fixed bug #17098 (make Apache aware that PHP scripts represent dynamic
data
and should not be cached). Fix suggested by daniel.eckl@gmx.de.
2003-01-07 Ilia Alshanetsky <ilia@prohost.org>
* run-tests.php:
Added a check for availability of PCRE extension needed by test-suite.
2003-01-07 Vincent Blavet <vincent@blavet.net>
* pear/Archive/Tar.php:
- Synchronize with /pear/Archive_Tar/Tar.php 1.5 :
- Add support for long filenames (greater than 99 characters)
- Add private methods _readLongHeader() and _writeLongHeader()
2003-01-07 Ilia Alshanetsky <ilia@prohost.org>
* ext/domxml/php_domxml.c:
Fixed ZTS build with ZE2.
* ext/ftp/ftp.c
ext/ftp/ftp.h
ext/ftp/php_ftp.c:
ZTS cleanup.
2003-01-07 Zeev Suraski <zeev@zend.com>
* ext/standard/basic_functions.c:
whitespace
2003-01-07 Edin Kadribasic <edink@proventum.net>
* (PHP_4_3)
NEWS:
Bugfixing news
* win32/sendmail.c:
MFB:
Fixed bug #21442 (Crash of mail() on Windows when the first parameter
is empty).
* (PHP_4_3)
win32/sendmail.c:
Fixed bug #21442 (Crash of mail() on Windows when the first parameter
is empty).
2003-01-07 Sascha Schumann <sascha@schumann.cx>
* ext/mysql/config.m4:
tell user which header files could not be found
2003-01-07 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/user_filters.c:
Fixed small leak
2003-01-07 Frank M. Kromann <frank@kromann.info>
* ext/mssql/config.m4:
Making the mssql extension work when build as a shared object
2003-01-07 Ilia Alshanetsky <ilia@prohost.org>
* ext/ftp/ftp.c
ext/ftp/ftp.h
ext/ftp/php_ftp.c:
Fixed ZTS build.
* ext/ftp/ftp.c
ext/ftp/php_ftp.c:
MFB + CS
* (PHP_4_3)
ext/ftp/ftp.c
ext/ftp/php_ftp.c:
Changed perror() to php_error_docref(), fixed bug #21309.
Made extension use ZE memory allocation wrappers, fixed a memory leak in
ftp_mkdir.
Removed duplicate ftp_syst() call inside ftp_systype().
2003-01-07 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* NEWS:
Trivial grammer fix
* ext/standard/filters.c:
Implemented quoted-printable stream filter
2003-01-07 Sara Golemon <php@alphaweb.net>
* ext/standard/user_filters.c:
Add option to stream_get_filters() user-defined fiters vs. all filters,
default to user only
2003-01-07 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/standard/filters.c:
Implemented string.base64 stream filter
2003-01-07 09:34:32 +08:00
2003-01-06 Stefan Esser <s.esser@e-matters.de>
* main/rfc1867.c:
Adding support for anonymous fileuploads (#21450)
2003-01-06 Wez Furlong <wez.php@thebrainroom.net>
* main/streams.c:
Fix for Bug #20827: where stat is a macro on Tru64.
Patch from <julien.soula@free.fr>
2003-01-06 Ilia Alshanetsky <ilia@prohost.org>
* ext/standard/string.c
ext/standard/tests/strings/bug21453.phpt:
Fixed bug #21453 (improper handling of non-terminated <).
* ext/standard/browscap.c:
Fixed Bug #21443 and related bug #21468.
2003-01-06 Dan Kalowsky <dank@deadmime.org>
* ext/odbc/php_odbc.c:
Patch for bug #19349
* ext/odbc/php_odbc.c:
Correction for bug #21279
2003-01-06 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/iconv/iconv.c
ext/standard/quot_print.c
ext/standard/quot_print.h:
Moved php_quot_print_decode() to quot_print.c so that it can be used
outside the iconv module
* ext/iconv/iconv.c:
Added more RFC2047-compliancy check in iconv_mime_decode()
* ext/iconv/iconv.c:
Fixed iconv_mime_decode() so that it comforms to RFC2231
2003-01-06 Georg Richter <georg.richter@phpev.de>
* ext/mysql/php_mysql.c:
fixed missing & (Thx to Sebastian Bergmann)
* (PHP_4_3)
ext/mysql/php_mysql.c:
fixed a missing & (Thx to Sebastian Bergmann
2003-01-06 Wez Furlong <wez.php@thebrainroom.net>
* ext/standard/tests/file/userfilters.phpt:
Make it slightly more obvious that the return value is relative to the
length
of the input data.
* main/php_streams.h:
Fix for bug #21406; infinite loop during filter flushing.
2003-01-06 Edin Kadribasic <edink@proventum.net>
* (PHP_4_3)
NEWS:
Bugfixing news.
* ext/gd/gd_bundled.dsp:
MFB:
Fixed bug #20503 (imagesetbrush() availability on windows).
* (PHP_4_3)
ext/gd/gd_bundled.dsp:
Fixed bug #20503 (imagesetbrush() availability on windows).
2003-01-06 Anantha Kesari H Y <hyanantha@novell.com>
* ext/pgsql/php_pgsql.h:
Removed #ifdef NetWare and made the necessary changes in the directory
structure of NetWare.
* netware/libpq/libpq-fs.h:
Header file for PostgreSQL. Moved from netware directory to netware/libpq
directory.
* netware/libpq-fs.h:
This file moved to netware/libpq directory.
2003-01-06 Christian Stocker <chregu@phant.ch>
* (PHP_4_3)
ext/domxml/php_domxml.c:
- fix crash in domxml_node_insert_before() (by Lukas Schr<68>der)
* ext/domxml/php_domxml.c
ext/domxml/php_domxml.h:
- get_path forgotten in .h file
- fix crash in domxml_node_insert_before() (by Lukas Schr<68>der)
2003-01-06 Anantha Kesari H Y <hyanantha@novell.com>
* netware/phplib.imp:
Added symbols to build PostgreSQL extension for NetWare.
* ext/mysql/mysql.mak:
Changes for NetWare makefile.
* ext/pgsql/pgsql.mak
ext/pgsql/php_pgsql.h:
Makefile added newly and modified the header file for NetWare.
2003-01-06 Christian Stocker <chregu@phant.ch>
* (PHP_4_3)
ext/domxml/php_domxml.c:
partly MFH from 1.288 (Fixed segfault, when trying to add a node to itself)
* ext/domxml/php_domxml.c:
- Fixed segfault, when trying to add a node to itself.
2003-01-06 Anantha Kesari H Y <hyanantha@novell.com>
* ext/standard/basic_functions.c:
Added #ifdef HAVE_SYSLOG_H around syslog function in the whole file to
avoid link failure.
* netware/phplib.mak:
Modified for Netware.
2003-01-06 Sara Golemon <php@alphaweb.net>
* ext/standard/filters.c:
Added string.toupper and string.tolower filters and generalized non-op
filter methods
2003-01-06 Frank M. Kromann <frank@kromann.info>
* ext/gd/libgd/gdft.c:
Nuke warning, on Win32 build
* ext/gd/gd_bundled.dsp:
enable imageftbbox() and imagefttext() on WIn32
2003-01-06 Sara Golemon <php@alphaweb.net>
* ext/standard/user_filters.c
main/php_streams.h
main/streams.c:
Expose stream_filters_hash so that it can be searched by
stream_get_filters()
2003-01-06 Edin Kadribasic <edink@proventum.net>
* (PHP_4_3)
NEWS:
Mention gif read-only support on windows.
* (PHP_4_3)
ext/gd/gd_bundled.dsp:
MFH: Added missing flags and .c files for gif read support on Windows.
* ext/gd/gd_bundled.dsp:
Complete gif readonly support addition by adding missing gd_gif_in.c
file to the project.
* ext/mcrypt/mcrypt.c:
Comment out non ANSI C standard comliant code. Fixes win32 build.
* ext/dba/dba.c:
Fixed win32 build.
2003-01-06 Ilia Alshanetsky <ilia@prohost.org>
* (PHP_4_3)
NEWS:
Bug fixing news.
* ext/gd/libgd/gd.h
ext/gd/libgd/gdft.c:
Fixed bug #21445.
2003-01-06 09:34:25 +08:00
2003-01-05 Sara Golemon <php@alphaweb.net>
* ext/standard/file.c
ext/standard/user_filters.c:
Fixes to stream_get_wrappers() and stream_get_filters() handle hash table
layouts better, plus some picune whitespace fixes
2003-01-05 Georg Richter <georg.richter@phpev.de>
* ext/mysql/php_mysql.c:
fixed bug #21435
2003-01-05 Sebastian Bergmann <sb@sebastian-bergmann.de>
* ext/gd/gd_bundled.dsp:
Define HAVE_GD_GIF_READ.
2003-01-05 Zeev Suraski <zeev@zend.com>
* main/main.c:
Remove unnnecessary initialization
* sapi/cgi/cgi_main.c
sapi/cli/php_cli.c:
Initialize lineno using the new infrastructure
2003-01-05 Sebastian Bergmann <sb@sebastian-bergmann.de>
* main/.cvsignore
main/config.w32.h
main/config.w32.h.in
win32/php4dll.dsp
win32/php4dllts.dsp:
Revert config.w32.h.in -> config.w32.h build step per discussion with Zeev.
2003-01-05 Zeev Suraski <zeev@zend.com>
* sapi/apache/php4apache.dsp:
Make the .dsp use the php4build build directories
2003-01-05 Edin Kadribasic <edink@proventum.net>
* ext/xslt/xslt.dsp:
MFB:
Made xslt_set_encoding() available on windows (bug #20640).
* (PHP_4_3)
ext/xslt/xslt.dsp:
Made xslt_set_encoding() available on windows (bug #20640).
* (PHP_4_3)
ext/standard/php_incomplete_class.h:
Fixed ZTS build.
2003-01-05 Ilia Alshanetsky <ilia@prohost.org>
* ext/standard/string.c:
Fixed a memory leak in setlocale() & localeconv().
2003-01-05 Sara Golemon <php@alphaweb.net>
* ext/standard/basic_functions.c
ext/standard/basic_functions.h
ext/standard/user_filters.c:
Added stream_get_filters(); to list registered filters
2003-01-05 Derick Rethans <d.rethans@jdimedia.nl>
* ext/standard/filestat.c:
- Fix some of the netware crap
2003-01-05 09:33:04 +08:00
2003-01-04 Derick Rethans <d.rethans@jdimedia.nl>
* ext/standard/filestat.c:
- Change Warnings to Notices
2003-01-04 Ilia Alshanetsky <ilia@prohost.org>
* ext/openssl/openssl.c:
CS fixes.
2003-01-04 Marcus Boerger <marcus.boerger@post.rwth-aachen.de>
* (PHP_4_3)
ext/standard/browscap.c
ext/wddx/wddx.c:
Fix ZTS-ZE2 (After Cygwin now for the rest)
* ext/exif/tests/exif003.phpt
ext/exif/tests/exif004.phpt:
better to check for existance first
* ext/dbx/dbx.c
ext/imap/php_imap.c
ext/standard/browscap.c
ext/standard/incomplete_class.c
ext/standard/php_incomplete_class.h
ext/standard/var_unserializer.c
ext/wddx/wddx.c:
Fix ZTS-ZE2 build
2003-01-04 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* NEWS:
Forgot to include these functions in the list
2003-01-04 Derick Rethans <d.rethans@jdimedia.nl>
* NEWS:
- Fix typo
2003-01-04 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/iconv/iconv.c:
Fixed cut'n'paste failure
* NEWS:
NEWS update for new iconv functions
* ext/iconv/tests/iconv_mime_encode.phpt:
Added test case for iconv_mime_encode()
2003-01-04 Derick Rethans <d.rethans@jdimedia.nl>
* (PHP_4_3)
ext/pgsql/pgsql.c:
- MFH: Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch
by
Floyd <floyd@studiodust.com>)
* ext/pgsql/pgsql.c:
- Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by
Floyd <floyd@studiodust.com>)
2003-01-04 09:32:59 +08:00
2003-01-03 Alex Waugh <alex@alexwaugh.com>
* acinclude.m4:
Provide alternative for glibc brokenness test when cross compiling
2003-01-03 Derick Rethans <d.rethans@jdimedia.nl>
* sapi/apache/php_apache.c
sapi/apache/php_apache.c:
- Fix docrefs
* sapi/apache/php_apache.c:
- Fix typo (patch by Joseph Tate)
2003-01-03 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/iconv/tests/iconv_mime_decode.phpt:
Added test case for iconv_mime_decode()
* ext/iconv/tests/iconv_strpos.phpt
ext/iconv/tests/iconv_strrpos.phpt:
Added test cases for iconv_strpos() and iconv_strrpos()
* ext/iconv/iconv.c:
Fixed an iconv_strrpos() bug that the function doesn't return accurate
position of last occurrence
2003-01-03 Derick Rethans <d.rethans@jdimedia.nl>
* ext/mcrypt/TODO:
- Update todo
* ext/mcrypt/config.m4
ext/mcrypt/mcrypt.c
ext/mcrypt/php_mcrypt.h:
- Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason
to upgrade libmcrypt to a 2.5.x series as the older ones have too much
bugs
to be safely used with PHP.
- Updated macro's, php_errors and parameter parsing.
2003-01-03 Ilia Alshanetsky <ilia@prohost.org>
* ext/standard/file.c:
Fixed a bug that would cause flock() to never set the 3rd argument.
CS fixes & switched to new parameter parsing API.
* (PHP_4_3)
ext/standard/http_fopen_wrapper.c:
MFH (fix for bug #21267 & memory leak fix on reidrects).
* ext/standard/http_fopen_wrapper.c:
Fixed a memory leak that occurs if the location specified by redirect
header
cannot be opened.
* ext/standard/http_fopen_wrapper.c:
Further fixes related to bug #21267.
2003-01-03 Anantha Kesari H Y <hyanantha@novell.com>
* sapi/apache2filter/php_apache.h
sapi/apache2filter/sapi_apache2.c:
Modifications for NetWare.
* netware/phplib.imp
netware/phplib.mak
netware/sendmail.c
netware/sendmail.h:
Some existing files modified and a couple of files removed for NetWare.
* win32/sendmail.c
win32/sendmail.h:
NetWare related changes/modifications.
2003-01-03 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/iconv/iconv.c:
Added offset validity check for iconv_strpos()
2003-01-03 Anantha Kesari H Y <hyanantha@novell.com>
* ext/xml/xml.mak
netware/geterrnoptr.c
netware/sendmail_nw.h
sapi/apache/libpre.c:
New file added for NetWare.
* ext/ftp/ftp.c
ext/ldap/ldap.mak
ext/ldap/ldap.mak
ext/mysql/mysql.mak
ext/mysql/mysql.mak
ext/session/mod_files.c
ext/session/session.c
ext/standard/exec.c
ext/standard/exec.c
ext/standard/file.c
ext/standard/filestat.c
ext/standard/html.c
ext/standard/syslog.c
ext/xml/xml.mak
netware/buildlib.bat
netware/phplib.mak:
Modified for NetWare.
* main/config.nw.h
main/internal_functions_nw.c
main/php.h
main/php_sprintf.c
main/user_streams.c:
A new file added and some old files modified for NetWare.
2003-01-03 Edin Kadribasic <edink@proventum.net>
* netware/ApacheCore.imp
netware/BisonExtStandard.bat
netware/BisonFlexZend.bat:
Checking in files for Ananth Kesari <hyanantha@novell.com>
2003-01-03 Anantha Kesari H Y <hyanantha@novell.com>
* netware/ZendEngine2.mak
netware/grp.h
netware/libpq.imp
netware/mktemp.c
netware/param.h
netware/php-nw.bat
netware/php4apache.mak
netware/php4apache2filter.mak
netware/php4cli.mak
netware/phplib.imp
netware/phplib.mak
netware/phptest.ncf
netware/pipe.c
netware/pipe.h
netware/postgres_ext.h
netware/pwd.c
netware/pwd.h
netware/start.c
netware/sysexits.h
netware/time_nw.c
netware/time_nw.h
netware/tsrm.mak
netware/wfile.c
netware/wfile.h
netware/zend.mak:
A few New files added and some old files modified for NetWare.
* netware/libpq-fe.h
netware/libpq-fs.h:
New files added for NetWare.
* netware/common.mif
netware/sys/stat.h:
File modified for NetWare.
2003-01-03 Derick Rethans <d.rethans@jdimedia.nl>
* ext/standard/credits_sapi.h:
- Update this one as well
* ext/standard/credits_ext.h
scripts/credits:
- Remove double "Win32 COM" functions line
* README.PARAMETER_PARSING_API:
- Whitespace
* (PHP_4_3)
NEWS:
Bugfixing news
2003-01-03 Sara Golemon <php@alphaweb.net>
* ext/standard/basic_functions.c
ext/standard/file.c
ext/standard/file.h:
Added stream_get_wrappers()
2003-01-03 Moriyoshi Koizumi <moriyoshi@at.wakwak.com>
* ext/iconv/tests/iconv_strlen.phpt
ext/iconv/tests/iconv_substr.phpt:
Added test cases for iconv_strlen() and iconv_substr()
* ext/iconv/iconv.c:
Fixed iconv_mime_decode() so it would give more awareness to stateful
codesets
* ext/iconv/iconv.c:
Fixed infinite loop of iconv_mime_encode() in case the specified line
length is too short to contain a proper mime-encoded string
* ext/iconv/iconv.c:
Give mo' shift-sequence awareness to iconv_mime_encode
* ext/iconv/iconv.c:
More shift-sequence awareness for iconv_substr()
* ext/iconv/iconv.c:
Added missing casting operators
* ext/iconv/tests/eucjp2iso2022jp.phpt:
MFB
* (PHP_4_3)
ext/iconv/tests/eucjp2iso2022jp.phpt:
Updated the test so it reflects the recent change on iconv.c
* ext/iconv/iconv.c:
MFB: fixed shift-out sequence unawareness issue
* (PHP_4_3)
ext/iconv/iconv.c:
Fixed shift-out sequence unawareness issue
* ext/standard/array.c:
Fixed small leaks in array_map() in case the first parameter is NULL like
array_map(NULL, array(...));
2003-01-03 Harald Radi <harald.radi+coding.php@nme.at>
* pear/scripts/pear.bat:
fixing typo
2003-01-03 Jani Taskinen <sniper@iki.fi>
* NEWS:
- Removed entries that are going to 4.3.1
- Grouped the entries a bit.
* (PHP_4_3)
NEWS:
Group these entries a bit to make NEWS easier to read.
2003-01-03 09:37:02 +08:00
2003-01-02 Stig Bakken <ssb@fast.no>
* pear/PEAR/Config.php:
- allways fall back to PHP_SYSCONFDIR
2003-01-02 Ilia Alshanetsky <ilia@prohost.org>
* ext/openssl/openssl.c:
Fixed a small memory leak when a NULL variable is passed to
openssl_csr_sign() as the first argument.
* (PHP_4_3)
NEWS:
Bug fixing news.
* ext/standard/html.c:
Fixed bug #21338 (crash inside html_entity_decode() when "" is passed).
Added test case for the bug.
* ext/standard/tests/strings/bug21338.phpt:
Fixed bug #21338 (crash inside html_entity_decode() when "" is passed).
Added test case for the bug.
* acinclude.m4
configure.in:
Raise required OpenSSL version to 0.9.6.
2003-01-02 Derick Rethans <d.rethans@jdimedia.nl>
* main/SAPI.h:
- Fixed bug #21169: Compile Failure, and lots of warnings on UnixWare
* (PHP_4_3)
main/SAPI.h:
-** empty log message ***
2003-01-02 Zeev Suraski <zeev@zend.com>
* sapi/apache/php4apache.dsp:
Fix .dsp
2003-01-02 Derick Rethans <d.rethans@jdimedia.nl>
* main/php_streams.h:
- Fix warnings on UnixWare
* (PHP_4_3)
Makefile.global:
- MFH: Fix "make test" when CC was set to something with a parameter
* Makefile.global:
- Fix "make test" when CC was set to something with a parameter
2003-01-03 02:48:06 +08:00
2003-01-01 Frank M. Kromann <frank@kromann.info>
2002-12-31 00:47:04 +08:00
2003-01-03 02:48:06 +08:00
* ext/standard/base64.c
ext/standard/base64.h:
Allow base64 functions to be called from an extension buils as .so/.dll
(iconv)
2002-12-31 00:47:04 +08:00
2003-01-03 02:48:06 +08:00
2003-01-01 Zeev Suraski <zeev@zend.com>
2002-12-31 00:47:04 +08:00
2003-01-03 02:48:06 +08:00
* ext/standard/browscap.c
ext/standard/incomplete_class.c:
build fixes
2002-12-31 00:47:04 +08:00
2003-01-03 02:48:06 +08:00
2003-01-01 Derick Rethans <d.rethans@jdimedia.nl>
2002-12-31 00:47:04 +08:00
* (PHP_4_3)
2003-01-03 02:48:06 +08:00
tests/run-test/test005.phpt
tests/run-test/test008.phpt:
- MFH: Fix tests if Zend Optimizer is loaded
2002-12-27 09:32:29 +08:00
2003-01-03 02:48:06 +08:00
* tests/run-test/test005.phpt
tests/run-test/test008.phpt:
- Fix tests if Zend Optimizer is loaded
2002-12-27 09:32:29 +08:00
2003-01-03 02:48:06 +08:00
2003-01-01 Sebastian Bergmann <sb@sebastian-bergmann.de>
2002-12-27 09:32:29 +08:00
2003-01-03 02:48:06 +08:00
* win32/php4dll.dsp
2002-12-27 09:32:29 +08:00
win32/php4dllts.dsp:
2003-01-03 02:48:06 +08:00
Add filter.c, user_filters.c. Group stream related sources.
2002-12-21 09:34:00 +08:00
2003-01-03 02:48:06 +08:00
* ext/standard/filters.c
ext/standard/user_filters.c:
Fix warnings.
2002-12-21 09:34:00 +08:00
2003-01-03 02:48:06 +08:00
2003-01-01 Wez Furlong <wez.php@thebrainroom.net>
2002-12-21 09:34:00 +08:00
2003-01-03 02:48:06 +08:00
* ext/standard/filters.c:
Tidy up
2002-12-21 09:34:00 +08:00
* ext/standard/basic_functions.c
2003-01-03 02:48:06 +08:00
ext/standard/config.m4
ext/standard/filters.c
ext/standard/php_standard.h
ext/standard/php_string.h
ext/standard/string.c
ext/standard/user_filters.c
ext/standard/tests/file/userfilters.phpt:
Move rot13 filter into a new filters.c source file.
Tidy up some other filter related code.
2002-12-20 09:34:57 +08:00
2003-01-03 02:48:06 +08:00
* acinclude.m4
configure.in
2002-12-20 09:34:57 +08:00
main/streams.c:
2003-01-03 02:48:06 +08:00
Workaround for glibc 2.2.9x and later "a+" bug that does not seek to EOF
for
files fopen()ed with that mode.
2002-12-20 09:34:57 +08:00
2003-01-03 02:48:06 +08:00
* (PHP_4_3)
acinclude.m4
configure.in
2002-12-20 09:34:57 +08:00
main/streams.c:
2003-01-03 02:48:06 +08:00
Workaround a bug in glibc 2.2.9x and later that causes it not to seek to
EOF
for stdio streams opened with a mode of "a+".
2002-01-02 09:14:31 +08:00