]> granicus.if.org Git - php/log
php
22 years agoMaking strrchr() binary safe.
Andrey Hristov [Wed, 2 Oct 2002 18:58:09 +0000 (18:58 +0000)]
Making strrchr() binary safe.
Test case added.

22 years agoMaking strstr() binary safe.
Andrey Hristov [Wed, 2 Oct 2002 18:41:55 +0000 (18:41 +0000)]
Making strstr() binary safe.

22 years agoWs fix. Forgot to add this in the previous commit.
Andrey Hristov [Wed, 2 Oct 2002 18:13:56 +0000 (18:13 +0000)]
Ws fix. Forgot to add this in the previous commit.

22 years agows fixes.
Andrey Hristov [Wed, 2 Oct 2002 17:56:04 +0000 (17:56 +0000)]
ws fixes.

22 years ago- Added CURLOPT_FTP_USE_EPSV option. (Patch by Alex Howansky
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>)

22 years agoBetter...
Marcus Boerger [Wed, 2 Oct 2002 15:40:57 +0000 (15:40 +0000)]
Better...

22 years agoFix implicit_flush
Marcus Boerger [Wed, 2 Oct 2002 15:36:29 +0000 (15:36 +0000)]
Fix implicit_flush

22 years agoModified get_status(): Display chunk_size allways and size which is in
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.

22 years agoRevisted Wez patch: chunk_size 0 means cahce the whole output. So
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.

22 years agoFix for SRM module (and maybe others). Header rows are now not HTML
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.

22 years agoAnother missing variable init
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?

22 years agoMissing variable init
Marcus Boerger [Wed, 2 Oct 2002 13:18:01 +0000 (13:18 +0000)]
Missing variable init

22 years agofixes bugs #19156 and #19544
Harald Radi [Wed, 2 Oct 2002 12:53:51 +0000 (12:53 +0000)]
fixes bugs #19156 and #19544

22 years agoCheck for C99 conformance of snprintf.
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.

22 years agoAnother Linux x86 system returns ELIMIT so we need to check errno as well
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.

22 years agoReflect actual stance wrt cli/cgi
Sascha Schumann [Wed, 2 Oct 2002 08:14:47 +0000 (08:14 +0000)]
Reflect actual stance wrt cli/cgi

22 years agoFixed pg_escape_typea()
Yasuo Ohgaki [Wed, 2 Oct 2002 06:30:40 +0000 (06:30 +0000)]
Fixed pg_escape_typea()

22 years agoClean up a little.
Yasuo Ohgaki [Wed, 2 Oct 2002 06:22:52 +0000 (06:22 +0000)]
Clean up a little.

22 years agoThe pread/pwrite macros check for a bug in the Linux glibc now.
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).

22 years agoImprove test to show output bufferring bypass bug clearly.
Yasuo Ohgaki [Wed, 2 Oct 2002 05:29:06 +0000 (05:29 +0000)]
Improve test to show output bufferring bypass bug clearly.

22 years agoAdded pg_unescape_bytea(). Fixed pg_data_seek().
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 :)

22 years agoAdd some example functions for mysql users.
Yasuo Ohgaki [Wed, 2 Oct 2002 03:32:27 +0000 (03:32 +0000)]
Add some example functions for mysql users.

22 years agopg_data_seek()
Yasuo Ohgaki [Wed, 2 Oct 2002 03:17:30 +0000 (03:17 +0000)]
pg_data_seek()

22 years agoAdded 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()...

22 years agoAdded pg_ping()
Yasuo Ohgaki [Wed, 2 Oct 2002 02:41:21 +0000 (02:41 +0000)]
Added pg_ping()

22 years agoRename pg_metadata() to pg_meta_data() to confirm naming standard
Yasuo Ohgaki [Wed, 2 Oct 2002 02:11:27 +0000 (02:11 +0000)]
Rename pg_metadata() to pg_meta_data() to confirm naming standard

