]> granicus.if.org Git - php/log
php
22 years agoFixed some minor typos
Sander Roobol [Thu, 2 May 2002 17:19:42 +0000 (17:19 +0000)]
Fixed some minor typos

22 years agosocket_write() should just use the standard socket error macro so that errors will...
Jason Greene [Thu, 2 May 2002 16:45:22 +0000 (16:45 +0000)]
socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes

22 years agoFix build.
Sebastian Bergmann [Thu, 2 May 2002 15:18:26 +0000 (15:18 +0000)]
Fix build.

22 years agoupdated cgi warning notice.
James Cox [Thu, 2 May 2002 14:55:12 +0000 (14:55 +0000)]
updated cgi warning notice.

22 years agoUpdate comment
Zeev Suraski [Thu, 2 May 2002 14:05:26 +0000 (14:05 +0000)]
Update comment

22 years agoChange nest level to send Content-Length again. It seems this is the
Yasuo Ohgaki [Thu, 2 May 2002 13:55:05 +0000 (13:55 +0000)]
Change nest level to send Content-Length again. It seems this is the
best setting for now.

PHP will not send Content-Length always. It only sends when it is
possible to send. output_buffer=0 is supposed to disable chunked
output, but it seems it does not disable. It also behaves a litte
strange way. This should be addressed someday.

It is possible Content-Length header is not set. If it happens, try to
increase chunk size for now. (i.e. output_buffer=40960)

I included a little debug code for me and other develpers to play with,
when (NestLevel==1 && ObStatus==5), PHP sends Content-Length.

22 years agoremove temporary resources immediately
Harald Radi [Thu, 2 May 2002 13:37:31 +0000 (13:37 +0000)]
remove temporary resources immediately
return value fix

#thanks to alan for 'remote debugging'

22 years agoReadd warning
Sascha Schumann [Thu, 2 May 2002 13:21:38 +0000 (13:21 +0000)]
Readd warning

If Mr. Taskinen feels like removing it again, he can commence a
discussion.  Otherwise, I'll personally disable his CVS account
immediately.

22 years agoin6addr_any is defined as extern in IRIX header files, but is not actually
Sascha Schumann [Thu, 2 May 2002 13:12:44 +0000 (13:12 +0000)]
in6addr_any is defined as extern in IRIX header files, but is not actually
contained in any library (sigh).

Make this check fail, if the link stage does not succeed.  Also avoid
GCC optimization which drops the reference to ip6addr_any.

Tested on IRIX 6.5.15.

22 years ago- Add Zend API No. to phpinofo() output
Derick Rethans [Thu, 2 May 2002 12:33:03 +0000 (12:33 +0000)]
- Add Zend API No. to phpinofo() output

22 years agoStop the search when the libs are found.
foobar [Thu, 2 May 2002 10:22:26 +0000 (10:22 +0000)]
Stop the search when the libs are found.

22 years agoInstall pear.bat
Tomas V.V.Cox [Thu, 2 May 2002 10:15:47 +0000 (10:15 +0000)]
Install pear.bat
# Please Windows hackers test the pear installer support!

22 years agoI could swear it worked the other way before I committed.
Sebastian Bergmann [Thu, 2 May 2002 10:15:27 +0000 (10:15 +0000)]
I could swear it worked the other way before I committed.

22 years agountabify
Tomas V.V.Cox [Thu, 2 May 2002 10:14:01 +0000 (10:14 +0000)]
untabify

22 years agoenglishify.
James Cox [Thu, 2 May 2002 10:05:24 +0000 (10:05 +0000)]
englishify.

22 years agoAdd config.w32.h.
Sebastian Bergmann [Thu, 2 May 2002 09:57:45 +0000 (09:57 +0000)]
Add config.w32.h.

22 years agoOops.
Sebastian Bergmann [Thu, 2 May 2002 09:53:17 +0000 (09:53 +0000)]
Oops.

22 years agoFugbix typos.
Sebastian Bergmann [Thu, 2 May 2002 09:51:05 +0000 (09:51 +0000)]
Fugbix typos.

22 years agoThe Windows build can now be configures more comfortably, for instance in regard...
Sebastian Bergmann [Thu, 2 May 2002 09:49:41 +0000 (09:49 +0000)]
The Windows build can now be configures more comfortably, for instance in regard to built-in extensions.

22 years agoRemove bogus warning.
foobar [Thu, 2 May 2002 08:31:55 +0000 (08:31 +0000)]
Remove bogus warning.

