]> granicus.if.org Git - php/log
php
22 years agosuggest paranthesis around || and &&
Marcus Boerger [Fri, 4 Oct 2002 17:11:35 +0000 (17:11 +0000)]
suggest paranthesis around || and &&

22 years agoFixed a bug in the new implementation of str_repeat()
Sander Roobol [Fri, 4 Oct 2002 17:10:51 +0000 (17:10 +0000)]
Fixed a bug in the new implementation of str_repeat()

22 years ago- dot :)
Derick Rethans [Fri, 4 Oct 2002 16:55:46 +0000 (16:55 +0000)]
- dot :)

22 years agofix a memory leak in implode()
Sterling Hughes [Fri, 4 Oct 2002 16:54:56 +0000 (16:54 +0000)]
fix a memory leak in implode()

# kept seperate from last commit on purpose.. ;)

22 years ago@ Make the glue argument to implode() optional, if it is not specified
Sterling Hughes [Fri, 4 Oct 2002 16:53:14 +0000 (16:53 +0000)]
@ Make the glue argument to implode() optional, if it is not specified
@ default to using "". (Sterling)

22 years agothat was reverted for now
Andrei Zmievski [Fri, 4 Oct 2002 14:12:13 +0000 (14:12 +0000)]
that was reverted for now

22 years agoImprove testkit for xslt.
Melvyn Sopacua [Fri, 4 Oct 2002 11:41:34 +0000 (11:41 +0000)]
Improve testkit for xslt.
 002.phpt and 003.phpt are regression tests for reported bugs.
 004.phpt has been known to cause problems in some Sab/PHP combinations.
 No known reports in bug db for that one.
 Added skip mechanism
@- Added regression test for bugs #17791 and #17931 (Melvyn)

22 years ago(xslt_set_error_handler) Fixes array 'fields' argument to contain correct
Melvyn Sopacua [Fri, 4 Oct 2002 09:22:03 +0000 (09:22 +0000)]
(xslt_set_error_handler) Fixes array 'fields' argument to contain correct
                         information.
                         Patch by Lenar Lohmus.
@- Fixed fields argument to contain correct info. (Lenar Lohmus)

22 years agoAdd PHP_CONFIG_FILE_SCAN_DIR.
Sebastian Bergmann [Fri, 4 Oct 2002 05:22:13 +0000 (05:22 +0000)]
Add PHP_CONFIG_FILE_SCAN_DIR.

22 years agoAs discussed, add --with-config-file-scan-dir compile-time switch defining
Rasmus Lerdorf [Fri, 4 Oct 2002 04:47:35 +0000 (04:47 +0000)]
As discussed, add --with-config-file-scan-dir compile-time switch defining
a directory which will be scanned for *.ini files after the main php.ini
file has been parsed.  This makes it much easier to automatically deploy
a modular PHP since adding extensions which have their own ini switches can
now be done by simply dropping a foo.ini file in the right directory and
restarting.  A list of parsed ini files is maintained and shown on the
phpinfo page.

22 years agoAdd missing ?>
Sean Bright [Fri, 4 Oct 2002 02:34:15 +0000 (02:34 +0000)]
Add missing ?>

22 years agopeek at freebsd's libc and fix _php_math_basetozval
Sascha Schumann [Fri, 4 Oct 2002 02:21:33 +0000 (02:21 +0000)]
peek at freebsd's libc and fix _php_math_basetozval

PR: #19733

22 years agooverflow check for _php_math_basetozval
Sascha Schumann [Fri, 4 Oct 2002 02:20:41 +0000 (02:20 +0000)]
overflow check for _php_math_basetozval

22 years agoFix php_stat brokenness.
Sascha Schumann [Fri, 4 Oct 2002 01:05:03 +0000 (01:05 +0000)]
Fix php_stat brokenness.

