]> granicus.if.org Git - php/log
php
22 years agoWarnings for empty regular expressions
Moriyoshi Koizumi [Sun, 6 Oct 2002 06:21:34 +0000 (06:21 +0000)]
Warnings for empty regular expressions

22 years agoAs discussed a while ago, decoding GIF images is not considered a Unisys
Rasmus Lerdorf [Sun, 6 Oct 2002 06:03:17 +0000 (06:03 +0000)]
As discussed a while ago, decoding GIF images is not considered a Unisys
LZW patent violation so we can distribute read-only GIF support with
our bundled GD2.  The patent also expires in 2003, which is quickly
approaching, so we can roll in write support soon unless things change.

22 years agoAdding missing include path's to non TS projects
Frank M. Kromann [Sun, 6 Oct 2002 02:14:22 +0000 (02:14 +0000)]
Adding missing include path's to non TS projects

22 years agoFixing comment allowing the module to compile again
Frank M. Kromann [Sun, 6 Oct 2002 02:10:19 +0000 (02:10 +0000)]
Fixing comment allowing the module to compile again

22 years agoChangeLog update
<changelog@php.net> [Sun, 6 Oct 2002 00:33:38 +0000 (00:33 +0000)]
ChangeLog update

22 years agoChange HEAD version to 4.4.0-dev.
Andrei Zmievski [Sat, 5 Oct 2002 20:37:12 +0000 (20:37 +0000)]
Change HEAD version to 4.4.0-dev.

22 years ago- Add parse_url() tests (expect will follow later)url_t.phpt
Derick Rethans [Sat, 5 Oct 2002 20:28:35 +0000 (20:28 +0000)]
- Add parse_url() tests (expect will follow later)url_t.phpt

22 years ago*** empty log message ***
Andrei Zmievski [Sat, 5 Oct 2002 20:07:44 +0000 (20:07 +0000)]
*** empty log message ***

22 years ago(xslt tests) Add test for new backend API (005.phpt), new function
Melvyn Sopacua [Sat, 5 Oct 2002 19:44:26 +0000 (19:44 +0000)]
(xslt tests) Add test for new backend API (005.phpt), new function
             (006.phpt) and a crash test (007.phpt)
             006.phpt also tests handling of public entities, which is in
             essence new to the extension, since there was no way to turn
             it on.
# These new functions and backend will be added shortly.
# TODO: test for xslt_set_object

22 years agosp
Wez Furlong [Sat, 5 Oct 2002 16:25:55 +0000 (16:25 +0000)]
sp

22 years ago(xslt tests) Test for reference to a non-existing scheme handler.
Melvyn Sopacua [Sat, 5 Oct 2002 16:11:46 +0000 (16:11 +0000)]
(xslt tests) Test for reference to a non-existing scheme handler.

22 years ago(xslt: error_print) Fixes a leak when multiple error messages are issued
Melvyn Sopacua [Sat, 5 Oct 2002 14:04:19 +0000 (14:04 +0000)]
(xslt: error_print) Fixes a leak when multiple error messages are issued
                    during a transformation.
# It's probably better to wrap this in an internal function, since it's
# easily forgotten.

22 years ago- Whitspace
Derick Rethans [Sat, 5 Oct 2002 11:34:02 +0000 (11:34 +0000)]
- Whitspace

22 years agoAdd BeOS thread support to TSRM. This should not impact on any other OS's
David Reid [Sat, 5 Oct 2002 11:26:17 +0000 (11:26 +0000)]
Add BeOS thread support to TSRM. This should not impact on any other OS's
but allows us to build PHP with threading support and therefore we can
build as an Apache 2 module.

The locking is currently done using benaphores but this may be reviewed.

22 years agoremove tests entry. Fix patch entry to contain function name
Melvyn Sopacua [Sat, 5 Oct 2002 11:00:56 +0000 (11:00 +0000)]
remove tests entry. Fix patch entry to contain function name

22 years agoEOF related fixes.
Wez Furlong [Sat, 5 Oct 2002 10:59:35 +0000 (10:59 +0000)]
EOF related fixes.

22 years agoRevert. The problem lies elsewhere.
Wez Furlong [Sat, 5 Oct 2002 10:58:55 +0000 (10:58 +0000)]
Revert.  The problem lies elsewhere.

22 years agoFix Win32 build as PHP_CONFIG_FILE_SCAN_DIR is not #defined.
Wez Furlong [Sat, 5 Oct 2002 10:55:54 +0000 (10:55 +0000)]
Fix Win32 build as PHP_CONFIG_FILE_SCAN_DIR is not #defined.

22 years agoThis seems to resolve the issues with fgets.
Wez Furlong [Sat, 5 Oct 2002 10:35:13 +0000 (10:35 +0000)]
This seems to resolve the issues with fgets.
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for user streams - it still fails but that is due to an output
buffering bug.

