]> granicus.if.org Git - php/log
php
22 years agoDocument session.save_path option in php.ini
Colin Viebrock [Mon, 7 Oct 2002 17:58:27 +0000 (17:58 +0000)]
Document session.save_path option in php.ini

22 years agoUse a copy of locale instead of the original. Fixes bug #19482.
Andrei Zmievski [Mon, 7 Oct 2002 17:16:23 +0000 (17:16 +0000)]
Use a copy of locale instead of the original. Fixes bug #19482.

22 years ago2. :)
Derick Rethans [Mon, 7 Oct 2002 17:13:59 +0000 (17:13 +0000)]
2. :)

22 years ago.
Rasmus Lerdorf [Mon, 7 Oct 2002 17:11:34 +0000 (17:11 +0000)]
.

22 years agoadding test of xslt_set_object
David Viner [Mon, 7 Oct 2002 16:59:08 +0000 (16:59 +0000)]
adding test of xslt_set_object
--dviner

22 years agofixed mb_split (the value of third parameter treated wrongly)
Moriyoshi Koizumi [Mon, 7 Oct 2002 16:46:42 +0000 (16:46 +0000)]
fixed mb_split (the value of third parameter treated wrongly)

22 years agoreaddir() was returning NULL instead of FALSE when used on an invalid
Rasmus Lerdorf [Mon, 7 Oct 2002 16:46:38 +0000 (16:46 +0000)]
readdir() was returning NULL instead of FALSE when used on an invalid
directory handle.  If someone forgot to check (as someone here did) that
the opendir() succeeded, and then followed the documented usage by checking
readdir()!==FALSE things would go awry.  The ZEND_FETCH_RESOURCE macro
explicitly does a RETURN_NULL on failure which is not what we want in this
case, so work around it.  No need to change it for the OO case since the
object is not created if the opendir fails.

22 years agoMFH
Moriyoshi Koizumi [Mon, 7 Oct 2002 16:15:36 +0000 (16:15 +0000)]
MFH

22 years agonever smash the stack...
Stefan Esser [Mon, 7 Oct 2002 16:11:30 +0000 (16:11 +0000)]
never smash the stack...

22 years agofixing possible off by one in error case
Stefan Esser [Mon, 7 Oct 2002 16:05:28 +0000 (16:05 +0000)]
fixing possible off by one in error case

22 years agoTemporary (?) workaround (?) for is_executable() on Windows.
Sander Roobol [Mon, 7 Oct 2002 15:16:47 +0000 (15:16 +0000)]
Temporary (?) workaround (?) for is_executable() on Windows.

22 years agoClosing protected variables hole
Stefan Esser [Mon, 7 Oct 2002 11:23:24 +0000 (11:23 +0000)]
Closing protected variables hole

22 years agoWhitespace
Zeev Suraski [Mon, 7 Oct 2002 11:21:06 +0000 (11:21 +0000)]
Whitespace

22 years agoFix obvious error..
foobar [Mon, 7 Oct 2002 11:08:11 +0000 (11:08 +0000)]
Fix obvious error..

22 years ago - fix typo and improve error message
Jan Lehnardt [Mon, 7 Oct 2002 10:09:07 +0000 (10:09 +0000)]
 - fix typo and improve error message

22 years agoCall ob_flush to force the buffer contents to go through the rewriter.
Sascha Schumann [Mon, 7 Oct 2002 10:07:27 +0000 (10:07 +0000)]
Call ob_flush to force the buffer contents to go through the rewriter.

22 years agoTests will be skipped if a tester does not explicitly specify the
Marc Boeren [Mon, 7 Oct 2002 09:27:02 +0000 (09:27 +0000)]
Tests will be skipped if a tester does not explicitly specify the
test-database setup in dbx_test.p.

22 years agostdio buffers data in user land. By calling fflush(3), this
Sascha Schumann [Mon, 7 Oct 2002 03:12:06 +0000 (03:12 +0000)]
stdio buffers data in user land. By calling fflush(3), this
data is sent to the kernel using write(2). fsync'ing a
file descriptor is not required -- writing to a fd has the same
affect as calling fflush after each fwrite.