22 years agoAdd VCWD_ACCESS
Sascha Schumann [Fri, 4 Oct 2002 01:04:00 +0000 (01:04 +0000)]
Add VCWD_ACCESS

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

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

22 years agoremove trans_sid=1
Sascha Schumann [Thu, 3 Oct 2002 23:13:36 +0000 (23:13 +0000)]
remove trans_sid=1

22 years ago20: rewriter uses arg_seperator.output for modifying URLs
Sascha Schumann [Thu, 3 Oct 2002 23:12:16 +0000 (23:12 +0000)]
20: rewriter uses arg_seperator.output for modifying URLs
21: rewriter handles <form> and <fieldset> correctly

22 years ago19: serializing references test case using globals
Sascha Schumann [Thu, 3 Oct 2002 22:54:15 +0000 (22:54 +0000)]
19: serializing references test case using globals
18: rewriter correctly handles attribute names which contain dashes

22 years agosigh..is this so hard?
foobar [Thu, 3 Oct 2002 22:26:43 +0000 (22:26 +0000)]
sigh..is this so hard?

22 years agoRevert the patch for now. We'll be branching on Saturday the way it's
Andrei Zmievski [Thu, 3 Oct 2002 18:30:27 +0000 (18:30 +0000)]
Revert the patch for now. We'll be branching on Saturday the way it's
implemented is a bit half-baked. We can always merge it into the branch
at a later point.

22 years ago$val not in first param to sprintf
Marcus Boerger [Thu, 3 Oct 2002 18:25:30 +0000 (18:25 +0000)]
$val not in first param to sprintf

22 years agows fixes.
Andrey Hristov [Thu, 3 Oct 2002 18:15:18 +0000 (18:15 +0000)]
ws fixes.
#again :)

22 years agocode from ancient bug #5271
Sascha Schumann [Thu, 3 Oct 2002 16:55:08 +0000 (16:55 +0000)]
code from ancient bug #5271

setting $_SESSION before session_start() should not cause segfault

22 years agoinvalid session.save_path should not cause a segfault
Sascha Schumann [Thu, 3 Oct 2002 16:49:52 +0000 (16:49 +0000)]
invalid session.save_path should not cause a segfault

22 years agouse_trans_sid should not affect SID
Sascha Schumann [Thu, 3 Oct 2002 16:43:44 +0000 (16:43 +0000)]
use_trans_sid should not affect SID

22 years agoediting
Sascha Schumann [Thu, 3 Oct 2002 16:14:55 +0000 (16:14 +0000)]
editing

22 years agofix position handling
Marcus Boerger [Thu, 3 Oct 2002 16:06:41 +0000 (16:06 +0000)]
fix position handling

22 years agoA script should not be able to modify session.use_trans_sid
Sascha Schumann [Thu, 3 Oct 2002 15:58:10 +0000 (15:58 +0000)]
A script should not be able to modify session.use_trans_sid

22 years agoThere should not be any warning with regard to redefining SID
Sascha Schumann [Thu, 3 Oct 2002 15:52:36 +0000 (15:52 +0000)]
There should not be any warning with regard to redefining SID

22 years agoRegistering _SESSION should not segfault.
Sascha Schumann [Thu, 3 Oct 2002 15:48:18 +0000 (15:48 +0000)]
Registering _SESSION should not segfault.

22 years agoMini test cases for fixed segfaults
Sascha Schumann [Thu, 3 Oct 2002 15:39:29 +0000 (15:39 +0000)]
Mini test cases for fixed segfaults

22 years agosession_decode should not segfault
Sascha Schumann [Thu, 3 Oct 2002 15:33:00 +0000 (15:33 +0000)]
session_decode should not segfault

22 years agoRemove ob_start()
Sascha Schumann [Thu, 3 Oct 2002 15:19:55 +0000 (15:19 +0000)]
Remove ob_start()

22 years agoAdd test for unset($_SESSION["x"]); behaviour
Sascha Schumann [Thu, 3 Oct 2002 15:19:43 +0000 (15:19 +0000)]
Add test for unset($_SESSION["x"]); behaviour