22 years ago- Remove superfluous E_WARNING if mysql_connect() fails; there's already
Markus Fischer [Sat, 5 Oct 2002 00:54:31 +0000 (00:54 +0000)]
- Remove superfluous E_WARNING if mysql_connect() fails; there's already
  an E_WARNING a few lines above.

22 years agoNEWS update
<changelog@php.net> [Sat, 5 Oct 2002 00:34:31 +0000 (00:34 +0000)]
NEWS update

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

22 years agoadding the xslt_set_object function (as per discussion on php-dev and
David Viner [Fri, 4 Oct 2002 23:06:10 +0000 (23:06 +0000)]
adding the xslt_set_object function (as per discussion on php-dev and
the newly created sab-php@gingerall.cz)
--dviner

22 years agoadding segfault detection as proposed by Lenar Lõhmus [lenar@vision.ee]
David Viner [Fri, 4 Oct 2002 22:43:55 +0000 (22:43 +0000)]
adding segfault detection as proposed by Lenar Lõhmus [lenar@vision.ee]
--dviner

22 years agosome FTP servers return 32bit port numbers.
Stefan Esser [Fri, 4 Oct 2002 22:20:08 +0000 (22:20 +0000)]
some FTP servers return 32bit port numbers.

22 years ago Fixed a problem where opendir with <path>/ and having <path>/ in
Brian France [Fri, 4 Oct 2002 22:16:16 +0000 (22:16 +0000)]
    Fixed a problem where opendir with <path>/ and having <path>/ in
        open_basedir ini option didn't work.  It was removing the trailing
        slashes and then addeding it back to only one of the string,
        now it adds it back to to both if needed.

22 years agosome broken ftp servers return 32bit port numbers.
Stefan Esser [Fri, 4 Oct 2002 21:58:39 +0000 (21:58 +0000)]
some broken ftp servers return 32bit port numbers.

22 years agoA slightly better content-type check.
Ilia Alshanetsky [Fri, 4 Oct 2002 21:31:34 +0000 (21:31 +0000)]
A slightly better content-type check.

22 years agoAdded a note on how to enable .phps support.
Ilia Alshanetsky [Fri, 4 Oct 2002 21:22:13 +0000 (21:22 +0000)]
Added a note on how to enable .phps support.

22 years agoReturn to old counting where every test is counted (even those of skipped
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.

22 years agoAdded .phps support to Apache 2. It can be enabled by adding
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

22 years agohave implode use the smart_str_*() functions, this should speed things up
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...

22 years ago* Nuke warning when $php_errormsg is not set.
Martin Jansen [Fri, 4 Oct 2002 20:00:51 +0000 (20:00 +0000)]
* Nuke warning when $php_errormsg is not set.

22 years agoFix EOF cases
Sascha Schumann [Fri, 4 Oct 2002 19:48:59 +0000 (19:48 +0000)]
Fix EOF cases

Noticed by: Ilia

22 years agoInterrupt loop, if the stream op fails.
Sascha Schumann [Fri, 4 Oct 2002 19:36:09 +0000 (19:36 +0000)]
Interrupt loop, if the stream op fails.

22 years agoNuke warning
Sascha Schumann [Fri, 4 Oct 2002 19:20:13 +0000 (19:20 +0000)]
Nuke warning

22 years agoAdd a few notes
Sascha Schumann [Fri, 4 Oct 2002 19:08:43 +0000 (19:08 +0000)]
Add a few notes

22 years agoMake that error message more meaningful for systems like my SuSE 7.0 with
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.

22 years agoreplace dont_block with a flag.
Wez Furlong [Fri, 4 Oct 2002 18:59:34 +0000 (18:59 +0000)]
replace dont_block with a flag.

22 years agoFixed bug #19746
Ilia Alshanetsky [Fri, 4 Oct 2002 18:44:47 +0000 (18:44 +0000)]
Fixed bug #19746

22 years agoImprove the general behaviour of stream_gets and fix its semantics
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.

22 years agoKill a few more warnings
Rasmus Lerdorf [Fri, 4 Oct 2002 18:03:29 +0000 (18:03 +0000)]
Kill a few more warnings

22 years agoKill warning
Rasmus Lerdorf [Fri, 4 Oct 2002 18:01:52 +0000 (18:01 +0000)]
Kill warning

22 years agocombine those ob_* entries and keep the attention line on top
foobar [Fri, 4 Oct 2002 17:28:48 +0000 (17:28 +0000)]
combine those ob_* entries and keep the attention line on top

22 years agoreturn FALSE on error
Marcus Boerger [Fri, 4 Oct 2002 17:17:01 +0000 (17:17 +0000)]
return FALSE on error

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.