22 years agoPrint out warning only, if a variable was actually migrated
Sascha Schumann [Mon, 7 Oct 2002 02:37:50 +0000 (02:37 +0000)]
Print out warning only, if a variable was actually migrated

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

22 years agoAdd --EXPECTF-- section: 'sprintf' for EXPECT sections. See for usage
Melvyn Sopacua [Mon, 7 Oct 2002 00:05:20 +0000 (00:05 +0000)]
Add --EXPECTF-- section: 'sprintf' for EXPECT sections. See for usage
example ext/xslt/tests/009.phpt.
# To aid debugging, a little commented section is left in, this can be
# stripped in due time, or properly integrated with some --debugging flag.
# But it's quite useful, when you make such tests.

22 years ago(xslt tests) Add test for memory leaks, caused by inapproreate use of
Melvyn Sopacua [Sun, 6 Oct 2002 23:58:51 +0000 (23:58 +0000)]
(xslt tests) Add test for memory leaks, caused by inapproreate use of
             the struct. Memory leak is caused by at least 2 errors on
             handle.

22 years agoTry to ensure that we return the number of bytes requested during fread().
Wez Furlong [Sun, 6 Oct 2002 23:27:53 +0000 (23:27 +0000)]
Try to ensure that we return the number of bytes requested during fread().

22 years agoSilence warning.
Sebastian Bergmann [Sun, 6 Oct 2002 21:47:54 +0000 (21:47 +0000)]
Silence warning.

22 years ago- Fix problem with unsetting object members.
Andi Gutmans [Sun, 6 Oct 2002 19:55:31 +0000 (19:55 +0000)]
- Fix problem with unsetting object members.

22 years agoSkip this test if we're not using ZE2
Sander Roobol [Sun, 6 Oct 2002 19:39:12 +0000 (19:39 +0000)]
Skip this test if we're not using ZE2

22 years agoWe're testing stripCslashes() here :)
Sander Roobol [Sun, 6 Oct 2002 19:26:56 +0000 (19:26 +0000)]
We're testing stripCslashes() here :)

22 years agoSome more weird tests on Derick's request :)
Sander Roobol [Sun, 6 Oct 2002 19:17:04 +0000 (19:17 +0000)]
Some more weird tests on Derick's request :)

22 years agoSome string tests
Sander Roobol [Sun, 6 Oct 2002 19:12:22 +0000 (19:12 +0000)]
Some string tests

22 years ago- Add new tests for: array_change_key_case, array_chunk and
Derick Rethans [Sun, 6 Oct 2002 18:42:03 +0000 (18:42 +0000)]
- Add new tests for: array_change_key_case, array_chunk and
  array_count_values.

22 years agoFix another leak in implode()
Sander Roobol [Sun, 6 Oct 2002 18:39:03 +0000 (18:39 +0000)]
Fix another leak in implode()

22 years agoFix for bug 19781
Rasmus Lerdorf [Sun, 6 Oct 2002 17:47:50 +0000 (17:47 +0000)]
Fix for bug 19781

22 years ago- Fix highlight_string test.
Derick Rethans [Sun, 6 Oct 2002 17:37:25 +0000 (17:37 +0000)]
- Fix highlight_string test.

22 years agoCode cleanup. Thanks Andi.
Ilia Alshanetsky [Sun, 6 Oct 2002 17:17:38 +0000 (17:17 +0000)]
Code cleanup. Thanks Andi.

22 years agoAdd php_ini_scanned_files() so "make test" can tell you when you have
Rasmus Lerdorf [Sun, 6 Oct 2002 17:04:10 +0000 (17:04 +0000)]
Add php_ini_scanned_files() so "make test" can tell you when you have
additional .ini files that are scanned.

22 years agoYou can't detect NULL nicely - false is better and more PHPish.
Sander Roobol [Sun, 6 Oct 2002 17:00:33 +0000 (17:00 +0000)]
You can't detect NULL nicely - false is better and more PHPish.

22 years agoFix build
Rasmus Lerdorf [Sun, 6 Oct 2002 16:37:33 +0000 (16:37 +0000)]
Fix build