22 years agoSync with PHP_4_2_0 branch.
foobar [Thu, 2 May 2002 08:30:29 +0000 (08:30 +0000)]
Sync with PHP_4_2_0 branch.

22 years agoFixed header output. Only need to output header when it is actually sent to client.
Yasuo Ohgaki [Thu, 2 May 2002 06:50:18 +0000 (06:50 +0000)]
Fixed header output. Only need to output header when it is actually sent to client.

22 years agoRevert the previous commit (revision 1.40).
Jon Parise [Thu, 2 May 2002 05:36:21 +0000 (05:36 +0000)]
Revert the previous commit (revision 1.40).

@bindir@ ended up becoming '${exec_prefix}' (literally) on my system
(FreeBSD 4.5), thus producing a broken shebang line.

@prefix@ works fine for me here.  If @bindir@ is indeed preferred, the
substitution problem noted above needs to be resolved before the change
is reapplied.

22 years agoCheck buffer status
Yasuo Ohgaki [Thu, 2 May 2002 04:04:59 +0000 (04:04 +0000)]
Check buffer status

22 years agoMake Content-Type output always correct.
Yasuo Ohgaki [Thu, 2 May 2002 01:58:12 +0000 (01:58 +0000)]
Make Content-Type output always correct.
# Flushing buffer is needed to be fixed properly anyway...

22 years agoModify NEWS entry for Content-Length header change
Yasuo Ohgaki [Thu, 2 May 2002 01:15:30 +0000 (01:15 +0000)]
Modify NEWS entry for Content-Length header change

22 years agoMove Content-Length: header handling from zlib.c to output.c
Yasuo Ohgaki [Thu, 2 May 2002 01:12:01 +0000 (01:12 +0000)]
Move Content-Length: header handling from zlib.c to output.c
When output buffer is enabled and header can be sent, Content-Length:
header is added always from now on.

22 years agoNEWS update
<changelog@php.net> [Thu, 2 May 2002 00:25:56 +0000 (00:25 +0000)]
NEWS update

22 years agoChangeLog update
<changelog@php.net> [Thu, 2 May 2002 00:23:16 +0000 (00:23 +0000)]
ChangeLog update

22 years ago- Fix String is not zero-terminated error in base64_decode
Derick Rethans [Wed, 1 May 2002 20:11:09 +0000 (20:11 +0000)]
- Fix String is not zero-terminated error in base64_decode

22 years ago- Update protos for socket_read() and socket_write().
Markus Fischer [Wed, 1 May 2002 16:38:22 +0000 (16:38 +0000)]
- Update protos for socket_read() and socket_write().
- Set last_error in socket_write().

22 years ago- Update protos for getpeer/getsock-name.
Markus Fischer [Wed, 1 May 2002 16:08:50 +0000 (16:08 +0000)]
- Update protos for getpeer/getsock-name.

22 years agoFix BYREF_FORCE that was not being read
Jason Greene [Wed, 1 May 2002 15:14:49 +0000 (15:14 +0000)]
Fix BYREF_FORCE that was not being read
Fix error message

22 years agoAdd a big disclaimer regarding register_globals. It just bit me again
Sascha Schumann [Wed, 1 May 2002 13:34:05 +0000 (13:34 +0000)]
Add a big disclaimer regarding register_globals.  It just bit me again
but now on a live customer site :-/

22 years ago- Rename setopt and getopt to set_option and get_option, provide alias.
Markus Fischer [Wed, 1 May 2002 11:08:08 +0000 (11:08 +0000)]
- Rename setopt and getopt to set_option and get_option, provide alias.

22 years ago- Fix couple of problems with socket_create_pair():
Markus Fischer [Wed, 1 May 2002 10:41:10 +0000 (10:41 +0000)]
- Fix couple of problems with socket_create_pair():
  - Force fourth argument to be passed by reference
  - Since the argument is modified there is no need to force it to be an array
    since it's destroyed anyway
  - Only modify the argument if socketpair() was successfully
  - Fix string modified for error message message
  - Set global last_error when socketpair() fails

22 years ago- Add SOMAXCONN constant.
Markus Fischer [Wed, 1 May 2002 09:25:26 +0000 (09:25 +0000)]
- Add SOMAXCONN constant.

22 years agoFix for #16885
Wez Furlong [Wed, 1 May 2002 08:22:17 +0000 (08:22 +0000)]
Fix for #16885

22 years agoProbable fix for #16940.
Wez Furlong [Wed, 1 May 2002 07:50:13 +0000 (07:50 +0000)]
Probable fix for #16940.

22 years ago- WS fixes
Markus Fischer [Wed, 1 May 2002 07:35:01 +0000 (07:35 +0000)]
- WS fixes

