]> granicus.if.org Git - php/log
php
23 years agoadded missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis...
Rui Hirokawa [Sun, 5 May 2002 02:22:36 +0000 (02:22 +0000)]
added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win.

23 years agosync
Sascha Schumann [Sun, 5 May 2002 02:07:33 +0000 (02:07 +0000)]
sync

23 years agothe output buffer is flushed during request shutdown before it
Sascha Schumann [Sun, 5 May 2002 02:07:16 +0000 (02:07 +0000)]
the output buffer is flushed during request shutdown before it
reaches our rshutdown, so it is safe to delete the contents of
the url rewriter variables here.

23 years agoNEWS update
<changelog@php.net> [Sun, 5 May 2002 00:22:10 +0000 (00:22 +0000)]
NEWS update

23 years agoChangeLog update
<changelog@php.net> [Sun, 5 May 2002 00:20:01 +0000 (00:20 +0000)]
ChangeLog update

23 years agoWe shouldn't force Content-length:, but much worse, it's wrong in many
Zeev Suraski [Sat, 4 May 2002 23:23:16 +0000 (23:23 +0000)]
We shouldn't force Content-length:, but much worse, it's wrong in many
cases (basically, unless you use output buffering to buffer all of your content,
it won't work;  output buffering is used for lots of different things as a
functional interface, and such buffers have no relation to Content-type at
all).

23 years agoFree string before overwriting it
Sascha Schumann [Sat, 4 May 2002 19:06:46 +0000 (19:06 +0000)]
Free string before overwriting it

23 years agoupdate
Sascha Schumann [Sat, 4 May 2002 18:34:29 +0000 (18:34 +0000)]
update

23 years agosimplify handling of variables by maintaining two strings which
Sascha Schumann [Sat, 4 May 2002 18:33:13 +0000 (18:33 +0000)]
simplify handling of variables by maintaining two strings which
are simply appended instead of traversing the hash table on each
URL/form.

also fix an unconditional segfault in rshutdown due to efree'ing
a static char *.

remove remove_var, add reset_vars.  move the function declarations
into the right header file.

23 years agoret set but unused
Sascha Schumann [Sat, 4 May 2002 18:11:36 +0000 (18:11 +0000)]
ret set but unused

23 years agothese are case sensitive
Sascha Schumann [Sat, 4 May 2002 17:42:58 +0000 (17:42 +0000)]
these are case sensitive

23 years agoc set but unused
Sascha Schumann [Sat, 4 May 2002 17:41:51 +0000 (17:41 +0000)]
c set but unused

23 years agoinheader set but unused
Sascha Schumann [Sat, 4 May 2002 17:41:11 +0000 (17:41 +0000)]
inheader set but unused

23 years agotouch.
James Cox [Sat, 4 May 2002 17:41:03 +0000 (17:41 +0000)]
touch.

23 years agoadd $id:$ line
James Cox [Sat, 4 May 2002 17:39:05 +0000 (17:39 +0000)]
add $id:$ line

23 years agoblock_ended/opposite_target were set but never used
Sascha Schumann [Sat, 4 May 2002 17:38:45 +0000 (17:38 +0000)]
block_ended/opposite_target were set but never used

23 years agodon't emit code for version
Sascha Schumann [Sat, 4 May 2002 17:36:58 +0000 (17:36 +0000)]
don't emit code for version

23 years agofree_index is set but never used
Sascha Schumann [Sat, 4 May 2002 17:34:41 +0000 (17:34 +0000)]
free_index is set but never used

23 years agocall_result is set but never used
Sascha Schumann [Sat, 4 May 2002 17:32:01 +0000 (17:32 +0000)]
call_result is set but never used

23 years agoap_php_optopt is set but never used
Sascha Schumann [Sat, 4 May 2002 17:27:18 +0000 (17:27 +0000)]
ap_php_optopt is set but never used

23 years agoFix linkage of symbols
Sascha Schumann [Sat, 4 May 2002 17:26:45 +0000 (17:26 +0000)]
Fix linkage of symbols

23 years agoentry_length was set but never used
Sascha Schumann [Sat, 4 May 2002 17:24:08 +0000 (17:24 +0000)]
entry_length was set but never used