22 years agomake tests work with CLI
Sascha Schumann [Thu, 3 Oct 2002 15:11:01 +0000 (15:11 +0000)]
make tests work with CLI

22 years agoDon't emit warning, if there is nothing to send
Sascha Schumann [Thu, 3 Oct 2002 15:10:36 +0000 (15:10 +0000)]
Don't emit warning, if there is nothing to send

22 years agoOptimized str_repeat() function, it is now 10x faster on 1 byte multipliers
Ilia Alshanetsky [Thu, 3 Oct 2002 13:59:31 +0000 (13:59 +0000)]
Optimized str_repeat() function, it is now 10x faster on 1 byte multipliers
and 5-6x faster on multi-byte multipliers.

22 years agoFixed broken code by Derick.
Yasuo Ohgaki [Thu, 3 Oct 2002 13:32:01 +0000 (13:32 +0000)]
Fixed broken code by Derick.
ob_implicit_flush() and ob_flush_all() are stopped working.
var_dump() and hightlisht_string() outputs buffer contents wrongly
with ob_implicit_flush().

Everyone should be happy now.
It was only OG(implicit_flush) interpretation issue after all.

22 years agocolon written instead of semi-colon.
Andrey Hristov [Thu, 3 Oct 2002 13:03:21 +0000 (13:03 +0000)]
colon written instead of semi-colon.

22 years agoswapped conditions to correct the logic
Stefan Esser [Thu, 3 Oct 2002 12:16:44 +0000 (12:16 +0000)]
swapped conditions to correct the logic

22 years agofew ws fixes.
Andrey Hristov [Thu, 3 Oct 2002 12:06:52 +0000 (12:06 +0000)]
few ws fixes.

22 years agoKeep comments and code in sync.
James Moore [Thu, 3 Oct 2002 11:56:10 +0000 (11:56 +0000)]
Keep comments and code in sync.

22 years agoTell everyone that I am the ext/ftp maintainer...
Stefan Esser [Thu, 3 Oct 2002 11:40:05 +0000 (11:40 +0000)]
Tell everyone that I am the ext/ftp maintainer...

22 years agoAdded news entry about ftp_ssl_connect()
Stefan Esser [Thu, 3 Oct 2002 11:38:03 +0000 (11:38 +0000)]
Added news entry about ftp_ssl_connect()

22 years agoAdded ftp_ssl_connect() for FTP over SSL.
Stefan Esser [Thu, 3 Oct 2002 11:33:05 +0000 (11:33 +0000)]
Added ftp_ssl_connect() for FTP over SSL.

22 years agoGuys, please keep K&R.
Zeev Suraski [Thu, 3 Oct 2002 11:18:39 +0000 (11:18 +0000)]
Guys, please keep K&R.

22 years agoFix warnings.
Sebastian Bergmann [Thu, 3 Oct 2002 11:08:09 +0000 (11:08 +0000)]
Fix warnings.

22 years ago- Fix descriptions
Derick Rethans [Thu, 3 Oct 2002 11:00:13 +0000 (11:00 +0000)]
- Fix descriptions

22 years ago- Add highlight_string buffering test
Derick Rethans [Thu, 3 Oct 2002 10:47:47 +0000 (10:47 +0000)]
- Add highlight_string buffering test

22 years agotyping
Marcus Boerger [Thu, 3 Oct 2002 10:44:13 +0000 (10:44 +0000)]
typing

22 years ago- Add tests
Derick Rethans [Thu, 3 Oct 2002 10:43:43 +0000 (10:43 +0000)]
- Add tests

22 years agows fixes.
Andrey Hristov [Thu, 3 Oct 2002 10:42:57 +0000 (10:42 +0000)]
ws fixes.

