]>
granicus.if.org Git - php/log
Stefan Esser [Fri, 4 Oct 2002 21:58:39 +0000 (21:58 +0000)]
some broken ftp servers return 32bit port numbers.
Ilia Alshanetsky [Fri, 4 Oct 2002 21:31:34 +0000 (21:31 +0000)]
A slightly better content-type check.
Ilia Alshanetsky [Fri, 4 Oct 2002 21:22:13 +0000 (21:22 +0000)]
Added a note on how to enable .phps support.
Marcus Boerger [Fri, 4 Oct 2002 21:19:51 +0000 (21:19 +0000)]
Return to old counting where every test is counted (even those of skipped
extensions). Inform about the number of extensions tested and skipped.
This makes the test summary more compareable.
Maybe i'll add a parameter/env-var to skip extension tests. That way we
could fasten tests for changes in the core. But it has to wait some days.
Ilia Alshanetsky [Fri, 4 Oct 2002 21:15:59 +0000 (21:15 +0000)]
Added .phps support to Apache 2. It can be enabled by adding
AddType application/x-httpd-php-source .phps
to httpd.conf
Sterling Hughes [Fri, 4 Oct 2002 20:44:19 +0000 (20:44 +0000)]
have implode use the smart_str_*() functions, this should speed things up
quite a bit...
Martin Jansen [Fri, 4 Oct 2002 20:00:51 +0000 (20:00 +0000)]
* Nuke warning when $php_errormsg is not set.
Sascha Schumann [Fri, 4 Oct 2002 19:48:59 +0000 (19:48 +0000)]
Fix EOF cases
Noticed by: Ilia
Sascha Schumann [Fri, 4 Oct 2002 19:36:09 +0000 (19:36 +0000)]
Interrupt loop, if the stream op fails.
Sascha Schumann [Fri, 4 Oct 2002 19:20:13 +0000 (19:20 +0000)]
Nuke warning
Sascha Schumann [Fri, 4 Oct 2002 19:08:43 +0000 (19:08 +0000)]
Add a few notes
Wez Furlong [Fri, 4 Oct 2002 19:01:34 +0000 (19:01 +0000)]
Make that error message more meaningful for systems like my SuSE 7.0 with
an apparently broken magic file.
Wez Furlong [Fri, 4 Oct 2002 18:59:34 +0000 (18:59 +0000)]
replace dont_block with a flag.
Ilia Alshanetsky [Fri, 4 Oct 2002 18:44:47 +0000 (18:44 +0000)]
Fixed bug #19746
Sascha Schumann [Fri, 4 Oct 2002 18:21:40 +0000 (18:21 +0000)]
Improve the general behaviour of stream_gets and fix its semantics
with regard to sockets. The behaviour should be aligned with PHP 4.2 now.
This has been verified to some degree.
If the underlying stream operations block when no new data is readable,
we need to take extra precautions.
If there is buffered data available, we check for a EOL. If it exists,
we pass the data immediately back to the caller. This saves a call
to the read implementation and will not block where blocking
is not necessary at all.
If the stream buffer contains more data than the caller requested,
we can also avoid that costly step and simply return that data.
Rasmus Lerdorf [Fri, 4 Oct 2002 18:03:29 +0000 (18:03 +0000)]
Kill a few more warnings
Rasmus Lerdorf [Fri, 4 Oct 2002 18:01:52 +0000 (18:01 +0000)]
Kill warning
foobar [Fri, 4 Oct 2002 17:28:48 +0000 (17:28 +0000)]
combine those ob_* entries and keep the attention line on top
Marcus Boerger [Fri, 4 Oct 2002 17:17:01 +0000 (17:17 +0000)]
return FALSE on error
Marcus Boerger [Fri, 4 Oct 2002 17:11:35 +0000 (17:11 +0000)]
suggest paranthesis around || and &&
Sander Roobol [Fri, 4 Oct 2002 17:10:51 +0000 (17:10 +0000)]
Fixed a bug in the new implementation of str_repeat()
Derick Rethans [Fri, 4 Oct 2002 16:55:46 +0000 (16:55 +0000)]
- dot :)
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.. ;)
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)
Andrei Zmievski [Fri, 4 Oct 2002 14:12:13 +0000 (14:12 +0000)]
that was reverted for now
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)
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)
Sebastian Bergmann [Fri, 4 Oct 2002 05:22:13 +0000 (05:22 +0000)]
Add PHP_CONFIG_FILE_SCAN_DIR.
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.
Sean Bright [Fri, 4 Oct 2002 02:34:15 +0000 (02:34 +0000)]
Add missing ?>
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
Sascha Schumann [Fri, 4 Oct 2002 02:20:41 +0000 (02:20 +0000)]
overflow check for _php_math_basetozval
Sascha Schumann [Fri, 4 Oct 2002 01:05:03 +0000 (01:05 +0000)]
Fix php_stat brokenness.
Sascha Schumann [Fri, 4 Oct 2002 01:04:00 +0000 (01:04 +0000)]
Add VCWD_ACCESS
<changelog@php.net> [Fri, 4 Oct 2002 00:35:27 +0000 (00:35 +0000)]
NEWS update
<changelog@php.net> [Fri, 4 Oct 2002 00:34:21 +0000 (00:34 +0000)]
ChangeLog update
Sascha Schumann [Thu, 3 Oct 2002 23:13:36 +0000 (23:13 +0000)]
remove trans_sid=1
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
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
foobar [Thu, 3 Oct 2002 22:26:43 +0000 (22:26 +0000)]
sigh..is this so hard?
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.
Marcus Boerger [Thu, 3 Oct 2002 18:25:30 +0000 (18:25 +0000)]
$val not in first param to sprintf
Andrey Hristov [Thu, 3 Oct 2002 18:15:18 +0000 (18:15 +0000)]
ws fixes.
#again :)
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
Sascha Schumann [Thu, 3 Oct 2002 16:49:52 +0000 (16:49 +0000)]
invalid session.save_path should not cause a segfault
Sascha Schumann [Thu, 3 Oct 2002 16:43:44 +0000 (16:43 +0000)]
use_trans_sid should not affect SID
Sascha Schumann [Thu, 3 Oct 2002 16:14:55 +0000 (16:14 +0000)]
editing
Marcus Boerger [Thu, 3 Oct 2002 16:06:41 +0000 (16:06 +0000)]
fix position handling
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
Sascha Schumann [Thu, 3 Oct 2002 15:52:36 +0000 (15:52 +0000)]
There should not be any warning with regard to redefining SID
Sascha Schumann [Thu, 3 Oct 2002 15:48:18 +0000 (15:48 +0000)]
Registering _SESSION should not segfault.
Sascha Schumann [Thu, 3 Oct 2002 15:39:29 +0000 (15:39 +0000)]
Mini test cases for fixed segfaults
Sascha Schumann [Thu, 3 Oct 2002 15:33:00 +0000 (15:33 +0000)]
session_decode should not segfault
Sascha Schumann [Thu, 3 Oct 2002 15:19:55 +0000 (15:19 +0000)]
Remove ob_start()
Sascha Schumann [Thu, 3 Oct 2002 15:19:43 +0000 (15:19 +0000)]
Add test for unset($_SESSION["x"]); behaviour
Sascha Schumann [Thu, 3 Oct 2002 15:11:01 +0000 (15:11 +0000)]
make tests work with CLI
Sascha Schumann [Thu, 3 Oct 2002 15:10:36 +0000 (15:10 +0000)]
Don't emit warning, if there is nothing to send
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.
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.
Andrey Hristov [Thu, 3 Oct 2002 13:03:21 +0000 (13:03 +0000)]
colon written instead of semi-colon.
Stefan Esser [Thu, 3 Oct 2002 12:16:44 +0000 (12:16 +0000)]
swapped conditions to correct the logic
Andrey Hristov [Thu, 3 Oct 2002 12:06:52 +0000 (12:06 +0000)]
few ws fixes.
James Moore [Thu, 3 Oct 2002 11:56:10 +0000 (11:56 +0000)]
Keep comments and code in sync.
Stefan Esser [Thu, 3 Oct 2002 11:40:05 +0000 (11:40 +0000)]
Tell everyone that I am the ext/ftp maintainer...
Stefan Esser [Thu, 3 Oct 2002 11:38:03 +0000 (11:38 +0000)]
Added news entry about ftp_ssl_connect()
Stefan Esser [Thu, 3 Oct 2002 11:33:05 +0000 (11:33 +0000)]
Added ftp_ssl_connect() for FTP over SSL.
Zeev Suraski [Thu, 3 Oct 2002 11:18:39 +0000 (11:18 +0000)]
Guys, please keep K&R.
Sebastian Bergmann [Thu, 3 Oct 2002 11:08:09 +0000 (11:08 +0000)]
Fix warnings.
Derick Rethans [Thu, 3 Oct 2002 11:00:13 +0000 (11:00 +0000)]
- Fix descriptions
Derick Rethans [Thu, 3 Oct 2002 10:47:47 +0000 (10:47 +0000)]
- Add highlight_string buffering test
Marcus Boerger [Thu, 3 Oct 2002 10:44:13 +0000 (10:44 +0000)]
typing
Derick Rethans [Thu, 3 Oct 2002 10:43:43 +0000 (10:43 +0000)]
- Add tests
Andrey Hristov [Thu, 3 Oct 2002 10:42:57 +0000 (10:42 +0000)]
ws fixes.
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.
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.
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.
Yasuo Ohgaki [Thu, 3 Oct 2002 09:19:31 +0000 (09:19 +0000)]
Fixed broken higlight_string()
Stefan Esser [Thu, 3 Oct 2002 09:10:24 +0000 (09:10 +0000)]
renamed ftp_async_* into ftp_nb_*
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)
Yasuo Ohgaki [Thu, 3 Oct 2002 08:54:45 +0000 (08:54 +0000)]
Prevent unwanted fluhsing.
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().
Sascha Schumann [Thu, 3 Oct 2002 08:07:21 +0000 (08:07 +0000)]
Purge ini_set calls and replace through INI sections.
Andi Gutmans [Thu, 3 Oct 2002 07:23:50 +0000 (07:23 +0000)]
- Fix ZTS build
Yasuo Ohgaki [Thu, 3 Oct 2002 07:19:27 +0000 (07:19 +0000)]
Update test
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)
Sascha Schumann [Thu, 3 Oct 2002 06:52:23 +0000 (06:52 +0000)]
move gc_maxlifetime one up
Sascha Schumann [Thu, 3 Oct 2002 06:51:38 +0000 (06:51 +0000)]
Add recommened entries, including disabling the session bug/feature
Sascha Schumann [Thu, 3 Oct 2002 06:49:33 +0000 (06:49 +0000)]
Add new session options
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.
Sascha Schumann [Thu, 3 Oct 2002 06:41:25 +0000 (06:41 +0000)]
Reenable E_WARNING and test session.bug_compat_warn in addition.
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
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
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.
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
Sascha Schumann [Thu, 3 Oct 2002 05:06:01 +0000 (05:06 +0000)]
Verify PHP 4.2 compatibility: unset($c) with enabled register_globals
Yasuo Ohgaki [Thu, 3 Oct 2002 04:56:54 +0000 (04:56 +0000)]
Forgot 1 byte for \0
Yasuo Ohgaki [Thu, 3 Oct 2002 04:54:01 +0000 (04:54 +0000)]
Save memory
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.
Yasuo Ohgaki [Thu, 3 Oct 2002 04:17:41 +0000 (04:17 +0000)]
Added missing proto and foldings.
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.