22 years agoChanged socket_select to force reference copy, the older code would modify all references
Jason Greene [Wed, 1 May 2002 04:46:59 +0000 (04:46 +0000)]
Changed socket_select to force reference copy, the older code would modify all references
@Fixed a bug in socket_select() that could cause unexpected behavior when using a statement
@ like $w=$e=array($sock);
@This change unfortunately prevents the use of constant values(NULL) for the socket array paramaters.
@Instead use a temporary variable or an expression with the leftmost member being a temporary variable.
@ ex. socket_select($w, $r, $e=NULL, 10);

Also fix small memory leak.

22 years agoChangeLog update
<changelog@php.net> [Wed, 1 May 2002 00:49:54 +0000 (00:49 +0000)]
ChangeLog update

22 years agoZE2 compatibility fixes
Harald Radi [Tue, 30 Apr 2002 23:34:09 +0000 (23:34 +0000)]
ZE2 compatibility fixes

22 years ago- Forgot to update proto
Markus Fischer [Tue, 30 Apr 2002 22:03:51 +0000 (22:03 +0000)]
- Forgot to update proto

22 years ago- Allow resetting the module global last_error too.
Markus Fischer [Tue, 30 Apr 2002 22:01:06 +0000 (22:01 +0000)]
- Allow resetting the module global last_error too.

22 years agoMore unused variables.
Sebastian Bergmann [Tue, 30 Apr 2002 15:21:04 +0000 (15:21 +0000)]
More unused variables.

22 years agoFix ZE1 build
Stanislav Malyshev [Tue, 30 Apr 2002 14:45:50 +0000 (14:45 +0000)]
Fix ZE1 build

22 years agoFix ZTS build. Remove unused variables.
Sebastian Bergmann [Tue, 30 Apr 2002 14:36:43 +0000 (14:36 +0000)]
Fix ZTS build. Remove unused variables.

22 years agoAdd missing #define's.
Sebastian Bergmann [Tue, 30 Apr 2002 14:36:02 +0000 (14:36 +0000)]
Add missing #define's.

22 years ago# fooblah
Harald Radi [Tue, 30 Apr 2002 14:31:33 +0000 (14:31 +0000)]
# fooblah

22 years agoAdd new ext/mbstring/mbfilter_*.c files.
Sebastian Bergmann [Tue, 30 Apr 2002 14:29:10 +0000 (14:29 +0000)]
Add new ext/mbstring/mbfilter_*.c files.

22 years agoTouch file
Sascha Schumann [Tue, 30 Apr 2002 13:47:16 +0000 (13:47 +0000)]
Touch file

22 years agoreverting the cursor change as it seems to break many ODBC drivers.
Dan Kalowsky [Tue, 30 Apr 2002 13:17:48 +0000 (13:17 +0000)]
reverting the cursor change as it seems to break many ODBC drivers.

22 years agofixed compile warning with Visual C++.
Rui Hirokawa [Tue, 30 Apr 2002 12:45:14 +0000 (12:45 +0000)]
fixed compile warning with Visual C++.

22 years agoadded simplified chinese, traditional chinese, korean support to mbstring. Note that...
Rui Hirokawa [Tue, 30 Apr 2002 12:00:42 +0000 (12:00 +0000)]
added simplified chinese, traditional chinese, korean support to mbstring. Note that this feature is experimental.

22 years agoZE2 compatibility fix
Stanislav Malyshev [Tue, 30 Apr 2002 11:30:07 +0000 (11:30 +0000)]
ZE2 compatibility fix

22 years agoZE2 compatibility fixes
Stanislav Malyshev [Tue, 30 Apr 2002 11:29:28 +0000 (11:29 +0000)]
ZE2 compatibility fixes

22 years agorevert last bogus change. There is bug in is_file()
foobar [Tue, 30 Apr 2002 10:38:06 +0000 (10:38 +0000)]
revert last bogus change. There is bug in is_file()

22 years agoMake OBJCE return zend_class_entry*, also some cleanups
Stanislav Malyshev [Tue, 30 Apr 2002 09:56:48 +0000 (09:56 +0000)]
Make OBJCE return zend_class_entry*, also some cleanups

22 years ago- added function domxml_parser_set_keep_blanks()
Uwe Steinmann [Tue, 30 Apr 2002 05:18:12 +0000 (05:18 +0000)]
- added function domxml_parser_set_keep_blanks()

22 years agoAdding missing files to project
Frank M. Kromann [Tue, 30 Apr 2002 04:36:34 +0000 (04:36 +0000)]
Adding missing files to project