22 years ago- Revert changed to implicit_flush behavior. The new behavior was not
Derick Rethans [Thu, 3 Oct 2002 10:35:33 +0000 (10:35 +0000)]
- Revert changed to implicit_flush behavior. The new behavior was not
  intended in the first place.

22 years agoAdded some info about new functions and changed functionality in old ones.
Andrey Hristov [Thu, 3 Oct 2002 10:25:21 +0000 (10:25 +0000)]
Added some info about new functions and changed functionality in old ones.

22 years agoShouldn't enable implicit_flush like this.
Yasuo Ohgaki [Thu, 3 Oct 2002 09:57:53 +0000 (09:57 +0000)]
Shouldn't enable implicit_flush like this.
Most problems are fixed. If you find internal function that does
not follow my comment, please fix it or let me know.

22 years agoFixed broken higlight_string()
Yasuo Ohgaki [Thu, 3 Oct 2002 09:19:31 +0000 (09:19 +0000)]
Fixed broken higlight_string()

22 years agorenamed ftp_async_* into ftp_nb_*
Stefan Esser [Thu, 3 Oct 2002 09:10:24 +0000 (09:10 +0000)]
renamed ftp_async_* into ftp_nb_*

22 years ago - Added wddx_serialize_type(). Allows users to cast values to WDDX types
Jan Lehnardt [Thu, 3 Oct 2002 08:56:10 +0000 (08:56 +0000)]
 - Added wddx_serialize_type(). Allows users to cast values to WDDX types
@- Added wddx_serialize_type(). Allows users to cast values to WDDX types (jan)

22 years agoPrevent unwanted fluhsing.
Yasuo Ohgaki [Thu, 3 Oct 2002 08:54:45 +0000 (08:54 +0000)]
Prevent unwanted fluhsing.

22 years agoAdded comment for php_output_set_status().
Yasuo Ohgaki [Thu, 3 Oct 2002 08:54:13 +0000 (08:54 +0000)]
Added comment for php_output_set_status().
Please use this function if you would like to prevent unwanted flush
by implicit_flush=On or ob_implicit_flush().

22 years agoPurge ini_set calls and replace through INI sections.
Sascha Schumann [Thu, 3 Oct 2002 08:07:21 +0000 (08:07 +0000)]
Purge ini_set calls and replace through INI sections.

22 years ago- Fix ZTS build
Andi Gutmans [Thu, 3 Oct 2002 07:23:50 +0000 (07:23 +0000)]
- Fix ZTS build

22 years agoUpdate test
Yasuo Ohgaki [Thu, 3 Oct 2002 07:19:27 +0000 (07:19 +0000)]
Update test

22 years agoAdded ob_flush_all() that flushes bufferred contents until it actually
Yasuo Ohgaki [Thu, 3 Oct 2002 07:17:14 +0000 (07:17 +0000)]
Added ob_flush_all() that flushes bufferred contents until it actually
sent/printed.
@ Added ob_flush_all() that flushes all buffers. (Yasuo)

22 years agomove gc_maxlifetime one up
Sascha Schumann [Thu, 3 Oct 2002 06:52:23 +0000 (06:52 +0000)]
move gc_maxlifetime one up

22 years agoAdd recommened entries, including disabling the session bug/feature
Sascha Schumann [Thu, 3 Oct 2002 06:51:38 +0000 (06:51 +0000)]
Add recommened entries, including disabling the session bug/feature

22 years agoAdd new session options
Sascha Schumann [Thu, 3 Oct 2002 06:49:33 +0000 (06:49 +0000)]
Add new session options

22 years agoMake the interpretation of gc_probability configurable by adding
Sascha Schumann [Thu, 3 Oct 2002 06:45:15 +0000 (06:45 +0000)]
Make the interpretation of gc_probability configurable by adding
session.gc_dividend. The probability of running gc on each request is then
gc_probability/gc_dividend.

