Stefan Roehrich [Tue, 12 Mar 2002 13:23:58 +0000 (13:23 +0000)]
(PHP gzencode) Reimplementation of gzencode(). Now works as documented
(gzencode(string data [, int level [, int encoding_mode]])),
should fix #15930.
@- The second parameter of gzencode() now is the compression level like
@ in the documentation. The encoding mode is a third (optional) parameter.
# Rework of gzencode(), output should be closer to real gzip output.
# I think in the old version there could be some problems with
# this function and output compression, should be fixed, too.
Stefan Roehrich [Tue, 12 Mar 2002 13:06:40 +0000 (13:06 +0000)]
(PHP gzinflate) Workaround for bug #14939 (buffer error in gzinflate()).
Fixed prototype and added test for #14939.
# We have extra \0 if the input comes directly from gzdeflate()
# so give one extra byte as length to workaround behaviour of zlib.
# I want to avoid copying the input, but if there are problems,
# please tell (see my message <20020310175611.GA4472@stefan.roehri.ch> to
# php-dev).
Marcus Boerger [Tue, 12 Mar 2002 06:14:45 +0000 (06:14 +0000)]
-support for array tags
-better memory handling
-support for thumbnails in TIFF format
-new functions exif_imagetype
@-new function exif_imagetype
@-exif_thumbnail fupports thumbnails in TIFF format and can return size
@ of thumbnail
Yasuo Ohgaki [Tue, 12 Mar 2002 05:18:25 +0000 (05:18 +0000)]
Use CGI binary when CGI SAPI is there.
Make "php run-tests.php" work with cli SAPI.
# Anyone mind if I change spaces to tabs?
# Currently, it is using spaces and it's should use
# tabs just like C source.
@ implemented domxml_elem_get_elements_by_tagname
@ new function domxml_doc_get_elements_by_tagname
@ new function domxml_doc_get_element_by_id (chregu)
Sascha Schumann [Mon, 11 Mar 2002 12:50:18 +0000 (12:50 +0000)]
You don't need a C++ compiler to build 100% of PHP (and the largest part of
the extensions), so I don't see a reason why PHP should not build on
a system without a C++ compiler.
If your extension uses C++ objects, put PHP_REQUIRE_CXX into your
config.m4.
This should also be removed from the 4.2.0 branch, because it will
cause portability problems otherwise.
Shane Caraveo [Sun, 10 Mar 2002 21:39:28 +0000 (21:39 +0000)]
combine fastcgi capability with regular cgi binary
include fastcgi library for ease of windows builds
NOTE: included fastcgi library is modified for thread safety, but
fastcgi support in cgi_main.c is only written for single
threaded serving. This does not present any issue for using
fastcgi.
Jason Greene [Sat, 9 Mar 2002 04:37:54 +0000 (04:37 +0000)]
Fixed bug where NULL specified in sec was not waiting infinately as it should
Fixed bug where socket_select was not producing an error message on error
Fixed bug where -1 was getting returned instead of FALSE in socket_recv(),
socket_send(), socket_sendto(), and socket_select()
Joseph Tate [Fri, 8 Mar 2002 18:56:00 +0000 (18:56 +0000)]
Added linking files to make build compatible with RH 7.2's updated libxslt
packages. Should not break when compiling with older versions. This may
fix bug #15942 as well.
Configure was giving a Warning message without these lines when --with-xslt was
specified.
Joseph Tate [Thu, 7 Mar 2002 23:52:57 +0000 (23:52 +0000)]
Commented out a few lines that were causing a segfault in the unlink code.
This fixes bug #14522. I've tested that it does not cause a segfault under
RH 7.2, and retains all functionality. I recommend that this patch be
considered for the PHP_4_2_0 tree as well, as having a function that core
dumps every time is a bad thing(TM).