23 years agoupdate
Sascha Schumann [Sat, 4 May 2002 17:17:54 +0000 (17:17 +0000)]
update

23 years agorval_temp was declared but never used
Sascha Schumann [Sat, 4 May 2002 17:17:43 +0000 (17:17 +0000)]
rval_temp was declared but never used

23 years agoredirected is set but never used
Sascha Schumann [Sat, 4 May 2002 17:16:28 +0000 (17:16 +0000)]
redirected is set but never used

23 years agoinclude url.h
Sascha Schumann [Sat, 4 May 2002 17:15:09 +0000 (17:15 +0000)]
include url.h

23 years agoinclude url.h to pull in declaration of php_url_encode
Sascha Schumann [Sat, 4 May 2002 17:14:56 +0000 (17:14 +0000)]
include url.h to pull in declaration of php_url_encode

23 years agoMake this code work on compilers which don't consider the address
Sascha Schumann [Sat, 4 May 2002 17:12:26 +0000 (17:12 +0000)]
Make this code work on compilers which don't consider the address
of a variable on the stack available at compile time.

23 years agounused var
Sascha Schumann [Sat, 4 May 2002 16:59:41 +0000 (16:59 +0000)]
unused var

23 years agop is set, but never used.
Sascha Schumann [Sat, 4 May 2002 16:54:13 +0000 (16:54 +0000)]
p is set, but never used.

23 years agoTurn misplaced PHP_ARG_WITH into _ENABLE
Sascha Schumann [Sat, 4 May 2002 16:50:10 +0000 (16:50 +0000)]
Turn misplaced PHP_ARG_WITH into _ENABLE
and fix --enable-mbstring=shared

23 years agoFix --enable-session=shared
Sascha Schumann [Sat, 4 May 2002 16:48:48 +0000 (16:48 +0000)]
Fix --enable-session=shared

23 years agoFix --enable-xml=shared
Sascha Schumann [Sat, 4 May 2002 16:48:01 +0000 (16:48 +0000)]
Fix --enable-xml=shared

23 years agoReworked result resource handling so that result is not freed until all
Stig Venaas [Sat, 4 May 2002 14:27:48 +0000 (14:27 +0000)]
Reworked result resource handling so that result is not freed until all
its result entry resources are freed
@- Fixed resource bug in LDAP extension. (Stig Venaas)

23 years agofixed a problem that ereg_replace() couldn't match with line stand/end marker.
Rui Hirokawa [Sat, 4 May 2002 11:20:12 +0000 (11:20 +0000)]
fixed a problem that ereg_replace() couldn't match with line stand/end marker.

23 years agoForgot to dup strings.
Yasuo Ohgaki [Sat, 4 May 2002 10:55:08 +0000 (10:55 +0000)]
Forgot to dup strings.

23 years agoFixed reference to freed zval string value.
Yasuo Ohgaki [Sat, 4 May 2002 09:46:44 +0000 (09:46 +0000)]
Fixed reference to freed zval string value.

23 years agoFixed crash when buffer is over written in ob callback. (Bug $ 12227)
Yasuo Ohgaki [Sat, 4 May 2002 03:02:51 +0000 (03:02 +0000)]
Fixed crash when buffer is over written in ob callback. (Bug $ 12227)
Added check current output function check for Centent-Length header.
@ Fixed output buffer crash when buffer is over written in callback. (Yasuo)

23 years agoNEWS update
<changelog@php.net> [Sat, 4 May 2002 00:38:22 +0000 (00:38 +0000)]
NEWS update

23 years agoChangeLog update
<changelog@php.net> [Sat, 4 May 2002 00:32:52 +0000 (00:32 +0000)]
ChangeLog update

23 years agoDomxml changes go into the 4.2.x branch.
foobar [Fri, 3 May 2002 21:30:58 +0000 (21:30 +0000)]
Domxml changes go into the 4.2.x branch.

23 years agoAdding missing .cvsignore
Sander Roobol [Fri, 3 May 2002 19:17:21 +0000 (19:17 +0000)]
Adding missing .cvsignore