22 years agoReenable E_WARNING and test session.bug_compat_warn in addition.
Sascha Schumann [Thu, 3 Oct 2002 06:41:25 +0000 (06:41 +0000)]
Reenable E_WARNING and test session.bug_compat_warn in addition.

22 years agosession_destroy resets the sid, so we need to set it again here
Sascha Schumann [Thu, 3 Oct 2002 06:33:19 +0000 (06:33 +0000)]
session_destroy resets the sid, so we need to set it again here

22 years agoVerify PHP 4.2 compatibility: global is used albeit register_globals=0
Sascha Schumann [Thu, 3 Oct 2002 06:32:45 +0000 (06:32 +0000)]
Verify PHP 4.2 compatibility: global is used albeit register_globals=0

22 years agoUse ZEND_SET_SYMBOL_WITH_LENGTH correctly (hopefully)
Sascha Schumann [Thu, 3 Oct 2002 06:29:58 +0000 (06:29 +0000)]
Use ZEND_SET_SYMBOL_WITH_LENGTH correctly (hopefully)

It strikes me as awkward that a Zend API user needs to take care of
doing the engine's reference counting.

This fixes a memory overrun in a testcase.  All ZEND_SET_* calls
should be correct now.

22 years ago(track_init) Use is_ref/refcount parameters of SET_SYMBOL macros
Sascha Schumann [Thu, 3 Oct 2002 05:53:45 +0000 (05:53 +0000)]
(track_init) Use is_ref/refcount parameters of SET_SYMBOL macros

(save_current_state) Prevent a possible deadlock which occurs when
the track vars are inaccessible

22 years agoVerify PHP 4.2 compatibility: unset($c) with enabled register_globals
Sascha Schumann [Thu, 3 Oct 2002 05:06:01 +0000 (05:06 +0000)]
Verify PHP 4.2 compatibility: unset($c) with enabled register_globals

22 years agoForgot 1 byte for \0
Yasuo Ohgaki [Thu, 3 Oct 2002 04:56:54 +0000 (04:56 +0000)]
Forgot 1 byte for \0

22 years agoSave memory
Yasuo Ohgaki [Thu, 3 Oct 2002 04:54:01 +0000 (04:54 +0000)]
Save memory

22 years agoAlign behaviour with 4.2 with regard to register_globals=1
Sascha Schumann [Thu, 3 Oct 2002 04:53:05 +0000 (04:53 +0000)]
Align behaviour with 4.2 with regard to register_globals=1

session_register("c");
unset($c);
$c = time();

If a user unsets a global session variable, it is not a reference
to a $_SESSION slot anymore.

During serialization, PHP 4.2 will not find the respective entry in
$_SESSION and fall back to the global sym table.

22 years agoAdded missing proto and foldings.
Yasuo Ohgaki [Thu, 3 Oct 2002 04:17:41 +0000 (04:17 +0000)]
Added missing proto and foldings.

22 years agoMove wrong output buffer usage check to ob_gzhandler init.
Yasuo Ohgaki [Thu, 3 Oct 2002 03:58:12 +0000 (03:58 +0000)]
Move wrong output buffer usage check to ob_gzhandler init.
Export some output buffer functions.

22 years agoNuke PS(vars), we keep the state of registered session variables now
Sascha Schumann [Thu, 3 Oct 2002 03:23:02 +0000 (03:23 +0000)]
Nuke PS(vars), we keep the state of registered session variables now
completely in PS(http_session_vars). This avoids bugs which are caused
by a lack of synchronization between the two hashes. We also don't need
to worry about prioritizing one of them.

Add session.bug_compat_42 and session.bug_compat_warn which are enabled
by default. The logic behind bug_compat_42:

IF bug_compat_42 is on, and
IF register_globals is off, and
IF any value of $_SESSION["key"] is NULL, and
IF there is a global variable $key, then
$_SESSION["key"] is set to $key.

The extension emits this warning once per script, unless told otherwise.

