]>
granicus.if.org Git - php/log
foobar [Fri, 29 Jul 2005 14:29:27 +0000 (14:29 +0000)]
- Fixed few logic errors in php*.ini search path creation as documented here:
http://fi.php.net/manual/en/configuration.php#configuration.file
#
# Before this patch:
#
# $ strace php -r 'echo 1;' 2>&1 | grep php.ini
# open("/www/php/lib/php.ini", O_RDONLY) = 3
# lstat64("/www/php/lib/php.ini", {st_mode=S_IFREG|0640, st_size=46264, ...}) = 0
#
# With this patch:
#
# $ strace php -r 'echo 1;' 2>&1 | grep php.ini
# open("./php.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
# open("/usr/src/php5_1_full/sapi/cli/php.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
# open("/www/php/lib/php.ini", O_RDONLY) = 3
# lstat64("/www/php/lib/php.ini", {st_mode=S_IFREG|0640, st_size=46264, ...}) = 0
#
foobar [Fri, 29 Jul 2005 13:25:33 +0000 (13:25 +0000)]
- Fixed bug #33899 (CLI: setting extension_dir=some/path extension=foobar.so does not work)
foobar [Fri, 29 Jul 2005 12:58:25 +0000 (12:58 +0000)]
- Fixed bug #33917 (number_format() output with > 1 char separators)
foobar [Fri, 29 Jul 2005 09:50:15 +0000 (09:50 +0000)]
fix VPATH builds
Anantha Kesari H Y [Fri, 29 Jul 2005 09:20:32 +0000 (09:20 +0000)]
In NetWare few of the programs like apache2 and ldap use winsock inclusinf sys/socket.h is not desirable.
--Kamesh
<changelog@php.net> [Fri, 29 Jul 2005 05:38:30 +0000 (05:38 +0000)]
ChangeLog update
foobar [Fri, 29 Jul 2005 00:22:02 +0000 (00:22 +0000)]
update generated file
Ilia Alshanetsky [Thu, 28 Jul 2005 23:21:34 +0000 (23:21 +0000)]
news file tinkering
Andi Gutmans [Thu, 28 Jul 2005 21:39:57 +0000 (21:39 +0000)]
- Tiny fixlet
Marcus Boerger [Thu, 28 Jul 2005 21:09:02 +0000 (21:09 +0000)]
- Before we later run into BC trouble we split flags into two params mode
and flags now before branching for 5.1.
Marcus Boerger [Thu, 28 Jul 2005 20:59:44 +0000 (20:59 +0000)]
- Allow static loader functions (but only for 5.1.1 as discussed with Andi)
Marcus Boerger [Thu, 28 Jul 2005 20:55:50 +0000 (20:55 +0000)]
- Add convenience function zend_is_callable_ex() and base zend_is_callable
and zend_make_callable on it. This functions allows to check if a php
variable is a callable function and returns its function pointer as well
as object if possible.
# Commit this now so we can use it in 5.1.* series as discussed with Andi.
Anantha Kesari H Y [Thu, 28 Jul 2005 09:44:13 +0000 (09:44 +0000)]
NetWare cleanup
--Kamesh
Anantha Kesari H Y [Thu, 28 Jul 2005 09:41:34 +0000 (09:41 +0000)]
defined EX_OK and EX_TEMPFAIL in ext/standard/mail.c for NETWARE rather than including a sysexits.h.
-Kamesh
Anantha Kesari H Y [Thu, 28 Jul 2005 09:40:50 +0000 (09:40 +0000)]
Cleaned up the NetWare code.
--Kamesh
<changelog@php.net> [Thu, 28 Jul 2005 05:32:06 +0000 (05:32 +0000)]
ChangeLog update
Marcus Boerger [Wed, 27 Jul 2005 22:19:01 +0000 (22:19 +0000)]
- Fix issues with iterators and excpetions
# update documentation
#
# In 5.2 we need to implement an event handler onException() to be invoked
# on exceptions during getChildren() calls. Its default implementation
# would simply rethrow the exception if the flag is not set and delete if
# if it was set. To do so the exceptions refcount needs to be increased
# before calling zend_clear_exception() to keep the exception alive but
# clear the control information.
#
# As a side note this is alos the easy solution to allow multi exception
# handling: Simply clear the engine's exception info and add a property
# called $previousException to the base exception and assign it from the
# already pending one.
Hartmut Holzgraefe [Wed, 27 Jul 2005 21:21:05 +0000 (21:21 +0000)]
news entry for bug #33882 fix
foobar [Wed, 27 Jul 2005 15:24:36 +0000 (15:24 +0000)]
ws
Antony Dovgal [Wed, 27 Jul 2005 15:16:14 +0000 (15:16 +0000)]
ws fix
Hartmut Holzgraefe [Wed, 27 Jul 2005 15:13:50 +0000 (15:13 +0000)]
edge case: do not remove trailing slash for root directory (Bug #33882)
Hartmut Holzgraefe [Wed, 27 Jul 2005 15:12:18 +0000 (15:12 +0000)]
php.ini search logic needs to use the absolute path of the running binary
when looking for php.ini in the directory the php binary is installed in
Ilia Alshanetsky [Wed, 27 Jul 2005 14:52:52 +0000 (14:52 +0000)]
Fixed bug #32139 (SOAP client does not auto-handle base64 encoding).
Wez Furlong [Wed, 27 Jul 2005 14:18:01 +0000 (14:18 +0000)]
add sanity checks
Wez Furlong [Wed, 27 Jul 2005 11:53:00 +0000 (11:53 +0000)]
fixup the build in HEAD again... moved the maintainer only stuff out of the
config.m4 and into a separate script to make it cleaner
Anantha Kesari H Y [Wed, 27 Jul 2005 11:48:14 +0000 (11:48 +0000)]
configure.in
moved the PHP_OS and PHP_UNAME definitions near the place other oses define them currently it is ggeting redined to build machine values when ./configure script is generated using autoconf version 2.13 but works fine with autoconf 2.51.
Defining the default EXTENSION_DIR for NetWare
--Kamesh
<changelog@php.net> [Wed, 27 Jul 2005 05:38:07 +0000 (05:38 +0000)]
ChangeLog update
Wez Furlong [Wed, 27 Jul 2005 04:20:50 +0000 (04:20 +0000)]
typo
Wez Furlong [Wed, 27 Jul 2005 04:07:44 +0000 (04:07 +0000)]
Yes, I can't count the months, and no, I'm not related to Ilia.
Wez Furlong [Wed, 27 Jul 2005 04:07:11 +0000 (04:07 +0000)]
Prep for PECL release.
Fixup config.m4 to work properly under a pear tool vpath build
# seems strange that it was so badly broken... did something major change?
Wez Furlong [Wed, 27 Jul 2005 03:48:08 +0000 (03:48 +0000)]
Add support for instant client 10.1.0.4.
Theoretically also add support for 10.2 libraries.
Prep for PECL release.
Wez Furlong [Wed, 27 Jul 2005 03:22:03 +0000 (03:22 +0000)]
prep for pecl release
Wez Furlong [Wed, 27 Jul 2005 03:13:05 +0000 (03:13 +0000)]
Add package.xml
Wez Furlong [Wed, 27 Jul 2005 03:12:43 +0000 (03:12 +0000)]
prep for PECL release
Wez Furlong [Wed, 27 Jul 2005 02:51:01 +0000 (02:51 +0000)]
prep for PECL release
Wez Furlong [Wed, 27 Jul 2005 02:39:46 +0000 (02:39 +0000)]
Prep for PECL release
Ilia Alshanetsky [Wed, 27 Jul 2005 02:35:37 +0000 (02:35 +0000)]
Only set authorizer if we intend to use it (safe_mode or open_basedir).
Ilia Alshanetsky [Tue, 26 Jul 2005 22:29:27 +0000 (22:29 +0000)]
Fixed bug #33869 (strtotime() problem with "+1days" format).
Ilia Alshanetsky [Tue, 26 Jul 2005 22:22:06 +0000 (22:22 +0000)]
Fix for bug #33869
foobar [Tue, 26 Jul 2005 18:33:15 +0000 (18:33 +0000)]
bug #33865
Anantha Kesari H Y [Tue, 26 Jul 2005 13:12:02 +0000 (13:12 +0000)]
NetWare can make use of autoconf based build
--Kamesh
<changelog@php.net> [Tue, 26 Jul 2005 05:32:16 +0000 (05:32 +0000)]
ChangeLog update
Ilia Alshanetsky [Mon, 25 Jul 2005 22:53:01 +0000 (22:53 +0000)]
Updated URL leading to latest aspell.
Rasmus Lerdorf [Mon, 25 Jul 2005 22:38:11 +0000 (22:38 +0000)]
MFB fix for bug #33690
Rasmus Lerdorf [Mon, 25 Jul 2005 22:37:35 +0000 (22:37 +0000)]
I could have sworn I committed this a while ago. Just a tiny NULL safety
check here.
Marcus Boerger [Mon, 25 Jul 2005 20:24:11 +0000 (20:24 +0000)]
- Fix #33853
# When a static class function is being called then we first look for the
# class with name unchanged. If the class is then not available it the
# method can never be callable, thus we return 0. If the class is available
# the lowercased name will be broken up into class and function and 1 is
# being returned.
Marcus Boerger [Mon, 25 Jul 2005 20:21:43 +0000 (20:21 +0000)]
- Add new test
Marcus Boerger [Mon, 25 Jul 2005 18:27:41 +0000 (18:27 +0000)]
- Be flexible about spellbook - we want to test the ext not the spell corrections available
Marcus Boerger [Mon, 25 Jul 2005 18:04:13 +0000 (18:04 +0000)]
- Bugfix #33733
Anantha Kesari H Y [Mon, 25 Jul 2005 13:12:10 +0000 (13:12 +0000)]
ext/standard/fsock.h
Removing redundant inclusion of headers for NetWare
ext/standard/lcg.c
NetWare LibC SDK sys/time.h implicitly includes sys/timval.h so nothing special needed for NetWare here.
--Kamesh
<changelog@php.net> [Mon, 25 Jul 2005 05:37:34 +0000 (05:37 +0000)]
ChangeLog update
Ilia Alshanetsky [Sun, 24 Jul 2005 17:19:59 +0000 (17:19 +0000)]
Added test for bug #33841.
<changelog@php.net> [Sun, 24 Jul 2005 05:39:01 +0000 (05:39 +0000)]
ChangeLog update
Ilia Alshanetsky [Sat, 23 Jul 2005 23:34:04 +0000 (23:34 +0000)]
Fixed bug #33841 (pdo sqlite driver forgets to update affected column count
on execution of prepared statments).
foobar [Sat, 23 Jul 2005 22:50:35 +0000 (22:50 +0000)]
Removed done stuff
Ilia Alshanetsky [Sat, 23 Jul 2005 19:44:13 +0000 (19:44 +0000)]
Fixed bug in str_word_count() when charlist if specified and "word" starts
with a character found inside the charlist.
Pierre Joye [Sat, 23 Jul 2005 16:41:38 +0000 (16:41 +0000)]
- fix #33794 imagerotate rotates only CCW
introduced by transparent color patch
<changelog@php.net> [Sat, 23 Jul 2005 05:39:09 +0000 (05:39 +0000)]
ChangeLog update
foobar [Fri, 22 Jul 2005 22:00:55 +0000 (22:00 +0000)]
revert fix that did not fix anything
Yasuo Ohgaki [Fri, 22 Jul 2005 18:48:14 +0000 (18:48 +0000)]
fix build with older postgresql
Marcus Boerger [Fri, 22 Jul 2005 14:31:20 +0000 (14:31 +0000)]
- Add missing part to make colon in parameter binding optional
Marcus Boerger [Fri, 22 Jul 2005 14:27:35 +0000 (14:27 +0000)]
- Test the colon is optional in binding
Dmitry Stogov [Fri, 22 Jul 2005 07:34:24 +0000 (07:34 +0000)]
$context is not longer passed by reference, so its modification has no effect
Dmitry Stogov [Fri, 22 Jul 2005 07:33:03 +0000 (07:33 +0000)]
Fixed bug #33802 (throw Exception in error handler causes crash)
<changelog@php.net> [Fri, 22 Jul 2005 05:39:31 +0000 (05:39 +0000)]
ChangeLog update
Wez Furlong [Fri, 22 Jul 2005 04:33:56 +0000 (04:33 +0000)]
this looks like a much better fix for refcounting/shutdown in lazy objects.
Wez Furlong [Fri, 22 Jul 2005 02:09:19 +0000 (02:09 +0000)]
fix leak (ugh, this nuance gets me every time)
Wez Furlong [Fri, 22 Jul 2005 01:34:43 +0000 (01:34 +0000)]
Fixes #33785 for me
Ilia Alshanetsky [Thu, 21 Jul 2005 19:33:48 +0000 (19:33 +0000)]
Added test for PDO_FETCH_LAZY.
# This currently fails, see bug 33785
Marcus Boerger [Thu, 21 Jul 2005 16:52:32 +0000 (16:52 +0000)]
- Fix error generation logic (found by johannes)
Dmitry Stogov [Thu, 21 Jul 2005 13:48:10 +0000 (13:48 +0000)]
Fixed bug with returning from internal function by reference
Derick Rethans [Thu, 21 Jul 2005 10:09:40 +0000 (10:09 +0000)]
- Changed the year parameter so that 0..69 maps to 2000..2069 and 70..100 maps
to 1970..2000, which was in the original code, but not in the documentation.
Dmitry Stogov [Thu, 21 Jul 2005 07:18:02 +0000 (07:18 +0000)]
Recursion protection
<changelog@php.net> [Thu, 21 Jul 2005 05:32:41 +0000 (05:32 +0000)]
ChangeLog update
foobar [Wed, 20 Jul 2005 23:06:49 +0000 (23:06 +0000)]
there is not much point in putting entries of bugs fixed when bug only existed in CVS and not in any release..
Ilia Alshanetsky [Wed, 20 Jul 2005 16:22:09 +0000 (16:22 +0000)]
Missing bit of the previous commits
Dmitry Stogov [Wed, 20 Jul 2005 10:21:49 +0000 (10:21 +0000)]
"_local_cert" and "_passphrase" properties moved into "_stream_context".
As a result now it is possible to use certificates during access WSDL files.
Dmitry Stogov [Wed, 20 Jul 2005 10:06:10 +0000 (10:06 +0000)]
Fixed tests
Derick Rethans [Wed, 20 Jul 2005 08:31:02 +0000 (08:31 +0000)]
- Fixed bug #33578 (strtotime() problem with "Oct17" format).
- Fixed problems with lone years in strtotime().
- Added functions to timelib to get a list of all abbreviations and timezone
identifiers.
- Fixed problems with parsed dates that only have GMT offsets associated
with them.
- Fixed a Windows compile problem.
- Added special constants for different often used date formats (DATE_ISO8601,
DATE_RFC822, DATE_RSS etc).
- Fixed date_default_timezone_get() to return the guessed timezone if none
was set yet with date_default_timezone_set().
- Added experimental support for Date/Timezone objects as per specifications.
Marcus Boerger [Wed, 20 Jul 2005 07:33:19 +0000 (07:33 +0000)]
- Use correct/complete skipif condition
<changelog@php.net> [Wed, 20 Jul 2005 05:36:08 +0000 (05:36 +0000)]
ChangeLog update
Wez Furlong [Wed, 20 Jul 2005 05:27:27 +0000 (05:27 +0000)]
use pdo core test suite.
Now passes all but one test. Volunteers that want to track down the cause
for test pdo_018.phpt not passing are welcome.
Wez Furlong [Wed, 20 Jul 2005 05:27:00 +0000 (05:27 +0000)]
some drivers want you to say that its ok to use NULL for these columns.
Ilia Alshanetsky [Wed, 20 Jul 2005 04:30:14 +0000 (04:30 +0000)]
Fixed memory corruption (wrong order of operations of stored prep. stmt).
Optimize the max length calculation process.
Ilia Alshanetsky [Wed, 20 Jul 2005 03:38:33 +0000 (03:38 +0000)]
Proper handling for databases that need to pre-calculate length of large
columns, which is not normally done for performance reasons.
Wez Furlong [Wed, 20 Jul 2005 02:37:57 +0000 (02:37 +0000)]
Add PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT attribute, which, when set
to true, forces the driver to use PDO's own emulated prepared statement
support.
Why would you want that, considering that native prepared statements are
supposed to be the best thing ever?
"Often postgresql will have to plan the query without knowing the parameters -
and it will choose a bad plan. In some cases it will plan based on the first
parameters you send. "
Ugh. So now we have a way to let you decide that you know better than the
pgsql query planner.
Ilia Alshanetsky [Wed, 20 Jul 2005 02:36:34 +0000 (02:36 +0000)]
Only set attribute if result set contains some columns.
Ilia Alshanetsky [Wed, 20 Jul 2005 02:19:20 +0000 (02:19 +0000)]
clean up
Wez Furlong [Wed, 20 Jul 2005 01:59:14 +0000 (01:59 +0000)]
this hack can and does segv; let's remove it.
Andrei Zmievski [Wed, 20 Jul 2005 01:46:02 +0000 (01:46 +0000)]
*** empty log message ***
foobar [Wed, 20 Jul 2005 00:18:24 +0000 (00:18 +0000)]
Skip tests in 64bit systems
foobar [Wed, 20 Jul 2005 00:10:57 +0000 (00:10 +0000)]
fixed skipif to really skip
Marcus Boerger [Tue, 19 Jul 2005 20:10:37 +0000 (20:10 +0000)]
- Add test to verify all ArrayAccess methods can throw
Marcus Boerger [Tue, 19 Jul 2005 19:50:11 +0000 (19:50 +0000)]
- Add test to verify all iterator methods can throw
Wez Furlong [Tue, 19 Jul 2005 19:48:02 +0000 (19:48 +0000)]
Remove stale #ifdefs (this is PHP 5 only code).
Add a stream_context option to the SoapClient constructor; this allows
generic stream context options to be set without having to add code to the
SoapClient every time a context option is added.
Marcus Boerger [Tue, 19 Jul 2005 19:46:21 +0000 (19:46 +0000)]
- Dont't warn in case an exception is pending - in this case it'd superflous
Wez Furlong [Tue, 19 Jul 2005 19:25:33 +0000 (19:25 +0000)]
revert my last change; chasing ghosts.
# the lesson is, ensure that php4 and php5 aren't loaded at the same time
Wez Furlong [Tue, 19 Jul 2005 18:59:46 +0000 (18:59 +0000)]
Don't crash when no treat_data method has been set in the sapi module
# how come no one ran into this before?
Wez Furlong [Tue, 19 Jul 2005 16:55:48 +0000 (16:55 +0000)]
try to make the test a bit more portable
Wez Furlong [Tue, 19 Jul 2005 16:55:22 +0000 (16:55 +0000)]
this should always be a string here, but just in case, convert it.