]> granicus.if.org Git - php/log
php
19 years agoAvoid strlen() if we know the length.
Ilia Alshanetsky [Sun, 3 Jul 2005 18:56:57 +0000 (18:56 +0000)]
Avoid strlen() if we know the length.

19 years ago- Fixed unintialized variable issue.
Derick Rethans [Sun, 3 Jul 2005 18:49:07 +0000 (18:49 +0000)]
- Fixed unintialized variable issue.

19 years agofunction style
foobar [Sun, 3 Jul 2005 15:39:48 +0000 (15:39 +0000)]
function style

19 years ago- Added fallback to system's timezone setting, but marked with an E_STRICT
Derick Rethans [Sun, 3 Jul 2005 15:01:29 +0000 (15:01 +0000)]
- Added fallback to system's timezone setting, but marked with an E_STRICT
  error.
- Adjusted tests to use the date_timezone_set() function.

19 years ago- Move mktime/gmmktime related tests from ext/standard to ext/date.
Derick Rethans [Sun, 3 Jul 2005 14:36:59 +0000 (14:36 +0000)]
- Move mktime/gmmktime related tests from ext/standard to ext/date.

19 years ago- Fixed bug #30096 (gmmktime does not return the corrent time).
Derick Rethans [Sun, 3 Jul 2005 14:27:31 +0000 (14:27 +0000)]
- Fixed bug #30096 (gmmktime does not return the corrent time).
- Re-implemented mktime and gmmktime with new date time library.
- Added testcase for bug #30096, updated test cases for E_STRICT warning of
  is_dst parameter usage for mktime/gmmktime.

19 years agoFixed memory leak
Dmitry Stogov [Sun, 3 Jul 2005 11:09:42 +0000 (11:09 +0000)]
Fixed memory leak

19 years ago- Tweak tests a bit
Marcus Boerger [Sun, 3 Jul 2005 09:10:41 +0000 (09:10 +0000)]
- Tweak tests a bit

19 years agoChangeLog update
<changelog@php.net> [Sun, 3 Jul 2005 05:32:08 +0000 (05:32 +0000)]
ChangeLog update

19 years agoAdd PDO_FETCH_NAMED; closes PECL #4641 by providing a way to access columns
Wez Furlong [Sun, 3 Jul 2005 03:49:44 +0000 (03:49 +0000)]
Add PDO_FETCH_NAMED; closes PECL #4641 by providing a way to access columns
by name, even when multiple columns have the same name:

$sql = "SELECT 1 a, 2 a, 3 b, 4 c, 5 d, 6 c, 7 a";
echo "$sql\n";
print_r($db->query($sql)->fetchAll(PDO_FETCH_NAMED));

Array
(
    [0] => Array
        (
            [a] => Array
                (
                    [0] => 1
                    [1] => 2
                    [2] => 7
                )

            [b] => 3
            [c] => Array
                (
                    [0] => 4
                    [1] => 6
                )

            [d] => 5
        )
)

Also added two new attributes for use at prepare time;
PDO_ATTR_FETCH_TABLE_NAMES and PDO_ATTR_FETCH_CATALOG_NAMES instruct the driver
that the names of the columns that they return to PDO should include the table
and catalog names respectively.  Both attributes may be used together or
independently.  The catalog, table and column name components should be
separated by a . character.

19 years agoprobable fix for PECL bug #4546
Wez Furlong [Sun, 3 Jul 2005 03:04:13 +0000 (03:04 +0000)]
probable fix for PECL bug #4546

19 years agoEnable native mysql 4.1.x prepared statement support
Wez Furlong [Sun, 3 Jul 2005 02:20:08 +0000 (02:20 +0000)]
Enable native mysql 4.1.x prepared statement support
# the hardest part was installing 4.1.x on a gentoo box over a 56k modem

19 years agoBFN
Edin Kadribasic [Sat, 2 Jul 2005 23:04:34 +0000 (23:04 +0000)]
BFN