"Your script possibly relies on a session side-effect which existed until
PHP 4.2.3. Please be advised that the session extension does not consider
global variables as a source of data, unless register_globals is enabled.
You can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn.

22 years agoMade some functions inline.
Yasuo Ohgaki [Thu, 3 Oct 2002 02:55:19 +0000 (02:55 +0000)]
Made some functions inline.
Added static for unexported functions.

22 years agoRename pg_data_seek() to pg_result_seek().
Yasuo Ohgaki [Thu, 3 Oct 2002 02:41:19 +0000 (02:41 +0000)]
Rename pg_data_seek() to pg_result_seek().
Give a correct credit for Marcus and Wez.

22 years agoRename pg_data_seek() to pg_result_seek().
Yasuo Ohgaki [Thu, 3 Oct 2002 02:32:09 +0000 (02:32 +0000)]
Rename pg_data_seek() to pg_result_seek().
Added mysql_result_seek() which is alias of mysql_data_seek().

22 years agoAdded ob_get_clean() and ob_get_flush().
Yasuo Ohgaki [Thu, 3 Oct 2002 01:36:44 +0000 (01:36 +0000)]
Added ob_get_clean() and  ob_get_flush().
Someone requested this feature before.
@ Added ob_get_clean() and og_get_flush(). (Yasuo)

22 years agoAdded missing TSRMLS_DC to php_apache_lookup_uri()
Ilia Alshanetsky [Thu, 3 Oct 2002 01:28:04 +0000 (01:28 +0000)]
Added missing TSRMLS_DC to php_apache_lookup_uri()

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

22 years agoAdd more BeOS support...
David Reid [Wed, 2 Oct 2002 23:52:08 +0000 (23:52 +0000)]
Add more BeOS support...

22 years agoAdd some more BeOS support.
David Reid [Wed, 2 Oct 2002 23:48:58 +0000 (23:48 +0000)]
Add some more BeOS support.

22 years agosyntax to avoid error while reading data from file in ibase_blob_import
Daniela Mariaschi [Wed, 2 Oct 2002 23:05:06 +0000 (23:05 +0000)]
syntax to avoid error while reading data from file in ibase_blob_import

22 years agostylissimo
foobar [Wed, 2 Oct 2002 22:34:40 +0000 (22:34 +0000)]
stylissimo

22 years agounify these files to conform with the new files created by run-tests.php
foobar [Wed, 2 Oct 2002 22:31:37 +0000 (22:31 +0000)]
unify these files to conform with the new files created by run-tests.php

22 years agoFix harmless memory leaks and simplify track_vars_init.
Sascha Schumann [Wed, 2 Oct 2002 21:51:32 +0000 (21:51 +0000)]
Fix harmless memory leaks and simplify track_vars_init.

22 years agoNotes about additions to Apache 2 sapi.
Ilia Alshanetsky [Wed, 2 Oct 2002 21:34:01 +0000 (21:34 +0000)]
Notes about additions to Apache 2 sapi.

22 years ago* we're releasing 1.0 along with PHP 4.3, so this is 1.0RC1
Stig Bakken [Wed, 2 Oct 2002 21:33:35 +0000 (21:33 +0000)]
* we're releasing 1.0 along with PHP 4.3, so this is 1.0RC1

22 years ago* add support for http proxy authorization (thanks Arnaud)
Stig Bakken [Wed, 2 Oct 2002 21:27:25 +0000 (21:27 +0000)]
* add support for http proxy authorization (thanks Arnaud)

22 years agoAdded apache_response_headers(), apache_note(), apache_getenv() and
Ilia Alshanetsky [Wed, 2 Oct 2002 21:22:44 +0000 (21:22 +0000)]
Added apache_response_headers(), apache_note(), apache_getenv() and
apache_setenv() functions.
The getallheaders() is renamed to apache_request_headers() and an
getallheaders() is aliased to it.
Added a better error reporting mechanism to apache_lookup_uri() and virtual().

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.