22 years agoFix ZTS build.
Sebastian Bergmann [Tue, 30 Apr 2002 04:27:52 +0000 (04:27 +0000)]
Fix ZTS build.

22 years agoUse ftok for message queue key.
Wez Furlong [Tue, 30 Apr 2002 00:58:52 +0000 (00:58 +0000)]
Use ftok for message queue key.

22 years agoChangeLog update
<changelog@php.net> [Tue, 30 Apr 2002 00:41:33 +0000 (00:41 +0000)]
ChangeLog update

22 years agoMake use of new flag so that we can buffer http headers when we know that
Wez Furlong [Tue, 30 Apr 2002 00:30:00 +0000 (00:30 +0000)]
Make use of new flag so that we can buffer http headers when we know that
the stream is not intended to be used in require/include.

22 years agoImplement user-space funtions to operate on stream contexts.
Wez Furlong [Tue, 30 Apr 2002 00:28:24 +0000 (00:28 +0000)]
Implement user-space funtions to operate on stream contexts.

22 years agoFix is_file test.
Wez Furlong [Tue, 30 Apr 2002 00:26:49 +0000 (00:26 +0000)]
Fix is_file test.
# Is there a good reason for having the actual test in an include file??

22 years agoRemove debug code that should not have been committed.
Wez Furlong [Tue, 30 Apr 2002 00:22:44 +0000 (00:22 +0000)]
Remove debug code that should not have been committed.
# I must apologize for the quality of my commits tonight...

22 years agoRemove this; it should not have been commited
Wez Furlong [Tue, 30 Apr 2002 00:20:34 +0000 (00:20 +0000)]
Remove this; it should not have been commited

22 years agorevert...
Wez Furlong [Tue, 30 Apr 2002 00:17:48 +0000 (00:17 +0000)]
revert...

22 years agoImplement context option setting API.
Wez Furlong [Tue, 30 Apr 2002 00:16:00 +0000 (00:16 +0000)]
Implement context option setting API.
Add/amend debugging code for sockets.
Add a flag that will help the http wrapper optimize itself when
it is not being used for include/require.

22 years agoNever add libraries without checking that they exist and can be linked.
foobar [Mon, 29 Apr 2002 18:08:20 +0000 (18:08 +0000)]
Never add libraries without checking that they exist and can be linked.

22 years agoRETURN_NULL() is defined with braces while RETURN_TRUE
Harald Radi [Mon, 29 Apr 2002 17:20:15 +0000 (17:20 +0000)]
RETURN_NULL() is defined with braces while RETURN_TRUE
and RETURN_FALSE are defined without.
seems not very consistent ?

22 years agoAdd comments for the fix
Stanislav Malyshev [Mon, 29 Apr 2002 16:02:41 +0000 (16:02 +0000)]
Add comments for the fix

22 years agoFix here too
Stanislav Malyshev [Mon, 29 Apr 2002 16:02:10 +0000 (16:02 +0000)]
Fix here too

22 years agofunctions returned FALSE in case of error and the oo api returned NULL.
Harald Radi [Mon, 29 Apr 2002 15:50:30 +0000 (15:50 +0000)]
functions returned FALSE in case of error and the oo api returned NULL.
make them both behave equal (return NULL, as FALSE can be a valid value).

22 years agoYet another serialization fix - for incomplete class
Stanislav Malyshev [Mon, 29 Apr 2002 15:44:30 +0000 (15:44 +0000)]
Yet another serialization fix - for incomplete class

22 years agoMake it possible to use recode 3.5 too. (happy now Wez? :)
foobar [Mon, 29 Apr 2002 15:40:16 +0000 (15:40 +0000)]
Make it possible to use recode 3.5 too. (happy now Wez? :)

22 years agoSync with PHP_4_2_0 branch.
foobar [Mon, 29 Apr 2002 15:36:14 +0000 (15:36 +0000)]
Sync with PHP_4_2_0 branch.

22 years ago- Fix WS and CS a bit
Markus Fischer [Mon, 29 Apr 2002 15:06:48 +0000 (15:06 +0000)]
- Fix WS and CS a bit

22 years ago- Store last errno in the module global 'last_error' implicitely
Markus Fischer [Mon, 29 Apr 2002 14:52:29 +0000 (14:52 +0000)]
- Store last errno in the module global 'last_error' implicitely
- Set the global 'last_error' explicitely for functions which can't return an
  error withing a single socket context (socket_create and socket_select)
- Modified socket_last_error() to return global modules last
  error if no socket resource is given