19 years agoDon't crash on exit by destroying the same hash twice
Edin Kadribasic [Sat, 2 Jul 2005 22:48:06 +0000 (22:48 +0000)]
Don't crash on exit by destroying the same hash twice

19 years ago- Overhauled selecting the correct timezone. The timezone set with
Derick Rethans [Sat, 2 Jul 2005 21:19:25 +0000 (21:19 +0000)]
- Overhauled selecting the correct timezone. The timezone set with
  "date_timezone_set" override the TZ environment variable, which on its turn
  overrides the date.timezone setting. If none of the three is set, we fallback
  to UTC.
- Added "date_timezone_set" function to set the timezone that the date
  functions will use.

19 years agoExperimental support for queries returning multiple rowsets under mysql 5.0.
Wez Furlong [Sat, 2 Jul 2005 21:01:38 +0000 (21:01 +0000)]
Experimental support for queries returning multiple rowsets under mysql 5.0.
Patch from Guy Harrison (guy dot a dot harrison (at) gmail dot com)

19 years agoFixed memory leak on PDO_FETCH_OBJ.
Ilia Alshanetsky [Sat, 2 Jul 2005 17:19:58 +0000 (17:19 +0000)]
Fixed memory leak on PDO_FETCH_OBJ.

19 years agoChangeLog update
<changelog@php.net> [Sat, 2 Jul 2005 05:34:49 +0000 (05:34 +0000)]
ChangeLog update

19 years agoXML_RPC -> 1.3.1 (tar, not tgz)
Greg Beaver [Sat, 2 Jul 2005 02:55:32 +0000 (02:55 +0000)]
XML_RPC -> 1.3.1 (tar, not tgz)

19 years agoXML_RPC -> 1.3.1
Greg Beaver [Sat, 2 Jul 2005 02:48:06 +0000 (02:48 +0000)]
XML_RPC -> 1.3.1

19 years agoInconsistency noticed by Nicholas Telford
Edin Kadribasic [Fri, 1 Jul 2005 23:47:08 +0000 (23:47 +0000)]
Inconsistency noticed by Nicholas Telford

19 years agoAdd sqlstates defined in PostgreSQL documentation.
Edin Kadribasic [Fri, 1 Jul 2005 23:32:39 +0000 (23:32 +0000)]
Add sqlstates defined in PostgreSQL documentation.
Source: http://www.postgresql.org/docs/8.0/static/errcodes-appendix.html

19 years agoOnly check for InvalidOid when not looking up a sequence
Edin Kadribasic [Fri, 1 Jul 2005 22:43:16 +0000 (22:43 +0000)]
Only check for InvalidOid when not looking up a sequence

19 years agoFold PQresultErrorField() into a macro
Edin Kadribasic [Fri, 1 Jul 2005 22:30:55 +0000 (22:30 +0000)]
Fold PQresultErrorField() into a macro

19 years agoAdded class 55 sqlstates
Edin Kadribasic [Fri, 1 Jul 2005 22:12:00 +0000 (22:12 +0000)]
Added class 55 sqlstates

19 years agoAdded support for fetching current value of a sequence when the
Edin Kadribasic [Fri, 1 Jul 2005 21:54:50 +0000 (21:54 +0000)]
Added support for fetching current value of a sequence when the
optional sequence name has been passed to PDO::lastInsertId()

19 years ago bump xml_rpc to 1.3.1, php4 win32 builds uses this list to (4.4)
Pierre Joye [Fri, 1 Jul 2005 09:20:28 +0000 (09:20 +0000)]
 bump xml_rpc to 1.3.1, php4 win32 builds uses this list to (4.4)

19 years agoUse timelib types.
Edin Kadribasic [Fri, 1 Jul 2005 08:59:57 +0000 (08:59 +0000)]
Use timelib types.
(Fixes compilation on older Microsoft compilers)

19 years agoNetWare LibC has reentrant time functions no need to have this.
Anantha Kesari H Y [Fri, 1 Jul 2005 07:55:28 +0000 (07:55 +0000)]
NetWare LibC has reentrant time functions no need to have this.
-- Kamesh from hyanantha's account

