]> granicus.if.org Git - php/log
php
22 years agoBetter fix for bug #20108.
Ilia Alshanetsky [Sat, 26 Oct 2002 22:18:40 +0000 (22:18 +0000)]
Better fix for bug #20108.

22 years agoAdded a sanity check (hopefuly will fix bug #20109). According to
Ilia Alshanetsky [Sat, 26 Oct 2002 22:00:36 +0000 (22:00 +0000)]
Added a sanity check (hopefuly will fix bug #20109). According to
http://developer.netscape.com/docs/manuals/enterprise/40/nsapi/05_nsapi.htm#551539
util_hostname() can return a NULL value.

22 years agoDefine HAVE_LIBDL, if dlopen() was found.
Sascha Schumann [Sat, 26 Oct 2002 21:28:35 +0000 (21:28 +0000)]
Define HAVE_LIBDL, if dlopen() was found.

It was tempting to do a complete s/HAVE_LIBDL/HAVE_DLOPEN/ over the
whole code base.  I defer that to a later point in time for now.

22 years agoFix build and .phps support
Sascha Schumann [Sat, 26 Oct 2002 21:06:10 +0000 (21:06 +0000)]
Fix build and .phps support

22 years agoAdded expected output.
Ilia Alshanetsky [Sat, 26 Oct 2002 20:55:48 +0000 (20:55 +0000)]
Added expected output.

22 years agoexperimental .phps support
Sascha Schumann [Sat, 26 Oct 2002 20:55:41 +0000 (20:55 +0000)]
experimental .phps support

22 years agonot sure what this async_send is doing in here, so relieve it from its duty.
Sascha Schumann [Sat, 26 Oct 2002 20:45:35 +0000 (20:45 +0000)]
not sure what this async_send is doing in here, so relieve it from its duty.

22 years agoFixed bug #20108.
Ilia Alshanetsky [Sat, 26 Oct 2002 20:45:17 +0000 (20:45 +0000)]
Fixed bug #20108.

22 years ago- Fix typoes
Derick Rethans [Sat, 26 Oct 2002 20:09:15 +0000 (20:09 +0000)]
- Fix typoes

22 years ago- fix type
Derick Rethans [Sat, 26 Oct 2002 20:07:49 +0000 (20:07 +0000)]
- fix type

22 years agoTest for bug in sprintf
Melvyn Sopacua [Sat, 26 Oct 2002 20:07:26 +0000 (20:07 +0000)]
Test for bug in sprintf

# Doesn't segfault for me, but gives a lot of garbage, so I really don't
# know what the output should be. Results posted to QA

22 years agoDonate "Fast Accept Loop" from Premium thttpd which speeds up processing
Sascha Schumann [Sat, 26 Oct 2002 19:41:27 +0000 (19:41 +0000)]
Donate "Fast Accept Loop" from Premium thttpd which speeds up processing
new connections when the connection table contains lots of entries.

22 years agoFixed memory leaks.
Ilia Alshanetsky [Sat, 26 Oct 2002 19:33:15 +0000 (19:33 +0000)]
Fixed memory leaks.

22 years agoDonate "Periodic Connection Expiring" from Premium thttpd, because
Sascha Schumann [Sat, 26 Oct 2002 18:14:45 +0000 (18:14 +0000)]
Donate "Periodic Connection Expiring" from Premium thttpd, because
it is simple and gives a +40% improvement in terms of requests/s
when serving static files.

22 years agoremove original version
Marcus Boerger [Sat, 26 Oct 2002 16:58:38 +0000 (16:58 +0000)]
remove original version

22 years agochange to use EXPECTREGEX and rename
Marcus Boerger [Sat, 26 Oct 2002 16:56:26 +0000 (16:56 +0000)]
change to use EXPECTREGEX and rename

22 years ago-introduce EXPECTREGEX
Marcus Boerger [Sat, 26 Oct 2002 16:54:30 +0000 (16:54 +0000)]
-introduce EXPECTREGEX
-add %c for EXPECTF
#i think we must escape the special characters for EXPECTF: ".()" and such

22 years agosplit tests
Marcus Boerger [Sat, 26 Oct 2002 16:48:03 +0000 (16:48 +0000)]
split tests

22 years agofine tune
Marcus Boerger [Sat, 26 Oct 2002 16:09:50 +0000 (16:09 +0000)]
fine tune

22 years agosome system headers (irix) define sa_len
Sascha Schumann [Sat, 26 Oct 2002 15:47:22 +0000 (15:47 +0000)]
some system headers (irix) define sa_len

prefix sa_len with x

22 years agoClean-ups
Moriyoshi Koizumi [Sat, 26 Oct 2002 08:52:17 +0000 (08:52 +0000)]
Clean-ups

22 years agoRenamed the test
Moriyoshi Koizumi [Sat, 26 Oct 2002 08:50:05 +0000 (08:50 +0000)]
Renamed the test

22 years agoAdded a test case for ob_iconv_handler()
Moriyoshi Koizumi [Sat, 26 Oct 2002 08:45:49 +0000 (08:45 +0000)]
Added a test case for ob_iconv_handler()

22 years agoFixed typo... what did this "#" sign mean?
Moriyoshi Koizumi [Sat, 26 Oct 2002 07:49:46 +0000 (07:49 +0000)]
Fixed typo... what did this "#" sign mean?

22 years agoRemove useless check.
Yasuo Ohgaki [Sat, 26 Oct 2002 02:08:05 +0000 (02:08 +0000)]
Remove useless check.
# Problem was in other place

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

22 years agoRenamed test cases
Moriyoshi Koizumi [Fri, 25 Oct 2002 21:39:02 +0000 (21:39 +0000)]
Renamed test cases

22 years agoAdded a test case for bug #20087
Moriyoshi Koizumi [Fri, 25 Oct 2002 21:29:14 +0000 (21:29 +0000)]
Added a test case for bug #20087

22 years agoThis is needed for BSD (FreeBSD, BSDi and possibly others), problem
Ilia Alshanetsky [Fri, 25 Oct 2002 20:09:53 +0000 (20:09 +0000)]
This is needed for BSD (FreeBSD, BSDi and possibly others), problem
was indentified by Melvyn Sopacua.

22 years agoCleanup (make sterling happy).
Ilia Alshanetsky [Fri, 25 Oct 2002 19:33:09 +0000 (19:33 +0000)]
Cleanup (make sterling happy).

22 years ago- Add XSLT_REG_ERRMSG macro to register an error on the handle
Melvyn Sopacua [Fri, 25 Oct 2002 19:23:15 +0000 (19:23 +0000)]
- Add XSLT_REG_ERRMSG macro to register an error on the handle
- Rename constants to a bit more appropreate format
- Add XSLT_ERR_UNSUPPORTED_SCHEME to be returned for scheme handlers.

# Docs on xslt_set_scheme_handlers are in progress.

22 years agoTests renamed
Melvyn Sopacua [Fri, 25 Oct 2002 19:17:16 +0000 (19:17 +0000)]
Tests renamed
Remove dl() from skipif, for potential problems accross platforms and
versions.

22 years agotest renaming
Melvyn Sopacua [Fri, 25 Oct 2002 19:13:34 +0000 (19:13 +0000)]
test renaming

22 years agoAdditional fix for #20087
Moriyoshi Koizumi [Fri, 25 Oct 2002 18:35:25 +0000 (18:35 +0000)]
Additional fix for #20087
# Thanks, Derick!

22 years agoAdded note about error reporting in tests.
Ilia Alshanetsky [Fri, 25 Oct 2002 18:09:55 +0000 (18:09 +0000)]
Added note about error reporting in tests.

22 years agoFixed a bug in the test that would cause it to always fail.
Ilia Alshanetsky [Fri, 25 Oct 2002 17:52:32 +0000 (17:52 +0000)]
Fixed a bug in the test that would cause it to always fail.

22 years ago- Fixed bug #20087 (Assertion failure when the value was empty)
Derick Rethans [Fri, 25 Oct 2002 17:44:52 +0000 (17:44 +0000)]
- Fixed bug #20087 (Assertion failure when the value was empty)

22 years agoThe log_errors=1 breaks a number of tests and is useless for our purposes,
Ilia Alshanetsky [Fri, 25 Oct 2002 17:24:09 +0000 (17:24 +0000)]
The log_errors=1 breaks a number of tests and is useless for our purposes,
removing.

22 years ago- Fix build
Derick Rethans [Fri, 25 Oct 2002 14:33:46 +0000 (14:33 +0000)]
- Fix build
#- Jan, please TEST! before committing :-)

22 years agoUpdated the test cases for htmlentities()
Moriyoshi Koizumi [Fri, 25 Oct 2002 13:12:31 +0000 (13:12 +0000)]
Updated the test cases for htmlentities()

22 years agoFix build if mbstring is enabled as shared extension.
Moriyoshi Koizumi [Fri, 25 Oct 2002 13:12:05 +0000 (13:12 +0000)]
Fix build if mbstring is enabled as shared extension.

22 years agofix ZTS build
Marcus Boerger [Fri, 25 Oct 2002 11:50:35 +0000 (11:50 +0000)]
fix ZTS build

22 years ago- Naming style
Derick Rethans [Fri, 25 Oct 2002 11:20:45 +0000 (11:20 +0000)]
- Naming style

22 years agoupdate
Marcus Boerger [Fri, 25 Oct 2002 11:17:45 +0000 (11:17 +0000)]
update

22 years agoREADME.TESTING examples
Marcus Boerger [Fri, 25 Oct 2002 11:10:08 +0000 (11:10 +0000)]
README.TESTING examples

22 years agoNew naming scheme
Marcus Boerger [Fri, 25 Oct 2002 11:09:01 +0000 (11:09 +0000)]
New naming scheme

22 years agoNew naming scheme
Marcus Boerger [Fri, 25 Oct 2002 10:59:52 +0000 (10:59 +0000)]
New naming scheme

22 years agoREADME.TESTING examples
Marcus Boerger [Fri, 25 Oct 2002 10:46:19 +0000 (10:46 +0000)]
README.TESTING examples

22 years agoremove unnecessary sections
Marcus Boerger [Fri, 25 Oct 2002 10:28:37 +0000 (10:28 +0000)]
remove unnecessary sections
#becomes an example

22 years agoImplemented dba_list() that returns an array rsrcid=>filename and a test.
Marcus Boerger [Fri, 25 Oct 2002 10:06:35 +0000 (10:06 +0000)]
Implemented dba_list() that returns an array rsrcid=>filename and a test.

22 years agoAdded some tests for dba extension
Marcus Boerger [Fri, 25 Oct 2002 09:42:29 +0000 (09:42 +0000)]
Added some tests for dba extension

22 years agoFixed null value check in php_mb_mbchar_bytes_ex() as it should be
Moriyoshi Koizumi [Fri, 25 Oct 2002 09:36:36 +0000 (09:36 +0000)]
Fixed null value check in php_mb_mbchar_bytes_ex() as it should be

22 years ago - alphabetical output for php -h (cli)
Jan Lehnardt [Fri, 25 Oct 2002 09:32:32 +0000 (09:32 +0000)]
 - alphabetical output for php -h (cli)

22 years ago - alphabetcial output for php -h (cgi)
Jan Lehnardt [Fri, 25 Oct 2002 09:28:55 +0000 (09:28 +0000)]
 - alphabetcial output for php -h (cgi)
 - cosmetics

22 years agoAdded two new rows to MINFO that describes iconv library info.
Moriyoshi Koizumi [Fri, 25 Oct 2002 08:51:59 +0000 (08:51 +0000)]
Added two new rows to MINFO that describes iconv library info.

22 years agoAdjusted MINFO table style
Moriyoshi Koizumi [Fri, 25 Oct 2002 08:31:27 +0000 (08:31 +0000)]
Adjusted MINFO table style

22 years agostyle
foobar [Fri, 25 Oct 2002 06:24:53 +0000 (06:24 +0000)]
style

22 years agothttpd initializes contentlength to -1, so we need to transfer that to 0
Sascha Schumann [Fri, 25 Oct 2002 01:10:50 +0000 (01:10 +0000)]
thttpd initializes contentlength to -1, so we need to transfer that to 0
for SAPI/PHP.  Otherwise, SAPI will try to read (unsigned long) -1 bytes
from the connection.

22 years agoAdded a mechanism allowing the disabling of the ability to change
Ilia Alshanetsky [Fri, 25 Oct 2002 01:06:46 +0000 (01:06 +0000)]
Added a mechanism allowing the disabling of the ability to change
certain INI options when safe_mode is enabled.

ATM three options are limited:
max_execution_time
memory_limit
child_terminate

This patch also fixes bug #17287.

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

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

22 years agoAdded some cases which test if charset determination with
Moriyoshi Koizumi [Thu, 24 Oct 2002 22:21:03 +0000 (22:21 +0000)]
Added some cases which test if charset determination with
SG(default_charset) works.

22 years agoImproved determine_charset() to look up SG(default_charset) value
Moriyoshi Koizumi [Thu, 24 Oct 2002 22:04:28 +0000 (22:04 +0000)]
Improved determine_charset() to look up SG(default_charset) value

22 years agoAdded new test cases for htmlentities
Moriyoshi Koizumi [Thu, 24 Oct 2002 21:11:41 +0000 (21:11 +0000)]
Added new test cases for htmlentities

22 years agoFixed ISO-8859-1 handling.
Moriyoshi Koizumi [Thu, 24 Oct 2002 21:10:45 +0000 (21:10 +0000)]
Fixed ISO-8859-1 handling.

22 years agoimplemented dba_handlers()
Marcus Boerger [Thu, 24 Oct 2002 20:43:03 +0000 (20:43 +0000)]
implemented dba_handlers()
@Added dba_handlers() that lists all installed handlers in an array. (marcus)

22 years agotrying to fix #20063
Hartmut Holzgraefe [Thu, 24 Oct 2002 20:04:16 +0000 (20:04 +0000)]
trying to fix #20063

22 years agoAdded &euro; support to cp1252 table
Moriyoshi Koizumi [Thu, 24 Oct 2002 19:52:30 +0000 (19:52 +0000)]
Added &euro; support to cp1252 table

22 years ago-specify reason if connection is not specified
Marcus Boerger [Thu, 24 Oct 2002 19:34:18 +0000 (19:34 +0000)]
-specify reason if connection is not specified
-remove unnecessary sections

22 years ago- Add locale string for FreeBSD
Melvyn Sopacua [Thu, 24 Oct 2002 19:17:11 +0000 (19:17 +0000)]
- Add locale string for FreeBSD
ATTN: Test nog longer skips, but fails. So whatever has changed since 4.2.3
affects BSD systems.

22 years agofix compiler warning?: implement default mentioned by manual
Marcus Boerger [Thu, 24 Oct 2002 19:17:08 +0000 (19:17 +0000)]
fix compiler warning?: implement default mentioned by manual

22 years agofix compiler warning
Marcus Boerger [Thu, 24 Oct 2002 19:15:40 +0000 (19:15 +0000)]
fix compiler warning

22 years ago- Protect function definitions with #ifdef's too
Derick Rethans [Thu, 24 Oct 2002 18:49:57 +0000 (18:49 +0000)]
- Protect function definitions with #ifdef's too

22 years ago- If functions are not available on OS, they're not available in PHP.
foobar [Thu, 24 Oct 2002 18:31:11 +0000 (18:31 +0000)]
- If functions are not available on OS, they're not available in PHP.

22 years ago- Also tune jmpz_ex
Andi Gutmans [Thu, 24 Oct 2002 18:24:55 +0000 (18:24 +0000)]
- Also tune jmpz_ex

22 years agoone version for php<4.2.3 and one for php>=4.2.3
Marcus Boerger [Thu, 24 Oct 2002 18:18:44 +0000 (18:18 +0000)]
one version for php<4.2.3 and one for php>=4.2.3

22 years ago-improoved number detection
Marcus Boerger [Thu, 24 Oct 2002 18:14:39 +0000 (18:14 +0000)]
-improoved number detection
-display every error/warning only once

22 years ago- Improve performance of part of the jmps. More to follow.
Andi Gutmans [Thu, 24 Oct 2002 18:04:12 +0000 (18:04 +0000)]
- Improve performance of part of the jmps. More to follow.

22 years agoAdded an ini option to hide the expected memory leak. This is done for
Ilia Alshanetsky [Thu, 24 Oct 2002 17:02:44 +0000 (17:02 +0000)]
Added an ini option to hide the expected memory leak. This is done for
compatibility with systems where report_memleak is turned off or running
PHP with --disable-debug.

22 years ago- Allow the report_memleak setting to be set everywhere
Derick Rethans [Thu, 24 Oct 2002 16:56:59 +0000 (16:56 +0000)]
- Allow the report_memleak setting to be set everywhere

22 years agoadd missing {}
Sascha Schumann [Thu, 24 Oct 2002 16:04:31 +0000 (16:04 +0000)]
add missing {}

22 years agoChanged the dbx_oci8 behaviour to return lowercase column-names,
Marc Boeren [Thu, 24 Oct 2002 14:26:14 +0000 (14:26 +0000)]
Changed the dbx_oci8 behaviour to return lowercase column-names,
which is a hack but at least it makes it easier for users
to create portable apps.
# Perhaps this should be controlled by a (.ini?) directive or define
# which determines the change (toupper, tolower, nochange)?

22 years agoNot happy with the hack to handle the uppercase fieldnames that oracle
Marc Boeren [Thu, 24 Oct 2002 14:16:28 +0000 (14:16 +0000)]
Not happy with the hack to handle the uppercase fieldnames that oracle
returns. Changed the dbx_oci8 behaviour to return lowercase instead,
which is also a hack but at least it makes it much easier for users
to create portable apps (Mc).
# also, I prefer lowercase :-)

22 years agoReverted because my patch doesn't make sense: it was just my problem.
Moriyoshi Koizumi [Thu, 24 Oct 2002 14:12:06 +0000 (14:12 +0000)]
Reverted because my patch doesn't make sense: it was just my problem.

22 years agoFix build
Moriyoshi Koizumi [Thu, 24 Oct 2002 14:01:45 +0000 (14:01 +0000)]
Fix build

22 years ago- whitespace
Derick Rethans [Thu, 24 Oct 2002 14:01:39 +0000 (14:01 +0000)]
- whitespace

22 years agoImprove shutdown-behaviour
Sascha Schumann [Thu, 24 Oct 2002 13:25:57 +0000 (13:25 +0000)]
Improve shutdown-behaviour

Noticed by: Anantha Kesari H Y

22 years ago*** empty log message ***
Derick Rethans [Thu, 24 Oct 2002 13:18:27 +0000 (13:18 +0000)]
*** empty log message ***

22 years agocentralize #include "build-defs.h" and drop (sometimes inconsistent) other
Sascha Schumann [Thu, 24 Oct 2002 13:15:49 +0000 (13:15 +0000)]
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances

22 years agoAdded failed test summary.
Ilia Alshanetsky [Thu, 24 Oct 2002 13:13:23 +0000 (13:13 +0000)]
Added failed test summary.

22 years ago- True and false are not always defined, used numbers now
Derick Rethans [Thu, 24 Oct 2002 12:52:13 +0000 (12:52 +0000)]
- True and false are not always defined, used numbers now

22 years agoMake PHP compile out-of-the-box with uClibc
Sascha Schumann [Thu, 24 Oct 2002 12:21:07 +0000 (12:21 +0000)]
Make PHP compile out-of-the-box with uClibc

22 years agoQuote macro names in AC_DEFUN() and prefix the internal macros using
Sascha Schumann [Thu, 24 Oct 2002 10:41:36 +0000 (10:41 +0000)]
Quote macro names in AC_DEFUN() and prefix the internal macros using
a single underscore. Also rename AC_PHP_ONCE as PHP_RUN_ONCE.

22 years agoimproved warning message
Sascha Schumann [Thu, 24 Oct 2002 10:40:48 +0000 (10:40 +0000)]
improved warning message

# this should really link to an external page which explains the issue deeply

22 years ago - gcc prints -v information on stderr, make sure that we catch it anyway.
Jan Lehnardt [Thu, 24 Oct 2002 09:06:31 +0000 (09:06 +0000)]
 - gcc prints -v information on stderr, make sure that we catch it anyway.
 - I hope this does not cause problems with other compilers or shells. IMHO we
 - already rely on /bin/sh anyway, right?

22 years ago - fix segfault in proc_open
Jan Lehnardt [Thu, 24 Oct 2002 08:46:21 +0000 (08:46 +0000)]
 - fix segfault in proc_open
#no bugreports found

22 years agostyle is everything
foobar [Thu, 24 Oct 2002 03:56:40 +0000 (03:56 +0000)]
style is everything

22 years agoFixed build when mbstring is not used - my previous patch is insufficient.
Moriyoshi Koizumi [Thu, 24 Oct 2002 02:59:01 +0000 (02:59 +0000)]
Fixed build when mbstring is not used - my previous patch is insufficient.

22 years agoMFH; we would see a nasty problem again if it was not fixed...
Moriyoshi Koizumi [Thu, 24 Oct 2002 02:56:28 +0000 (02:56 +0000)]
MFH; we would see a nasty problem again if it was not fixed...

22 years agoVarious corrections aimed at making the test's results consistent across
Ilia Alshanetsky [Thu, 24 Oct 2002 02:40:03 +0000 (02:40 +0000)]
Various corrections aimed at making the test's results consistent across
all enviroments.