]> granicus.if.org Git - php/log
php
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

22 years ago* implemented "list-remote-packages" command
Stig Bakken [Sun, 28 Apr 2002 07:35:30 +0000 (07:35 +0000)]
* implemented "list-remote-packages" command

22 years ago* implemented stub for XML_RPC fallback if xmlrpc-epi is not installed
Stig Bakken [Sun, 28 Apr 2002 07:34:46 +0000 (07:34 +0000)]
* implemented stub for XML_RPC fallback if xmlrpc-epi is not installed

22 years ago@- Added optional 3rd parameter to mysql_select_db() which makes it return
foobar [Sun, 28 Apr 2002 06:38:12 +0000 (06:38 +0000)]
@- Added optional 3rd parameter to mysql_select_db() which makes it return
@  the previously selected database name. (Jani)

22 years agoRevert.
Sebastian Bergmann [Sun, 28 Apr 2002 06:24:15 +0000 (06:24 +0000)]
Revert.

22 years agokill a compile warning
foobar [Sun, 28 Apr 2002 05:36:05 +0000 (05:36 +0000)]
kill a compile warning

22 years agoFix build when openssl is enabled.
foobar [Sun, 28 Apr 2002 04:53:40 +0000 (04:53 +0000)]
Fix build when openssl is enabled.

22 years agotouch file. Please commit first the .re file and afterwards the .c source. Otherwise...
foobar [Sun, 28 Apr 2002 04:14:47 +0000 (04:14 +0000)]
touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken.

22 years agoMissing dependancies..
foobar [Sun, 28 Apr 2002 03:27:43 +0000 (03:27 +0000)]
Missing dependancies..

22 years ago- Cleaned out the CVS commit conflicts..
foobar [Sun, 28 Apr 2002 01:49:42 +0000 (01:49 +0000)]
- Cleaned out the CVS commit conflicts..

22 years agows fix
foobar [Sun, 28 Apr 2002 01:37:54 +0000 (01:37 +0000)]
ws fix

22 years agoNEWS update
<changelog@php.net> [Sun, 28 Apr 2002 00:35:32 +0000 (00:35 +0000)]
NEWS update

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

22 years agoAdd test case for file_exist/is_file
Yasuo Ohgaki [Sun, 28 Apr 2002 00:05:43 +0000 (00:05 +0000)]
Add test case for file_exist/is_file

22 years agos/len/xln/ was necessary here
Sascha Schumann [Sat, 27 Apr 2002 23:37:17 +0000 (23:37 +0000)]
s/len/xln/ was necessary here

Noticed by: Charles O Parks III

22 years agoUse a single macro to set cl header
Sascha Schumann [Sat, 27 Apr 2002 18:41:38 +0000 (18:41 +0000)]
Use a single macro to set cl header

22 years ago@ - If possible set Content-Length header in zlib.output_compression mode. (thies)
Thies C. Arntzen [Sat, 27 Apr 2002 17:03:32 +0000 (17:03 +0000)]
@ - If possible set Content-Length header in zlib.output_compression mode. (thies)

22 years agoupdated TODO list
Harald Radi [Sat, 27 Apr 2002 15:47:18 +0000 (15:47 +0000)]
updated TODO list

22 years agoMFZE1: If the size-operands of memset are constants, the compiler can turn them into...
Sebastian Bergmann [Sat, 27 Apr 2002 15:23:46 +0000 (15:23 +0000)]
MFZE1: If the size-operands of memset are constants, the compiler can turn them into fast inline code. So, instead of using ecalloc, we use emalloc + memset in macro form now. emalloc will not return NULL, so the chosen macro form is safe. This is not true for malloc(3). An inline function accomodates our needs here. Suggested by: http://www.mail-archive.com/dev%40httpd.apache.org/msg02492.html (Sascha)

22 years agopart 2 of last commit
Thies C. Arntzen [Sat, 27 Apr 2002 14:08:07 +0000 (14:08 +0000)]
part 2 of last commit

22 years ago@ - added session_set_userdata() which enables you to specify one variable
Thies C. Arntzen [Sat, 27 Apr 2002 14:07:52 +0000 (14:07 +0000)]
@ - added session_set_userdata() which enables you to specify one variable
@   that will be kept in the browser in addition to the session-id. This
@   only works when using trans-sid sessions (no cookie). (thies)

22 years ago# Since Jani seems to have us all on /ignore, I'm reverting
Rasmus Lerdorf [Sat, 27 Apr 2002 13:38:55 +0000 (13:38 +0000)]
# Since Jani seems to have us all on /ignore, I'm reverting

22 years agodon't set CLSCTX_REMOTE_SERVER if NULL is passed as servername
Harald Radi [Sat, 27 Apr 2002 10:17:46 +0000 (10:17 +0000)]
don't set CLSCTX_REMOTE_SERVER if NULL is passed as servername

22 years agoFix bug: #16743
foobar [Sat, 27 Apr 2002 01:02:52 +0000 (01:02 +0000)]
Fix bug: #16743

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

22 years agoFixed bug #16861.
Yasuo Ohgaki [Fri, 26 Apr 2002 23:46:51 +0000 (23:46 +0000)]
Fixed bug #16861.
touch sets wrong atime or mtime when they are not specified.
touch silently failed when HAVE_UTIME is not defined.
(This needs more consideration. Which platform does not support it?)
# Derick, after HAVE_UTIME issue is resovled, this should be merged.
# or we can just merge 1st problem for now.

22 years ago- News entry about the change in php.ini-*
foobar [Fri, 26 Apr 2002 23:28:24 +0000 (23:28 +0000)]
- News entry about the change in php.ini-*

# This should have been done long time ago..

22 years agoDefault setting for short_open_tag is better be Off.
foobar [Fri, 26 Apr 2002 23:20:06 +0000 (23:20 +0000)]
Default setting for short_open_tag is better be Off.

22 years agothree less strlen invocations
Sascha Schumann [Fri, 26 Apr 2002 21:27:38 +0000 (21:27 +0000)]
three less strlen invocations

22 years agobe a bit more verbose about what is wrong
Sascha Schumann [Fri, 26 Apr 2002 21:26:47 +0000 (21:26 +0000)]
be a bit more verbose about what is wrong

22 years agothis patch should fix a bug where intermediate comvals were not
Harald Radi [Fri, 26 Apr 2002 18:20:45 +0000 (18:20 +0000)]
this patch should fix a bug where intermediate comvals were not
released before they were freed. this caused outproc com server
to belive that they still referenced even when the php process
already terminated.

22 years agobug fix for bug #15758, a double free'ing of an ODBC connection
Dan Kalowsky [Fri, 26 Apr 2002 14:56:34 +0000 (14:56 +0000)]
bug fix for bug #15758, a double free'ing of an ODBC connection

22 years agoFix external builds
Sascha Schumann [Fri, 26 Apr 2002 10:23:16 +0000 (10:23 +0000)]
Fix external builds

22 years agoreuse known values
Sascha Schumann [Fri, 26 Apr 2002 10:17:40 +0000 (10:17 +0000)]
reuse known values