22 years ago- Run ext/* tests only for those modules that are actually compiled
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

22 years agoChangeLog update
<changelog@php.net> [Wed, 2 Oct 2002 00:33:32 +0000 (00:33 +0000)]
ChangeLog update

22 years agorepairing the chaos
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...

22 years ago- Fix problem when crashing on illegal tokens in class name during class
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.

22 years agoDisable pread/pwrite for now until we can clarify why it should be
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.

22 years agoThe session extension ensures now that get_session_var can rely
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.

22 years agoWS and added missing output.
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.

22 years agoFix warnings
Zeev Suraski [Tue, 1 Oct 2002 10:16:40 +0000 (10:16 +0000)]
Fix warnings

22 years agoBug fix
Yasuo Ohgaki [Tue, 1 Oct 2002 10:04:04 +0000 (10:04 +0000)]
Bug fix

22 years agoFixed bug #17825. Double zval_ptr_dtor().
Yasuo Ohgaki [Tue, 1 Oct 2002 10:01:56 +0000 (10:01 +0000)]
Fixed bug #17825. Double zval_ptr_dtor().

22 years agoImplicit flush fix
Yasuo Ohgaki [Tue, 1 Oct 2002 02:54:30 +0000 (02:54 +0000)]
Implicit flush fix

22 years ago- Revert the removal of dlopen check here.
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

22 years agoFixed implicit flush.
Yasuo Ohgaki [Tue, 1 Oct 2002 02:43:33 +0000 (02:43 +0000)]
Fixed implicit flush.

22 years ago- Removed unnecessary dlopen checks. (this is done in Zend.m4 already)
foobar [Tue, 1 Oct 2002 01:47:09 +0000 (01:47 +0000)]
- Removed unnecessary dlopen checks. (this is done in Zend.m4 already)

22 years agosome typos fixed..
foobar [Tue, 1 Oct 2002 01:40:07 +0000 (01:40 +0000)]
some typos fixed..

22 years agoNEWS update
<changelog@php.net> [Tue, 1 Oct 2002 00:35:04 +0000 (00:35 +0000)]
NEWS update

22 years agoChangeLog update
<changelog@php.net> [Tue, 1 Oct 2002 00:34:05 +0000 (00:34 +0000)]
ChangeLog update

22 years agoUsers can shoot themselves by their own output handler always.
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.

22 years agoUse the built in autoconf test for fnmatch. Simply using the
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.

22 years ago- No tabs :)
Derick Rethans [Mon, 30 Sep 2002 10:34:40 +0000 (10:34 +0000)]
- No tabs :)

22 years agoAdd header file required for pread/pwrite (on my system at least).
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).

22 years agoFix infinite recursion bug when using zlib output compression.
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.

22 years agoThose can be safely ignored.
Edin Kadribasic [Mon, 30 Sep 2002 09:48:54 +0000 (09:48 +0000)]
Those can be safely ignored.

22 years ago- Fix ZE2 build when overload is enabled
Derick Rethans [Mon, 30 Sep 2002 09:40:12 +0000 (09:40 +0000)]
- Fix ZE2 build when overload is enabled

22 years agoFixed typo.
Yasuo Ohgaki [Mon, 30 Sep 2002 09:35:04 +0000 (09:35 +0000)]
Fixed typo.
# Thanks to Andrey Hristov.

22 years ago- make_objrec_from_array() gets a second parameter to handle key/pairs of
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

22 years agoRemove space
Yasuo Ohgaki [Mon, 30 Sep 2002 09:15:23 +0000 (09:15 +0000)]
Remove space

22 years agoAdded pg_fetch_assoc(). Fixed proto. Added/fixed comments.
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.

22 years agoEven better.
Wez Furlong [Mon, 30 Sep 2002 09:07:10 +0000 (09:07 +0000)]
Even better.

22 years agoSlight grammar fix.
Wez Furlong [Mon, 30 Sep 2002 09:04:48 +0000 (09:04 +0000)]
Slight grammar fix.

22 years agoConsolidate some entries.
Yasuo Ohgaki [Mon, 30 Sep 2002 08:32:03 +0000 (08:32 +0000)]
Consolidate some entries.

22 years agoFixed my name :)
Yasuo Ohgaki [Mon, 30 Sep 2002 08:26:54 +0000 (08:26 +0000)]
Fixed my name :)

22 years agoAdded pg_fetch_assoc()
Yasuo Ohgaki [Mon, 30 Sep 2002 08:26:23 +0000 (08:26 +0000)]
Added pg_fetch_assoc()

22 years agoUse PGSQL_CONV_FORCE_NULL as it is supposed.
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.

22 years agoUse of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little.
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.

22 years agofix gdImageCopyResampled() for non-constant alpha layer
Tim Toohey [Mon, 30 Sep 2002 07:23:34 +0000 (07:23 +0000)]
fix gdImageCopyResampled() for non-constant alpha layer

22 years ago- Rewording
Derick Rethans [Mon, 30 Sep 2002 05:20:17 +0000 (05:20 +0000)]
- Rewording

22 years agosync
Sascha Schumann [Mon, 30 Sep 2002 04:59:01 +0000 (04:59 +0000)]
sync

22 years agoFix my stupid mistake which broke <form> handling
Sascha Schumann [Mon, 30 Sep 2002 04:56:38 +0000 (04:56 +0000)]
Fix my stupid mistake which broke <form> handling

22 years agoApparently, Solaris 2.6's find is overwhelmed with more than 2 -names per
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.

22 years agoFix TODO desc
Yasuo Ohgaki [Mon, 30 Sep 2002 04:15:39 +0000 (04:15 +0000)]
Fix TODO desc

22 years agoRemove unused def. Add TODO.
Yasuo Ohgaki [Mon, 30 Sep 2002 04:15:01 +0000 (04:15 +0000)]
Remove unused def. Add TODO.

22 years agoImprove error message. Fix proto.
Yasuo Ohgaki [Mon, 30 Sep 2002 03:51:54 +0000 (03:51 +0000)]
Improve error message. Fix proto.

22 years ago@ - Added getopt() for parsing command line options and arguments. (Jon)
Jon Parise [Mon, 30 Sep 2002 03:02:52 +0000 (03:02 +0000)]
@ - Added getopt() for parsing command line options and arguments. (Jon)

22 years agoFix thread safety issue
Jason Greene [Mon, 30 Sep 2002 02:09:42 +0000 (02:09 +0000)]
Fix thread safety issue

22 years agoAdded warning for CLI and CGI SAPI changes. Fixed wrong description for 4.2.0.
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.

22 years agoChangeLog update
<changelog@php.net> [Mon, 30 Sep 2002 00:34:59 +0000 (00:34 +0000)]
ChangeLog update

22 years agoremove unused lines
Sascha Schumann [Mon, 30 Sep 2002 00:03:09 +0000 (00:03 +0000)]
remove unused lines

22 years agoPrevent possible problems with two resource ids referencing the same
Wez Furlong [Sun, 29 Sep 2002 22:55:09 +0000 (22:55 +0000)]
Prevent possible problems with two resource ids referencing the same
panel.

22 years agoPossible fix for #19290
foobar [Sun, 29 Sep 2002 22:24:20 +0000 (22:24 +0000)]
Possible fix for #19290

22 years agoFixed a mem leak inside the path resolving code.
Ilia Alshanetsky [Sun, 29 Sep 2002 22:16:29 +0000 (22:16 +0000)]
Fixed a mem leak inside the path resolving code.

22 years ago- Update
Markus Fischer [Sun, 29 Sep 2002 22:13:16 +0000 (22:13 +0000)]
- Update

22 years agoRemoved the ceil(-0.5); test. The return value is depedant on system's
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.

22 years agows fix
foobar [Sun, 29 Sep 2002 19:28:12 +0000 (19:28 +0000)]
ws fix

22 years agows fix
foobar [Sun, 29 Sep 2002 19:22:39 +0000 (19:22 +0000)]
ws fix

22 years agoCorrected ceil(-0.5) output value, it is 0 not -0.
Ilia Alshanetsky [Sun, 29 Sep 2002 19:21:10 +0000 (19:21 +0000)]
Corrected ceil(-0.5) output value, it is 0 not -0.

22 years agoMake it compile with the latest _release_ too..
foobar [Sun, 29 Sep 2002 18:53:19 +0000 (18:53 +0000)]
Make it compile with the latest _release_ too..

22 years agoFixed a crash, which would occur when save_handler is invalid.
Ilia Alshanetsky [Sun, 29 Sep 2002 18:33:14 +0000 (18:33 +0000)]
Fixed a crash, which would occur when save_handler is invalid.

22 years agoFix some typos
Sascha Schumann [Sun, 29 Sep 2002 16:25:23 +0000 (16:25 +0000)]
Fix some typos

22 years agoFollow Yasuo's suggestion and build sapi program's under the sapi-specific
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.

22 years agoFixed bug #17281
Ilia Alshanetsky [Sun, 29 Sep 2002 15:55:11 +0000 (15:55 +0000)]
Fixed bug #17281

22 years agoFixed bugs #16995 and #19392
Ilia Alshanetsky [Sun, 29 Sep 2002 15:26:50 +0000 (15:26 +0000)]
Fixed bugs #16995 and #19392

22 years agoBug fixing news.
Ilia Alshanetsky [Sun, 29 Sep 2002 14:48:10 +0000 (14:48 +0000)]
Bug fixing news.

22 years agoFixed bug #19366
Ilia Alshanetsky [Sun, 29 Sep 2002 14:45:57 +0000 (14:45 +0000)]
Fixed bug #19366

22 years ago- Fix Edin's name
Derick Rethans [Sun, 29 Sep 2002 10:00:07 +0000 (10:00 +0000)]
- Fix Edin's name

22 years agoAdded php/embed toolkit for embedding PHP engine into C/C++ applications.
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.

22 years agoChangeLog update
<changelog@php.net> [Sun, 29 Sep 2002 00:34:45 +0000 (00:34 +0000)]
ChangeLog update

22 years agoBug fixing news
Ilia Alshanetsky [Sat, 28 Sep 2002 23:39:59 +0000 (23:39 +0000)]
Bug fixing news

22 years agoAdded ncurses_getyx().
Wez Furlong [Sat, 28 Sep 2002 22:50:23 +0000 (22:50 +0000)]
Added ncurses_getyx().

22 years agoWS
Wez Furlong [Sat, 28 Sep 2002 22:37:51 +0000 (22:37 +0000)]
WS

22 years agoMore streams related news.
Wez Furlong [Sat, 28 Sep 2002 22:37:11 +0000 (22:37 +0000)]
More streams related news.

22 years agoRename streams functions to fit with naming conventions, adding aliases
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.

22 years agoremove chunk size setting code (it's now in streams.c).
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.

22 years agoDifferentiate between write buffer and streams read buffer sizes.
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.