]>
granicus.if.org Git - php/log
Andrey Hristov [Wed, 2 Oct 2002 18:58:09 +0000 (18:58 +0000)]
Making strrchr() binary safe.
Test case added.
Andrey Hristov [Wed, 2 Oct 2002 18:41:55 +0000 (18:41 +0000)]
Making strstr() binary safe.
Andrey Hristov [Wed, 2 Oct 2002 18:13:56 +0000 (18:13 +0000)]
Ws fix. Forgot to add this in the previous commit.
Andrey Hristov [Wed, 2 Oct 2002 17:56:04 +0000 (17:56 +0000)]
ws fixes.
Derick Rethans [Wed, 2 Oct 2002 16:44:48 +0000 (16:44 +0000)]
- Added CURLOPT_FTP_USE_EPSV option. (Patch by Alex Howansky
<alex@wankwood.com>)
Marcus Boerger [Wed, 2 Oct 2002 15:40:57 +0000 (15:40 +0000)]
Better...
Marcus Boerger [Wed, 2 Oct 2002 15:36:29 +0000 (15:36 +0000)]
Fix implicit_flush
Marcus Boerger [Wed, 2 Oct 2002 15:10:11 +0000 (15:10 +0000)]
Modified get_status(): Display chunk_size allways and size which is in
most cases initial_size as well as block_size only when used.
Marcus Boerger [Wed, 2 Oct 2002 15:02:16 +0000 (15:02 +0000)]
Revisted Wez patch: chunk_size 0 means cahce the whole output. So
we must apply the default before calling php_enable_output_compression().
I have left the default setting in the rinit function even though i do think
it is not necessary.
Colin Viebrock [Wed, 2 Oct 2002 14:27:32 +0000 (14:27 +0000)]
Fix for SRM module (and maybe others). Header rows are now not HTML
escaped, so make sure you do this yourself in the modules.
Marcus Boerger [Wed, 2 Oct 2002 13:25:38 +0000 (13:25 +0000)]
Another missing variable init
#Wez shouldn't "stream->filterhead->fops->flush()" affect return value also?
Marcus Boerger [Wed, 2 Oct 2002 13:18:01 +0000 (13:18 +0000)]
Missing variable init
Harald Radi [Wed, 2 Oct 2002 12:53:51 +0000 (12:53 +0000)]
fixes bugs #19156 and #19544
Marcus Boerger [Wed, 2 Oct 2002 12:52:53 +0000 (12:52 +0000)]
Check for C99 conformance of snprintf.
#This way we force using internal version if a broken library is used.
#E.g. length parameter is broken, return value or default precision wrong.
Sascha Schumann [Wed, 2 Oct 2002 08:32:26 +0000 (08:32 +0000)]
Another Linux x86 system returns ELIMIT so we need to check errno as well
before assuming that pread/pwrite work.
Sascha Schumann [Wed, 2 Oct 2002 08:14:47 +0000 (08:14 +0000)]
Reflect actual stance wrt cli/cgi
Yasuo Ohgaki [Wed, 2 Oct 2002 06:30:40 +0000 (06:30 +0000)]
Fixed pg_escape_typea()
Yasuo Ohgaki [Wed, 2 Oct 2002 06:22:52 +0000 (06:22 +0000)]
Clean up a little.
Sascha Schumann [Wed, 2 Oct 2002 06:05:16 +0000 (06:05 +0000)]
The pread/pwrite macros check for a bug in the Linux glibc now.
The bug causes the kernel not to return -1/EAGAIN. The new test case
has been borrowed from the Linux Test Project.
This also fixes a bug which apparently caused HAVE_PREAD/WRITE to be
defined even if the more complex checks failed (ac_cv_func_NAME=no
was set albeit with no difference).
Yasuo Ohgaki [Wed, 2 Oct 2002 05:29:06 +0000 (05:29 +0000)]
Improve test to show output bufferring bypass bug clearly.
Yasuo Ohgaki [Wed, 2 Oct 2002 04:03:21 +0000 (04:03 +0000)]
Added pg_unescape_bytea(). Fixed pg_data_seek().
php_pgsql_unescape_bytea(PQunescapeBytea) is shamelessly stolen from PostgreSQL 7.3 :)
Yasuo Ohgaki [Wed, 2 Oct 2002 03:32:27 +0000 (03:32 +0000)]
Add some example functions for mysql users.
Yasuo Ohgaki [Wed, 2 Oct 2002 03:17:30 +0000 (03:17 +0000)]
pg_data_seek()
Yasuo Ohgaki [Wed, 2 Oct 2002 03:16:35 +0000 (03:16 +0000)]
Added pg_data_seek().
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
Yasuo Ohgaki [Wed, 2 Oct 2002 02:41:21 +0000 (02:41 +0000)]
Added pg_ping()
Yasuo Ohgaki [Wed, 2 Oct 2002 02:11:27 +0000 (02:11 +0000)]
Rename pg_metadata() to pg_meta_data() to confirm naming standard
foobar [Wed, 2 Oct 2002 01:52:25 +0000 (01:52 +0000)]
- Run ext/* tests only for those modules that are actually compiled
into the php binary. (faster)
- Skip search of .phpt files if they are passed as parameters
<changelog@php.net> [Wed, 2 Oct 2002 00:33:32 +0000 (00:33 +0000)]
ChangeLog update
Stefan Esser [Tue, 1 Oct 2002 21:53:25 +0000 (21:53 +0000)]
repairing the chaos
utime("filename", NULL) is not only valid but a MUST on linux if you are
not the owner...
Andi Gutmans [Tue, 1 Oct 2002 20:00:45 +0000 (20:00 +0000)]
- Fix problem when crashing on illegal tokens in class name during class
- definition.
Sascha Schumann [Tue, 1 Oct 2002 19:19:10 +0000 (19:19 +0000)]
Disable pread/pwrite for now until we can clarify why it should be
impossible to write a check for a broken OS feature.
Sascha Schumann [Tue, 1 Oct 2002 11:59:45 +0000 (11:59 +0000)]
The session extension ensures now that get_session_var can rely
on the state of $_SESSION/$HTTP_SESSION_VARS. It does not look up
symbols in the global symbol table anymore.
This was achieved by actually planting references between every
$_SESSION["x"] and $x, not only when restoring a session, but also
when registering a session variable (in a register_globals=1 context).
Upon registering a new variable, this memory leak continues to show
up, regardless of register_globals.
ext/session/session.c(272) : Freeing 0x0818F01C (12 bytes), script=test
Obviously, the newly allocated empty zval is not properly freed. If anyone
has any idea on how to fix that, please step forward.
Yasuo Ohgaki [Tue, 1 Oct 2002 11:18:31 +0000 (11:18 +0000)]
WS and added missing output.
It seems this bug is fixed in latest version at least.
Zeev Suraski [Tue, 1 Oct 2002 10:16:40 +0000 (10:16 +0000)]
Fix warnings
Yasuo Ohgaki [Tue, 1 Oct 2002 10:04:04 +0000 (10:04 +0000)]
Bug fix
Yasuo Ohgaki [Tue, 1 Oct 2002 10:01:56 +0000 (10:01 +0000)]
Fixed bug #17825. Double zval_ptr_dtor().
Yasuo Ohgaki [Tue, 1 Oct 2002 02:54:30 +0000 (02:54 +0000)]
Implicit flush fix
foobar [Tue, 1 Oct 2002 02:47:52 +0000 (02:47 +0000)]
- Revert the removal of dlopen check here.
# Left HAVE_LIBDL undefined for some reason
Yasuo Ohgaki [Tue, 1 Oct 2002 02:43:33 +0000 (02:43 +0000)]
Fixed implicit flush.
foobar [Tue, 1 Oct 2002 01:47:09 +0000 (01:47 +0000)]
- Removed unnecessary dlopen checks. (this is done in Zend.m4 already)
foobar [Tue, 1 Oct 2002 01:40:07 +0000 (01:40 +0000)]
some typos fixed..
<changelog@php.net> [Tue, 1 Oct 2002 00:35:04 +0000 (00:35 +0000)]
NEWS update
<changelog@php.net> [Tue, 1 Oct 2002 00:34:05 +0000 (00:34 +0000)]
ChangeLog update
Yasuo Ohgaki [Mon, 30 Sep 2002 23:46:43 +0000 (23:46 +0000)]
Users can shoot themselves by their own output handler always.
Therefore, this check is overkill and it should be documented
limitation, IMO.
Anyway, a little optimization.
David Reid [Mon, 30 Sep 2002 23:31:13 +0000 (23:31 +0000)]
Use the built in autoconf test for fnmatch. Simply using the
AC_CHECK_FUNCS seems to give false positives on beos and reading
the comments on other systems as well.
Derick Rethans [Mon, 30 Sep 2002 10:34:40 +0000 (10:34 +0000)]
- No tabs :)
Wez Furlong [Mon, 30 Sep 2002 10:18:57 +0000 (10:18 +0000)]
Add header file required for pread/pwrite (on my system at least).
Wez Furlong [Mon, 30 Sep 2002 10:18:06 +0000 (10:18 +0000)]
Fix infinite recursion bug when using zlib output compression.
Cause: the chunk size is taken from the zlib.output_compression setting,
which is 0 or 1. This causes the block_size for output buffer to be set
to 0 (1 / 2) and thus causes infinite recursion in php_ob_allocate().
Solution: use a value of 0 for the chunk size which will use the default
sizes. Also add a sanity check which will default the block_size to 1
if it ends up as 0.
Edin Kadribasic [Mon, 30 Sep 2002 09:48:54 +0000 (09:48 +0000)]
Those can be safely ignored.
Derick Rethans [Mon, 30 Sep 2002 09:40:12 +0000 (09:40 +0000)]
- Fix ZE2 build when overload is enabled
Yasuo Ohgaki [Mon, 30 Sep 2002 09:35:04 +0000 (09:35 +0000)]
Fixed typo.
# Thanks to Andrey Hristov.
Uwe Steinmann [Mon, 30 Sep 2002 09:27:56 +0000 (09:27 +0000)]
- make_objrec_from_array() gets a second parameter to handle key/pairs of
the form key=value and key:value.
- Proper treatment of the attribute SQLStmt
Yasuo Ohgaki [Mon, 30 Sep 2002 09:15:23 +0000 (09:15 +0000)]
Remove space
Yasuo Ohgaki [Mon, 30 Sep 2002 09:07:57 +0000 (09:07 +0000)]
Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
# It seems last attempt was failed. Try committing again.
Wez Furlong [Mon, 30 Sep 2002 09:07:10 +0000 (09:07 +0000)]
Even better.
Wez Furlong [Mon, 30 Sep 2002 09:04:48 +0000 (09:04 +0000)]
Slight grammar fix.
Yasuo Ohgaki [Mon, 30 Sep 2002 08:32:03 +0000 (08:32 +0000)]
Consolidate some entries.
Yasuo Ohgaki [Mon, 30 Sep 2002 08:26:54 +0000 (08:26 +0000)]
Fixed my name :)
Yasuo Ohgaki [Mon, 30 Sep 2002 08:26:23 +0000 (08:26 +0000)]
Added pg_fetch_assoc()
Yasuo Ohgaki [Mon, 30 Sep 2002 07:35:41 +0000 (07:35 +0000)]
Use PGSQL_CONV_FORCE_NULL as it is supposed.
PGSQL_CONV_FORCE_NULL inserts NULL to field instead of
NULL string for string type tuples.
Yasuo Ohgaki [Mon, 30 Sep 2002 07:24:41 +0000 (07:24 +0000)]
Use of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little.
Tim Toohey [Mon, 30 Sep 2002 07:23:34 +0000 (07:23 +0000)]
fix gdImageCopyResampled() for non-constant alpha layer
Derick Rethans [Mon, 30 Sep 2002 05:20:17 +0000 (05:20 +0000)]
- Rewording
Sascha Schumann [Mon, 30 Sep 2002 04:59:01 +0000 (04:59 +0000)]
sync
Sascha Schumann [Mon, 30 Sep 2002 04:56:38 +0000 (04:56 +0000)]
Fix my stupid mistake which broke <form> handling
Sascha Schumann [Mon, 30 Sep 2002 04:42:11 +0000 (04:42 +0000)]
Apparently, Solaris 2.6's find is overwhelmed with more than 2 -names per
invocation (add some parantheses and it segfaults). And thus, we split
the clean target up.
Yasuo Ohgaki [Mon, 30 Sep 2002 04:15:39 +0000 (04:15 +0000)]
Fix TODO desc
Yasuo Ohgaki [Mon, 30 Sep 2002 04:15:01 +0000 (04:15 +0000)]
Remove unused def. Add TODO.
Yasuo Ohgaki [Mon, 30 Sep 2002 03:51:54 +0000 (03:51 +0000)]
Improve error message. Fix proto.
Jon Parise [Mon, 30 Sep 2002 03:02:52 +0000 (03:02 +0000)]
@ - Added getopt() for parsing command line options and arguments. (Jon)
Jason Greene [Mon, 30 Sep 2002 02:09:42 +0000 (02:09 +0000)]
Fix thread safety issue
Yasuo Ohgaki [Mon, 30 Sep 2002 00:47:43 +0000 (00:47 +0000)]
Added warning for CLI and CGI SAPI changes. Fixed wrong description for 4.2.0.
<changelog@php.net> [Mon, 30 Sep 2002 00:34:59 +0000 (00:34 +0000)]
ChangeLog update
Sascha Schumann [Mon, 30 Sep 2002 00:03:09 +0000 (00:03 +0000)]
remove unused lines
Wez Furlong [Sun, 29 Sep 2002 22:55:09 +0000 (22:55 +0000)]
Prevent possible problems with two resource ids referencing the same
panel.
foobar [Sun, 29 Sep 2002 22:24:20 +0000 (22:24 +0000)]
Possible fix for #19290
Ilia Alshanetsky [Sun, 29 Sep 2002 22:16:29 +0000 (22:16 +0000)]
Fixed a mem leak inside the path resolving code.
Markus Fischer [Sun, 29 Sep 2002 22:13:16 +0000 (22:13 +0000)]
- Update
Ilia Alshanetsky [Sun, 29 Sep 2002 21:45:54 +0000 (21:45 +0000)]
Removed the ceil(-0.5); test. The return value is depedant on system's
libc and even when proper value '-0' is returned, var_dump() converts
it to 0 anyway.
foobar [Sun, 29 Sep 2002 19:28:12 +0000 (19:28 +0000)]
ws fix
foobar [Sun, 29 Sep 2002 19:22:39 +0000 (19:22 +0000)]
ws fix
Ilia Alshanetsky [Sun, 29 Sep 2002 19:21:10 +0000 (19:21 +0000)]
Corrected ceil(-0.5) output value, it is 0 not -0.
foobar [Sun, 29 Sep 2002 18:53:19 +0000 (18:53 +0000)]
Make it compile with the latest _release_ too..
Ilia Alshanetsky [Sun, 29 Sep 2002 18:33:14 +0000 (18:33 +0000)]
Fixed a crash, which would occur when save_handler is invalid.
Sascha Schumann [Sun, 29 Sep 2002 16:25:23 +0000 (16:25 +0000)]
Fix some typos
Sascha Schumann [Sun, 29 Sep 2002 16:22:49 +0000 (16:22 +0000)]
Follow Yasuo's suggestion and build sapi program's under the sapi-specific
directory.
Move sapi-specific makefile fragments to their respective directory.
Create an embed sapi module which resides in its own dir now.
Ilia Alshanetsky [Sun, 29 Sep 2002 15:55:11 +0000 (15:55 +0000)]
Fixed bug #17281
Ilia Alshanetsky [Sun, 29 Sep 2002 15:26:50 +0000 (15:26 +0000)]
Fixed bugs #16995 and #19392
Ilia Alshanetsky [Sun, 29 Sep 2002 14:48:10 +0000 (14:48 +0000)]
Bug fixing news.
Ilia Alshanetsky [Sun, 29 Sep 2002 14:45:57 +0000 (14:45 +0000)]
Fixed bug #19366
Derick Rethans [Sun, 29 Sep 2002 10:00:07 +0000 (10:00 +0000)]
- Fix Edin's name
Edin Kadribasic [Sun, 29 Sep 2002 02:45:25 +0000 (02:45 +0000)]
Added php/embed toolkit for embedding PHP engine into C/C++ applications.
See my post to php-dev on the subject.
<changelog@php.net> [Sun, 29 Sep 2002 00:34:45 +0000 (00:34 +0000)]
ChangeLog update
Ilia Alshanetsky [Sat, 28 Sep 2002 23:39:59 +0000 (23:39 +0000)]
Bug fixing news
Wez Furlong [Sat, 28 Sep 2002 22:50:23 +0000 (22:50 +0000)]
Added ncurses_getyx().
Wez Furlong [Sat, 28 Sep 2002 22:37:51 +0000 (22:37 +0000)]
WS
Wez Furlong [Sat, 28 Sep 2002 22:37:11 +0000 (22:37 +0000)]
More streams related news.
Wez Furlong [Sat, 28 Sep 2002 22:14:21 +0000 (22:14 +0000)]
Rename streams functions to fit with naming conventions, adding aliases
for old functions where required.
Make use of recent changes to chunk size and timeout setting code.
Wez Furlong [Sat, 28 Sep 2002 22:12:23 +0000 (22:12 +0000)]
remove chunk size setting code (it's now in streams.c).
Move timeout setting code.
Wez Furlong [Sat, 28 Sep 2002 22:10:47 +0000 (22:10 +0000)]
Differentiate between write buffer and streams read buffer sizes.
Add options for timeout and chunk size; previously these were only
set-able for socket streams.