22 years agoFixed getopt() - made it actually work
Sander Roobol [Sun, 6 Oct 2002 16:33:14 +0000 (16:33 +0000)]
Fixed getopt() - made it actually work

22 years agoMFB
Melvyn Sopacua [Sun, 6 Oct 2002 16:32:24 +0000 (16:32 +0000)]
MFB

22 years agoAdded expected data to parse_url() test
Ilia Alshanetsky [Sun, 6 Oct 2002 16:15:06 +0000 (16:15 +0000)]
Added expected data to parse_url() test

22 years agoAdded a much faster parse_url() implementation. This also fixes a number
Ilia Alshanetsky [Sun, 6 Oct 2002 16:14:42 +0000 (16:14 +0000)]
Added a much faster parse_url() implementation. This also fixes a number
of bugs in the old parse_url() implementation.

22 years agomissed this, needed by 007.phpt
Melvyn Sopacua [Sun, 6 Oct 2002 15:51:33 +0000 (15:51 +0000)]
missed this, needed by 007.phpt

22 years agoadded support for aliases of the encodings.
Moriyoshi Koizumi [Sun, 6 Oct 2002 15:31:52 +0000 (15:31 +0000)]
added support for aliases of the encodings.

22 years agoRevert the implicit_flush mess.
Zeev Suraski [Sun, 6 Oct 2002 12:02:53 +0000 (12:02 +0000)]
Revert the implicit_flush mess.

Do not revert it again under any circumstances!

Yasuo/anybody else - if there are issues with implicit_flush, please inform
me and I will fix them.

22 years agoFixed segfault and memory leak in the new implementation of implode()
Sander Roobol [Sun, 6 Oct 2002 11:28:11 +0000 (11:28 +0000)]
Fixed segfault and memory leak in the new implementation of implode()

22 years agoAdd testcases for implode() and str_repeat()
Sander Roobol [Sun, 6 Oct 2002 11:26:49 +0000 (11:26 +0000)]
Add testcases for implode() and str_repeat()

22 years agoHAVE_MBSTRING awareness.
Sebastian Bergmann [Sun, 6 Oct 2002 09:36:26 +0000 (09:36 +0000)]
HAVE_MBSTRING awareness.

22 years agoHAVE_MBREGEX awareness.
Sebastian Bergmann [Sun, 6 Oct 2002 09:29:54 +0000 (09:29 +0000)]
HAVE_MBREGEX awareness.

22 years agoBegin the cleanup - remove ob_flush_all()
Zeev Suraski [Sun, 6 Oct 2002 09:06:24 +0000 (09:06 +0000)]
Begin the cleanup - remove ob_flush_all()

22 years agoWS fix - although the entire libgd directory is horrendously formatted.
Rasmus Lerdorf [Sun, 6 Oct 2002 08:39:05 +0000 (08:39 +0000)]
WS fix - although the entire libgd directory is horrendously formatted.
However, since we are forking existing code, fixing it would make it much
harder to merge any Boutell patches (if they ever come out with any).

22 years agoOops
Rasmus Lerdorf [Sun, 6 Oct 2002 08:35:22 +0000 (08:35 +0000)]
Oops

22 years agoOk, perhaps it's too late at night, but I see absolutely no reason for
Rasmus Lerdorf [Sun, 6 Oct 2002 07:19:07 +0000 (07:19 +0000)]
Ok, perhaps it's too late at night, but I see absolutely no reason for
this chunk of code here.  Why is it writing a palette.map file to disk
in the middle of this function?  Looks like leftover debug code, and this
particular code seems to be crashing on OSX as per bug #19704.

22 years agoFix for bug #19700 - code by Wez
Rasmus Lerdorf [Sun, 6 Oct 2002 06:47:53 +0000 (06:47 +0000)]
Fix for bug #19700 - code by Wez

22 years agomade messages more consistent
Moriyoshi Koizumi [Sun, 6 Oct 2002 06:37:47 +0000 (06:37 +0000)]
made messages more consistent

22 years agoAdd note about javax.servlet package.
Sebastian Bergmann [Sun, 6 Oct 2002 06:27:13 +0000 (06:27 +0000)]
Add note about javax.servlet package.

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