19 years ago- parse_date.c is a generated file, updated parse_date.re and regenerated
Derick Rethans [Fri, 1 Jul 2005 07:18:43 +0000 (07:18 +0000)]
- parse_date.c is a generated file, updated parse_date.re and regenerated
  parse_date.c.

19 years agoAs fork implementation of NetWare LibC still in experimental stages making the procve...
Anantha Kesari H Y [Fri, 1 Jul 2005 06:49:29 +0000 (06:49 +0000)]
As fork implementation of NetWare LibC still in experimental stages making the procve based solution ahead of HAVE_FORK. Later When fork becomes stable will revert this fix.
--Kamesh from hyanantha's account

19 years agoChangeLog update
<changelog@php.net> [Fri, 1 Jul 2005 05:37:58 +0000 (05:37 +0000)]
ChangeLog update

19 years agoFixed memory leak.
Ilia Alshanetsky [Thu, 30 Jun 2005 23:33:37 +0000 (23:33 +0000)]
Fixed memory leak.

19 years agoFix Win32 build
Frank M. Kromann [Thu, 30 Jun 2005 23:03:36 +0000 (23:03 +0000)]
Fix Win32 build

19 years agoFix ZTS build
Frank M. Kromann [Thu, 30 Jun 2005 22:49:47 +0000 (22:49 +0000)]
Fix ZTS build

19 years agoFixed compiler warnings.
Ilia Alshanetsky [Thu, 30 Jun 2005 22:47:39 +0000 (22:47 +0000)]
Fixed compiler warnings.

19 years agoFixed memory leak on error inside php_date().
Ilia Alshanetsky [Thu, 30 Jun 2005 22:44:28 +0000 (22:44 +0000)]
Fixed memory leak on error inside php_date().

19 years agoFixed bug #33523 (Memory leak in xmlrpc_encode_request()).
Ilia Alshanetsky [Thu, 30 Jun 2005 22:29:36 +0000 (22:29 +0000)]
Fixed bug #33523 (Memory leak in xmlrpc_encode_request()).

19 years ago- Reimplemented date and gmdate with new timelib code.
Derick Rethans [Thu, 30 Jun 2005 21:38:06 +0000 (21:38 +0000)]
- Reimplemented date and gmdate with new timelib code.
- Removed old date/gmdate implementations.
- Moved date() related testcases to ext/date/tests.
- Implemented bug #33452.
- Fixed testcase for bug #27719 - there is no timezone called "EST5DST".

19 years agoRelease news
Ilia Alshanetsky [Thu, 30 Jun 2005 21:13:34 +0000 (21:13 +0000)]
Release news

19 years agoSQLite lib upgrade news.
Ilia Alshanetsky [Thu, 30 Jun 2005 21:00:35 +0000 (21:00 +0000)]
SQLite lib upgrade news.

19 years agotouch generated file.
Ilia Alshanetsky [Thu, 30 Jun 2005 20:59:21 +0000 (20:59 +0000)]
touch generated file.

19 years agoUpgraded bundled sqlite lib to 3.2.2
Ilia Alshanetsky [Thu, 30 Jun 2005 20:58:36 +0000 (20:58 +0000)]
Upgraded bundled sqlite lib to 3.2.2

19 years agoAdd optional parameter to openssl_pkcs7_verify() which specifies the name
Wez Furlong [Thu, 30 Jun 2005 14:25:41 +0000 (14:25 +0000)]
Add optional parameter to openssl_pkcs7_verify() which specifies the name
of a file that will be filled with the verified data, but with the signature
information stripped.

Patch by Marton Kenyeres, mkenyeres (at) konvergencia dot hu

19 years agoconsistent naming: prefix always with MYSQL_
foobar [Thu, 30 Jun 2005 14:15:51 +0000 (14:15 +0000)]
consistent naming: prefix always with MYSQL_

