]>
granicus.if.org Git - php/log
Marcus Boerger [Mon, 1 Nov 2004 23:16:43 +0000 (23:16 +0000)]
- Don't call beginChildren/endChildren if they don't do anything
Marcus Boerger [Mon, 1 Nov 2004 23:02:10 +0000 (23:02 +0000)]
- Cache function lookup
Marcus Boerger [Mon, 1 Nov 2004 22:54:12 +0000 (22:54 +0000)]
- Add RecursiveIteratorIterator::beginChildren(), endChildren()
Marcus Boerger [Mon, 1 Nov 2004 22:31:11 +0000 (22:31 +0000)]
- Update examples
Marcus Boerger [Mon, 1 Nov 2004 22:28:59 +0000 (22:28 +0000)]
- Remove doubled definition
Marcus Boerger [Mon, 1 Nov 2004 21:06:42 +0000 (21:06 +0000)]
- Add some comment
Marcus Boerger [Mon, 1 Nov 2004 20:57:23 +0000 (20:57 +0000)]
- Allow direct access to spl class entries (SPL cannot be build shared)
Marcus Boerger [Mon, 1 Nov 2004 18:11:39 +0000 (18:11 +0000)]
- Update docu
Marcus Boerger [Mon, 1 Nov 2004 18:01:06 +0000 (18:01 +0000)]
- Update docu
Marcus Boerger [Mon, 1 Nov 2004 17:39:59 +0000 (17:39 +0000)]
- Two new exceptions
- Make use of new exception classes
Marcus Boerger [Mon, 1 Nov 2004 17:26:15 +0000 (17:26 +0000)]
- Fix macro usage
Marcus Boerger [Mon, 1 Nov 2004 17:05:45 +0000 (17:05 +0000)]
- Update docu
Marcus Boerger [Mon, 1 Nov 2004 16:31:19 +0000 (16:31 +0000)]
- Update docu
Marcus Boerger [Mon, 1 Nov 2004 15:50:25 +0000 (15:50 +0000)]
- Implement basic exception classes
Marcus Boerger [Mon, 1 Nov 2004 12:09:46 +0000 (12:09 +0000)]
- Use new way for global variables
- Cache class lookup
Marcus Boerger [Mon, 1 Nov 2004 10:45:54 +0000 (10:45 +0000)]
- Add interface Countable (PECL #30113)
Georg Richter [Mon, 1 Nov 2004 09:53:16 +0000 (09:53 +0000)]
added multi resultset support in mysql_connect
Georg Richter [Mon, 1 Nov 2004 07:19:26 +0000 (07:19 +0000)]
Fixed tests for empty dates (see http://bugs.mysql.com/?id=6058)
Fixed memleak in mysqli_stmt_bind_result
Fixed error handling for mysqli_multi_query
Ilia Alshanetsky [Mon, 1 Nov 2004 04:55:01 +0000 (04:55 +0000)]
MFB: Fixed bug #30613 (Prevent infinite recursion in url redirection).
<changelog@php.net> [Mon, 1 Nov 2004 01:55:54 +0000 (01:55 +0000)]
ChangeLog update
Marcus Boerger [Mon, 1 Nov 2004 01:29:06 +0000 (01:29 +0000)]
- Do not autoload if require does the trick
Marcus Boerger [Mon, 1 Nov 2004 00:33:41 +0000 (00:33 +0000)]
- Update
Marcus Boerger [Mon, 1 Nov 2004 00:26:59 +0000 (00:26 +0000)]
- Minor fixes
- Implement AppendIterator in C
Marcus Boerger [Sun, 31 Oct 2004 20:59:39 +0000 (20:59 +0000)]
- Implement EmptyIterator in C
Marcus Boerger [Sun, 31 Oct 2004 19:51:34 +0000 (19:51 +0000)]
- Update docu
Marcus Boerger [Sun, 31 Oct 2004 19:49:18 +0000 (19:49 +0000)]
- Implement InfiniteIterator in C
Marcus Boerger [Sun, 31 Oct 2004 19:05:37 +0000 (19:05 +0000)]
- Update docu
Marcus Boerger [Sun, 31 Oct 2004 19:05:19 +0000 (19:05 +0000)]
- Aggregate inner iterator for RecursiveIteratorIterator
Marcus Boerger [Sun, 31 Oct 2004 18:43:00 +0000 (18:43 +0000)]
- Implement classes IteratorIterator and NoRewindIterator in C
Marcus Boerger [Sun, 31 Oct 2004 15:36:08 +0000 (15:36 +0000)]
- Update
Marcus Boerger [Sun, 31 Oct 2004 15:30:53 +0000 (15:30 +0000)]
- Add ReflectionFunction::invokeArgs(array)
- Add ReflectionMethod::invokeArgs(obj, array)
Sebastian Bergmann [Sun, 31 Oct 2004 10:19:53 +0000 (10:19 +0000)]
Invokation -> Invocation
<changelog@php.net> [Sun, 31 Oct 2004 00:52:50 +0000 (00:52 +0000)]
ChangeLog update
Marcus Boerger [Sat, 30 Oct 2004 22:56:59 +0000 (22:56 +0000)]
Bump version (as discussed with Andi)
Marcus Boerger [Sat, 30 Oct 2004 19:53:25 +0000 (19:53 +0000)]
- Be consistent and use names as keys (found by johannes)
Marcus Boerger [Sat, 30 Oct 2004 19:27:42 +0000 (19:27 +0000)]
- Bump API version
Marcus Boerger [Sat, 30 Oct 2004 19:14:05 +0000 (19:14 +0000)]
- Update to new API
Marcus Boerger [Sat, 30 Oct 2004 19:12:14 +0000 (19:12 +0000)]
- Fix inner iterator aggregation
Marcus Boerger [Sat, 30 Oct 2004 19:11:37 +0000 (19:11 +0000)]
- Change zend_object_handlers->get_method() to allow aggregation for internal classes
Marcus Boerger [Sat, 30 Oct 2004 14:34:43 +0000 (14:34 +0000)]
WS (ups)
Marcus Boerger [Sat, 30 Oct 2004 14:33:25 +0000 (14:33 +0000)]
strip trailing (back)slash from path
Marcus Boerger [Sat, 30 Oct 2004 13:48:29 +0000 (13:48 +0000)]
- New architecture needs one more dependency
Marcus Boerger [Sat, 30 Oct 2004 10:18:10 +0000 (10:18 +0000)]
- Fix protos
Marcus Boerger [Sat, 30 Oct 2004 10:04:37 +0000 (10:04 +0000)]
- Fix proto
<changelog@php.net> [Sat, 30 Oct 2004 00:46:12 +0000 (00:46 +0000)]
ChangeLog update
Marcus Boerger [Fri, 29 Oct 2004 20:58:58 +0000 (20:58 +0000)]
- Update docu
Marcus Boerger [Fri, 29 Oct 2004 20:12:57 +0000 (20:12 +0000)]
- Implement OuterIterator in C
Marcus Boerger [Fri, 29 Oct 2004 19:50:51 +0000 (19:50 +0000)]
- Abstract no longer valid here
Andi Gutmans [Fri, 29 Oct 2004 00:55:11 +0000 (00:55 +0000)]
- For Ilia:
- MFH: Fixed bug #30572 (crash when comparing SimpleXML attribute to a boolean).
- Hope this works well. I will MFH tomorrow if no one complains.
<changelog@php.net> [Fri, 29 Oct 2004 00:48:12 +0000 (00:48 +0000)]
ChangeLog update
Andi Gutmans [Fri, 29 Oct 2004 00:37:22 +0000 (00:37 +0000)]
- [PATCH] Bug fix for #29770, but for PHP 4.3.9 (Vladimir Zidar)
Ilia Alshanetsky [Thu, 28 Oct 2004 22:22:22 +0000 (22:22 +0000)]
Simplify code.
Marcus Boerger [Thu, 28 Oct 2004 07:47:46 +0000 (07:47 +0000)]
- TSRM Fix
Dmitry Stogov [Thu, 28 Oct 2004 06:48:59 +0000 (06:48 +0000)]
--without-lines changed to --with-lines
Antony Dovgal [Thu, 28 Oct 2004 05:05:20 +0000 (05:05 +0000)]
fix Win32 & Netware build
Andi Gutmans [Thu, 28 Oct 2004 01:19:33 +0000 (01:19 +0000)]
- Fix typo
<changelog@php.net> [Thu, 28 Oct 2004 00:35:35 +0000 (00:35 +0000)]
ChangeLog update
Ilia Alshanetsky [Wed, 27 Oct 2004 23:12:05 +0000 (23:12 +0000)]
Simplify and cleanup code.
Andi Gutmans [Wed, 27 Oct 2004 20:13:59 +0000 (20:13 +0000)]
- Oops missed this one
Andi Gutmans [Wed, 27 Oct 2004 18:15:03 +0000 (18:15 +0000)]
- Revert Fixed bug #30228 (crash when comparing SimpleXML attribute to a boolean).
- Need to discuss where the real problem is.
Andi Gutmans [Wed, 27 Oct 2004 18:08:56 +0000 (18:08 +0000)]
- Tiny fixes
Andi Gutmans [Wed, 27 Oct 2004 17:58:46 +0000 (17:58 +0000)]
- Improve comments, docs, code...
Antony Dovgal [Wed, 27 Oct 2004 11:58:49 +0000 (11:58 +0000)]
fix bug #30388 (rename across filesystems loses ownership and permission info)
Wez Furlong [Wed, 27 Oct 2004 11:07:26 +0000 (11:07 +0000)]
Fix possible crash; patch by Kamesh Jayachandran
Wez Furlong [Wed, 27 Oct 2004 10:26:27 +0000 (10:26 +0000)]
Synopsis:
PDOStatement::setFetchMode()
reset default fetch() mode for a statement to PDO_FETCH_BOTH
PDOStatement::setFetchMode(PDO_FETCH_NUM)
PDOStatement::setFetchMode(PDO_FETCH_ASSOC)
PDOStatement::setFetchMode(PDO_FETCH_BOTH)
PDOStatement::setFetchMode(PDO_FETCH_OBJ)
set default fetch() mode for a statement.
PDOStatement::setFetchMode(PDO_FETCH_COLUMN, int colno)
set default fetch() mode to retrieve colno-th column on each fetch() call.
PDOStatement::setFetchMode(PDO_FETCH_CLASS, string classname [, array ctor args])
set default fetch() mode to create an instance of classname,
calling it's ctor, passing the optional ctor args.
The names of the columns in the result set will be used as property names on
the object instance. PPP rules apply.
[NOTE: calling ctor is not yet implemented]
[TODO: this might crash PHP for persistent PDO handles]
PDOStatement::setFetchMode(PDO_FETCH_INTO, object obj)
Similar to PDO_FETCH_CLASS, except that each iteration will update the
supplied object properties.
[TODO: this might crash PHP for persistent PDO handles]
The default fetch() mode is used when no parameters are passed to
PDOStatement::fetch(). When using a statement in an iterator context,
PDOStatement::fetch() is called implicitly on each iteration.
object PDO::queryAndIterate(string sql, <PDOStatement::setFetchMode args>)
This is semantically equivalent to:
$stmt = $pdo->prepare($sql);
$stmt->execute();
$stmt->setFetchMode($args);
return $stmt;
Example/Intended usage:
/* fetch an array with numeric and string keys */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test") as $row) {
debug_zval_dump($row);
}
/* fetch the value of column 1 into $row on each iteration */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test",
PDO_FETCH_COLUMN, 1) as $row) {
debug_zval_dump($row); // string(3) "foo"
}
/* create a new instance of class Foo on each iteration */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test",
PDO_FETCH_CLASS, 'Foo') as $row) {
debug_zval_dump($row);
/*
Object(Foo)#4 (2) refcount(2){
["NAME"]=>
string(12) "foo220051429" refcount(2)
["VALUE"]=>
string(12) "bar789825748" refcount(2)
}
*/
}
etc.
<changelog@php.net> [Wed, 27 Oct 2004 00:36:13 +0000 (00:36 +0000)]
ChangeLog update
Andi Gutmans [Tue, 26 Oct 2004 23:25:05 +0000 (23:25 +0000)]
- Patch from Andrey Hristov:
I have cooked a small patch which allows is_subclass_of() the accept
not only an object as first parameter but a string as well. When string
is passed the function checks whether the class specified is subclass of
the second parameter
class a{}
class b{} extends a{}
is_subclass_of("a", "a") //false
is_subclass_of("b", "a") //true
currently only objects are allowed as first parameter
Ilia Alshanetsky [Tue, 26 Oct 2004 22:38:34 +0000 (22:38 +0000)]
Fixed bug #30228 (crash when comparing SimpleXML attribute to a boolean).
Wez Furlong [Tue, 26 Oct 2004 22:00:15 +0000 (22:00 +0000)]
*cough* de-bogusify driver registration.
(what was I smoking??)
Wez Furlong [Tue, 26 Oct 2004 09:24:07 +0000 (09:24 +0000)]
Fix for Bug #29418 (double free when openssl_csr_new fails).
Also hook up MSHUTDOWN function which appears to have never been enabled.
Patch by Kamesh Jayachandran
<changelog@php.net> [Tue, 26 Oct 2004 00:48:48 +0000 (00:48 +0000)]
ChangeLog update
Ilia Alshanetsky [Mon, 25 Oct 2004 13:28:56 +0000 (13:28 +0000)]
Merge gettimeofday() based code to prevent duplication.
<changelog@php.net> [Mon, 25 Oct 2004 00:36:45 +0000 (00:36 +0000)]
ChangeLog update
Ilia Alshanetsky [Sun, 24 Oct 2004 17:41:13 +0000 (17:41 +0000)]
Make request start time be available via $_SERVER['REQUEST_TIME'].
# As discussed on internals.
<changelog@php.net> [Sun, 24 Oct 2004 00:36:26 +0000 (00:36 +0000)]
ChangeLog update
Hartmut Holzgraefe [Sat, 23 Oct 2004 23:03:52 +0000 (23:03 +0000)]
Make ldap_parse_reference() available on Windows (Bug #29492)
Joe Orton [Sat, 23 Oct 2004 13:48:05 +0000 (13:48 +0000)]
- always convert apr_time_t to time_t using apr_time_sec() to be future-proof.
- print apr_time_t values using APR_TIME_T and apr_snprintf.
- remove redundant add_property_long calls.
Joe Orton [Sat, 23 Oct 2004 12:56:20 +0000 (12:56 +0000)]
Fix the get_request_time implementation for the 2.0 SAPIs to return
seconds not microseconds and to use TSRM stuff correctly.
Antony Dovgal [Sat, 23 Oct 2004 09:32:44 +0000 (09:32 +0000)]
commit fixes by <mikael dot suvi at trigger dot ee>
(segfaults under heavy load)
Andi Gutmans [Sat, 23 Oct 2004 07:30:18 +0000 (07:30 +0000)]
- Add missing file
<changelog@php.net> [Sat, 23 Oct 2004 00:35:20 +0000 (00:35 +0000)]
ChangeLog update
Andi Gutmans [Fri, 22 Oct 2004 22:01:34 +0000 (22:01 +0000)]
- Nuke another two files
Andi Gutmans [Fri, 22 Oct 2004 21:42:14 +0000 (21:42 +0000)]
- Commit new VM
- Old one is tagged as PRE_NEW_VM_GEN_PATCH
- Still doing work so more commits to come. Don't complain (yet) :)
Rob Richards [Fri, 22 Oct 2004 13:11:33 +0000 (13:11 +0000)]
fix windows build
Edin Kadribasic [Fri, 22 Oct 2004 10:46:42 +0000 (10:46 +0000)]
Revert Linux LFS patch
Andi Gutmans [Fri, 22 Oct 2004 01:55:39 +0000 (01:55 +0000)]
- Fix crash (MFB PHP5_0)
<changelog@php.net> [Fri, 22 Oct 2004 00:35:53 +0000 (00:35 +0000)]
ChangeLog update
Edin Kadribasic [Thu, 21 Oct 2004 23:50:28 +0000 (23:50 +0000)]
MFB: Linux LFS support, fixes 27792
Ilia Alshanetsky [Thu, 21 Oct 2004 21:20:52 +0000 (21:20 +0000)]
Allow gettimeofday() return a float if optional argument is specified.
<changelog@php.net> [Thu, 21 Oct 2004 00:37:45 +0000 (00:37 +0000)]
ChangeLog update
Andi Gutmans [Wed, 20 Oct 2004 22:55:57 +0000 (22:55 +0000)]
- Fix test
Ilia Alshanetsky [Wed, 20 Oct 2004 22:44:43 +0000 (22:44 +0000)]
Slight optimization in str_split() when split length is the same or greater
then the string length.
Andi Gutmans [Wed, 20 Oct 2004 22:36:32 +0000 (22:36 +0000)]
- One more test fix
Andi Gutmans [Wed, 20 Oct 2004 22:13:44 +0000 (22:13 +0000)]
- Fix interface tests. Interfaces should not use access modifiers
Andi Gutmans [Wed, 20 Oct 2004 17:57:28 +0000 (17:57 +0000)]
- If object handles are equal then save the comparison of properties in
- the == operator.
Stanislav Malyshev [Wed, 20 Oct 2004 15:31:06 +0000 (15:31 +0000)]
MF4: fix double bailout in HEAD when output is attempted from shutdown
Joe Orton [Wed, 20 Oct 2004 09:28:47 +0000 (09:28 +0000)]
Fix case where php_handle_aborted_connection was called outside a
try/end_try block (#25570).
<changelog@php.net> [Wed, 20 Oct 2004 00:37:11 +0000 (00:37 +0000)]
ChangeLog update
Ilia Alshanetsky [Tue, 19 Oct 2004 22:25:15 +0000 (22:25 +0000)]
Simplify code.
Anantha Kesari H Y [Tue, 19 Oct 2004 08:21:24 +0000 (08:21 +0000)]
As NetWare LibC don't have the implementation of chown and chgrp there is no point in exposing this function to PHP