- Added a couple of more E_WARNING messages in case something
  goes foobar so the user isn't left alone in the dark.

22 years agoSlightly alter the signature of msg_send and msg_receive so that error
Wez Furlong [Mon, 29 Apr 2002 12:52:34 +0000 (12:52 +0000)]
Slightly alter the signature of msg_send and msg_receive so that error
codes and serialized "false" messages can be distinguished.

22 years agoMFB
Yasuo Ohgaki [Mon, 29 Apr 2002 09:25:56 +0000 (09:25 +0000)]
MFB

22 years ago* version will be 0.10
Stig Bakken [Mon, 29 Apr 2002 06:41:42 +0000 (06:41 +0000)]
* version will be 0.10

22 years ago* slight cleanup
Stig Bakken [Mon, 29 Apr 2002 06:38:07 +0000 (06:38 +0000)]
* slight cleanup

22 years ago* call the right parent constructor
Stig Bakken [Mon, 29 Apr 2002 06:29:07 +0000 (06:29 +0000)]
* call the right parent constructor

22 years ago* PEAR_Installer constructor now expects only the UI object
Stig Bakken [Mon, 29 Apr 2002 06:24:37 +0000 (06:24 +0000)]
* PEAR_Installer constructor now expects only the UI object

22 years ago* PEAR_Common::downloadHttp no longer wants a config object
Stig Bakken [Mon, 29 Apr 2002 06:23:51 +0000 (06:23 +0000)]
* PEAR_Common::downloadHttp no longer wants a config object

22 years ago* always set $this->config (use PEAR_Config::singleton)
Stig Bakken [Mon, 29 Apr 2002 06:23:05 +0000 (06:23 +0000)]
* always set $this->config (use PEAR_Config::singleton)
* rename setFrontend to setFrontendObject
* add validPackageName method
* added downloadHttp callback types setup, connfailed and writefailed
* no more passing config objects around

22 years ago* use the downloadHttp method w/callback
Stig Bakken [Mon, 29 Apr 2002 06:20:42 +0000 (06:20 +0000)]
* use the downloadHttp method w/callback

22 years agoshlib suffix was not defind and rint() was not found without -lm.
Rui Hirokawa [Mon, 29 Apr 2002 02:55:55 +0000 (02:55 +0000)]
shlib suffix was not defind and rint() was not found without -lm.

22 years agoNEWS update
<changelog@php.net> [Mon, 29 Apr 2002 00:43:40 +0000 (00:43 +0000)]
NEWS update

22 years agoChangeLog update
<changelog@php.net> [Mon, 29 Apr 2002 00:42:35 +0000 (00:42 +0000)]
ChangeLog update

22 years agoTouch generated file
Sascha Schumann [Sun, 28 Apr 2002 21:24:52 +0000 (21:24 +0000)]
Touch generated file
# is it really so hard to remember this?

22 years agoEnable bundled build of ext/ctype and ext/mbstring on Win32.
Sebastian Bergmann [Sun, 28 Apr 2002 17:50:09 +0000 (17:50 +0000)]
Enable bundled build of ext/ctype and ext/mbstring on Win32.

22 years agoFix couple of nasty serializer bugs:
Stanislav Malyshev [Sun, 28 Apr 2002 16:56:33 +0000 (16:56 +0000)]
Fix couple of nasty serializer bugs:
a) When array unserializer encounters less data than it expects (like:
a:1:{}) it crashes. I don't understand exactly why it does, but the fact
is it does. So now it should catch "}" and bail out.
b) When array/object data are serialized, the count is written by hash
count. However, it can be that in-loop check fails and less data than
expected will then be written into the array. Which, due to a), would
crash on unserialize. So now it will write empty entries in place of
entries it cannot serialize (the other choice would be make two passes on
the data, which I don't like).

22 years agotimestamp
Thies C. Arntzen [Sun, 28 Apr 2002 11:46:58 +0000 (11:46 +0000)]
timestamp

22 years agorevert session_set_userdata - diffent patch will come shortly
Thies C. Arntzen [Sun, 28 Apr 2002 11:45:45 +0000 (11:45 +0000)]
revert session_set_userdata - diffent patch will come shortly

22 years ago* forgot script element in release contents
Stig Bakken [Sun, 28 Apr 2002 07:58:41 +0000 (07:58 +0000)]
* forgot script element in release contents

22 years ago* package.dtd: version 1.0b7
Stig Bakken [Sun, 28 Apr 2002 07:52:00 +0000 (07:52 +0000)]
* package.dtd: version 1.0b7
  - added <provides> element
  - added <script> element