23 years agoremoved the function for domxml_node_add_child and made an alias to
Christian Stocker [Fri, 3 May 2002 13:53:46 +0000 (13:53 +0000)]
removed the function for domxml_node_add_child and made an alias to
domxml_node_append_child for BC

23 years ago* switched from static to instance model
Stig Bakken [Fri, 3 May 2002 13:13:51 +0000 (13:13 +0000)]
* switched from static to instance model
* added matching method with glob support, some examples:
    $os->matchSignature('linux');
    $os->matchSignature('linux-2.4*);
    $os->matchSignature('linux-*-i?86');

23 years agoWS fixes
Christian Stocker [Fri, 3 May 2002 09:51:06 +0000 (09:51 +0000)]
WS fixes

23 years agoone parameter too much
Christian Stocker [Fri, 3 May 2002 09:46:27 +0000 (09:46 +0000)]
one parameter too much

23 years agoadded encoding support for domxml_dump_mem()
Christian Stocker [Fri, 3 May 2002 09:45:09 +0000 (09:45 +0000)]
added encoding support for domxml_dump_mem()

23 years agoforgot
Thies C. Arntzen [Fri, 3 May 2002 08:32:03 +0000 (08:32 +0000)]
forgot

23 years agoFix ZTS build.
Sebastian Bergmann [Fri, 3 May 2002 08:10:43 +0000 (08:10 +0000)]
Fix ZTS build.

23 years ago@ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
Thies C. Arntzen [Fri, 3 May 2002 08:00:41 +0000 (08:00 +0000)]
@ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
@   and remove variables from the URL-Rewriter. (thies)
i have also modified the session module to use this - so it doesn't
need to fiddle with the output-system any more

23 years ago* fixed autoconf vs. pear installer replacement issue in scripts/pear.in
Stig Bakken [Fri, 3 May 2002 05:42:55 +0000 (05:42 +0000)]
* fixed autoconf vs. pear installer replacement issue in scripts/pear.in
  (pear installer now substitutes "@prefix@/bin" to bin_dir ;-)
* added skeleton for OS_Guess class

23 years ago* unintentional news entry :-)
Stig Bakken [Fri, 3 May 2002 05:32:52 +0000 (05:32 +0000)]
* unintentional news entry :-)

23 years agoNEWS update
<changelog@php.net> [Fri, 3 May 2002 00:24:52 +0000 (00:24 +0000)]
NEWS update

23 years agoChangeLog update
<changelog@php.net> [Fri, 3 May 2002 00:24:03 +0000 (00:24 +0000)]
ChangeLog update

23 years ago* apply umask when installing files
Stig Bakken [Fri, 3 May 2002 00:01:54 +0000 (00:01 +0000)]
* apply umask when installing files

23 years ago* add umask config value
Stig Bakken [Thu, 2 May 2002 23:56:44 +0000 (23:56 +0000)]
* add umask config value

23 years agoChanged & to &&.
Frank M. Kromann [Thu, 2 May 2002 17:54:54 +0000 (17:54 +0000)]
Changed & to &&.

23 years agoAdding missing files to the project
Frank M. Kromann [Thu, 2 May 2002 17:53:42 +0000 (17:53 +0000)]
Adding missing files to the project

23 years agoFixing wrong pointer
Frank M. Kromann [Thu, 2 May 2002 17:36:00 +0000 (17:36 +0000)]
Fixing wrong pointer

23 years agoInitial support for built-in backtracing.
Andi Gutmans [Thu, 2 May 2002 17:20:48 +0000 (17:20 +0000)]
Initial support for built-in backtracing.
There are still a few problems such as includes and calling other functions
from internal functions which aren't seen (will have to think if and how to
fix this).
Also the main scripts filename isn't available. Need to think about that.

23 years agoFixed some minor typos
Sander Roobol [Thu, 2 May 2002 17:19:42 +0000 (17:19 +0000)]
Fixed some minor typos

23 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

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

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

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

23 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.

23 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'

23 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.

23 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.

23 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

23 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.

23 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!

23 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.

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

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

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

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

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

23 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.

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

23 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.

23 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.

23 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.

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

23 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...

23 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

23 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.

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

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

23 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

23 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().

23 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.

23 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

23 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 :-/

23 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.

23 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

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

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

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

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