19 years agoNetware also uses autoconf based config now
foobar [Thu, 30 Jun 2005 14:11:13 +0000 (14:11 +0000)]
Netware also uses autoconf based config now

19 years agoRestored old behavior of zend_statup_module()
Dmitry Stogov [Thu, 30 Jun 2005 13:43:00 +0000 (13:43 +0000)]
Restored old behavior of zend_statup_module()

19 years agotypo
foobar [Thu, 30 Jun 2005 13:39:42 +0000 (13:39 +0000)]
typo

19 years ago- Unify (+ spl can't be build shared so COMPILE_DL_SPL
foobar [Thu, 30 Jun 2005 11:15:00 +0000 (11:15 +0000)]
- Unify (+ spl can't be build shared so COMPILE_DL_SPL

19 years ago- Added check for makedev systemcall, which Netware doesn't support.
Derick Rethans [Thu, 30 Jun 2005 10:03:36 +0000 (10:03 +0000)]
- Added check for makedev systemcall, which Netware doesn't support.

19 years ago- Make the Netware guys happy by removing the config.nw.h define.
Derick Rethans [Thu, 30 Jun 2005 06:40:57 +0000 (06:40 +0000)]
- Make the Netware guys happy by removing the config.nw.h define.

19 years agoChangeLog update
<changelog@php.net> [Thu, 30 Jun 2005 05:34:14 +0000 (05:34 +0000)]
ChangeLog update

19 years agoSilence warnings.
Ilia Alshanetsky [Thu, 30 Jun 2005 00:07:42 +0000 (00:07 +0000)]
Silence warnings.

19 years ago- Reorganize headers, and update TODO.
Derick Rethans [Wed, 29 Jun 2005 19:08:26 +0000 (19:08 +0000)]
- Reorganize headers, and update TODO.

19 years ago- Added support for negative timestamps with the @<number> format. (Patch by
Derick Rethans [Wed, 29 Jun 2005 19:07:06 +0000 (19:07 +0000)]
- Added support for negative timestamps with the @<number> format. (Patch by
  Nuno Lopes)

19 years ago- Make sure the already set "TZ" environment doesn't mess up the tests.
Derick Rethans [Wed, 29 Jun 2005 19:00:35 +0000 (19:00 +0000)]
- Make sure the already set "TZ" environment doesn't mess up the tests.

19 years agoFinal (i hope) set of magic.h detection fixes.
Ilia Alshanetsky [Wed, 29 Jun 2005 15:57:16 +0000 (15:57 +0000)]
Final (i hope) set of magic.h detection fixes.

19 years agoMore reliable library detection.
Ilia Alshanetsky [Wed, 29 Jun 2005 13:53:59 +0000 (13:53 +0000)]
More reliable library detection.

# Thanks Jani

19 years agoThis file is not needed anymore
Anantha Kesari H Y [Wed, 29 Jun 2005 13:11:08 +0000 (13:11 +0000)]
This file is not needed anymore

19 years agothis file is not used at all so removing it.
Anantha Kesari H Y [Wed, 29 Jun 2005 12:44:06 +0000 (12:44 +0000)]
this file is not used at all so removing it.

19 years agoNetware LibC has mktemp implementation
Anantha Kesari H Y [Wed, 29 Jun 2005 12:16:25 +0000 (12:16 +0000)]
Netware LibC has mktemp implementation

19 years agoNetWare LibC has getpwnam, getlogin, getpwuid, getpid, this file is not needed anymore
Anantha Kesari H Y [Wed, 29 Jun 2005 12:04:33 +0000 (12:04 +0000)]
NetWare LibC has getpwnam, getlogin, getpwuid, getpid, this file is not needed anymore

19 years agofix test
Antony Dovgal [Wed, 29 Jun 2005 11:52:18 +0000 (11:52 +0000)]
fix test

19 years agoNetWare LibC has readlink implementation. This is not needed anymore.
Anantha Kesari H Y [Wed, 29 Jun 2005 11:49:16 +0000 (11:49 +0000)]
NetWare LibC has readlink implementation. This is not needed anymore.

19 years agoThis file does nothing so removing this file.
Anantha Kesari H Y [Wed, 29 Jun 2005 11:22:09 +0000 (11:22 +0000)]
This file does nothing so removing this file.

19 years agoNetWare LibC has grp.h
Anantha Kesari H Y [Wed, 29 Jun 2005 11:04:25 +0000 (11:04 +0000)]
NetWare LibC has grp.h

19 years agoNetWare LibC has param.h
Anantha Kesari H Y [Wed, 29 Jun 2005 10:53:48 +0000 (10:53 +0000)]
NetWare LibC has param.h

19 years agoNetWare LibC itself has popen/pclose functionality so removing this
Anantha Kesari H Y [Wed, 29 Jun 2005 10:18:16 +0000 (10:18 +0000)]
NetWare LibC itself has popen/pclose functionality so removing this

19 years ago- Fix TSRM build
Johannes Schlüter [Wed, 29 Jun 2005 09:28:44 +0000 (09:28 +0000)]
- Fix TSRM build

19 years agoNetWare LibC has pipe/popen support
Anantha Kesari H Y [Wed, 29 Jun 2005 08:59:30 +0000 (08:59 +0000)]
NetWare LibC has pipe/popen support

19 years agofix conditions for freeing
Stanislav Malyshev [Wed, 29 Jun 2005 08:44:01 +0000 (08:44 +0000)]
fix conditions for freeing

19 years agoadd comment
Stanislav Malyshev [Wed, 29 Jun 2005 08:43:38 +0000 (08:43 +0000)]
add comment

19 years agomktemp functionality is part of Regular LibC
Anantha Kesari H Y [Wed, 29 Jun 2005 08:34:20 +0000 (08:34 +0000)]
mktemp functionality is part of Regular LibC

19 years agoremoving pwd.h as NetWare LibC itself supplies pwd.h
Anantha Kesari H Y [Wed, 29 Jun 2005 07:02:58 +0000 (07:02 +0000)]
removing pwd.h as NetWare LibC itself supplies pwd.h

19 years agoChangeLog update
<changelog@php.net> [Wed, 29 Jun 2005 05:36:03 +0000 (05:36 +0000)]
ChangeLog update

19 years agofix tests when error_reporting is E_ALL
foobar [Tue, 28 Jun 2005 23:33:42 +0000 (23:33 +0000)]
fix tests when error_reporting is E_ALL

19 years ago- Regenerated with re2c 0.9.8
foobar [Tue, 28 Jun 2005 23:16:49 +0000 (23:16 +0000)]
- Regenerated with re2c 0.9.8

19 years agofix leak: when dup was <success>ful zend_std_object_get_class_name() returns SUCCESS...
Antony Dovgal [Tue, 28 Jun 2005 22:04:07 +0000 (22:04 +0000)]
fix leak: when dup was <success>ful zend_std_object_get_class_name() returns SUCCESS aka 0

19 years ago- Added testcases for bug #14561 and #26090 and updated NEWS with those
Derick Rethans [Tue, 28 Jun 2005 21:49:35 +0000 (21:49 +0000)]
- Added testcases for bug #14561 and #26090 and updated NEWS with those
  fixed bug nr's.

19 years ago- Fixed bug #33469 also for shared builds
foobar [Tue, 28 Jun 2005 21:47:30 +0000 (21:47 +0000)]
- Fixed bug #33469 also for shared builds

19 years ago- Fixed bug #33415 and added test cases for #33414 and #33415.
Derick Rethans [Tue, 28 Jun 2005 21:37:36 +0000 (21:37 +0000)]
- Fixed bug #33415 and added test cases for #33414 and #33415.

19 years agore2c 0.98 is the current working version
foobar [Tue, 28 Jun 2005 20:58:34 +0000 (20:58 +0000)]
re2c 0.98 is the current working version

19 years ago- Fixed bug #33433 (strtoll not available on Tru64).
Derick Rethans [Tue, 28 Jun 2005 18:05:59 +0000 (18:05 +0000)]
- Fixed bug #33433 (strtoll not available on Tru64).

19 years ago- Implemented binary search for timezone abbreviations and timezone identifier
Derick Rethans [Tue, 28 Jun 2005 17:56:47 +0000 (17:56 +0000)]
- Implemented binary search for timezone abbreviations and timezone identifier
  lookups. (Based on a patch by Nuno Lopes)

19 years agoBFN
foobar [Tue, 28 Jun 2005 17:06:09 +0000 (17:06 +0000)]
BFN

19 years ago Added a SG(server_context) NULL check to php_apache_getenv.
Brian France [Tue, 28 Jun 2005 16:34:18 +0000 (16:34 +0000)]
Added a SG(server_context) NULL check to php_apache_getenv.

This can get called when "<key> = ${<key>}:/foo" is used in a .ini file, but <key> has not be set yet.
        You will end up with a value of ":/foo", but at least it will not crash now.

19 years agoMake exec() return FALSE on error as do other drivers.
Ilia Alshanetsky [Tue, 28 Jun 2005 14:54:44 +0000 (14:54 +0000)]
Make exec() return FALSE on error as do other drivers.

19 years agofix previous patch
Stanislav Malyshev [Tue, 28 Jun 2005 12:42:56 +0000 (12:42 +0000)]
fix previous patch

19 years agoupdate
Stanislav Malyshev [Tue, 28 Jun 2005 10:52:00 +0000 (10:52 +0000)]
update

19 years agofixes for non-php objects
Stanislav Malyshev [Tue, 28 Jun 2005 10:49:56 +0000 (10:49 +0000)]
fixes for non-php objects

19 years agoone might not have simplexml enabled
foobar [Tue, 28 Jun 2005 10:17:01 +0000 (10:17 +0000)]
one might not have simplexml enabled

19 years agofix handling of non-PHP classes (John Coggeshall)
Stanislav Malyshev [Tue, 28 Jun 2005 09:46:30 +0000 (09:46 +0000)]
fix handling of non-PHP classes (John Coggeshall)

19 years agoChangeLog update
<changelog@php.net> [Tue, 28 Jun 2005 05:37:03 +0000 (05:37 +0000)]
ChangeLog update

19 years agoFixed double-free bug.
Ilia Alshanetsky [Tue, 28 Jun 2005 04:03:58 +0000 (04:03 +0000)]
Fixed double-free bug.

19 years agofixed oid retrieval.
Ilia Alshanetsky [Tue, 28 Jun 2005 02:09:53 +0000 (02:09 +0000)]
fixed oid retrieval.

19 years ago- Fixed bug #31358 (Older GCC versions do not provide portable va_copy()).
foobar [Mon, 27 Jun 2005 22:04:41 +0000 (22:04 +0000)]
- Fixed bug #31358 (Older GCC versions do not provide portable va_copy()).

19 years agoadd test case
foobar [Mon, 27 Jun 2005 19:07:52 +0000 (19:07 +0000)]
add test case

19 years ago- Fixed bug #33469 (Compile error undefined reference to ifx_checkAPI).
foobar [Mon, 27 Jun 2005 18:38:04 +0000 (18:38 +0000)]
- Fixed bug #33469 (Compile error undefined reference to ifx_checkAPI).

19 years ago- Cache the xml2-config path
foobar [Mon, 27 Jun 2005 18:30:14 +0000 (18:30 +0000)]
- Cache the xml2-config path

19 years agofix various "Class entry requested for an object without PHP class" messages
Stanislav Malyshev [Mon, 27 Jun 2005 18:13:13 +0000 (18:13 +0000)]
fix various "Class entry requested for an object without PHP class" messages
when working with non-PHP objects.
# Using Z_OBJCE(object)->name is usually bad idea unless you know it's
# a pure PHP object