]>
granicus.if.org Git - php/log
Wez Furlong [Mon, 24 May 2004 16:41:41 +0000 (16:41 +0000)]
Moved pdflib extension to PECL
<changelog@php.net> [Mon, 24 May 2004 00:32:46 +0000 (00:32 +0000)]
ChangeLog update
Andi Gutmans [Sun, 23 May 2004 20:33:09 +0000 (20:33 +0000)]
- Fix problem with object being destroyed more than once
Andi Gutmans [Sun, 23 May 2004 20:27:32 +0000 (20:27 +0000)]
- Fix the following script (it crashed):
<?php
class ErrorHandler {
function __construct() {
set_error_handler(array(&$this, 'handle'));
}
function __destruct() {
restore_error_handler();
}
function handle($code, $msg, $file, $line, $locals) {
}
}
new ErrorHandler();
?>
Ilia Alshanetsky [Sun, 23 May 2004 17:22:21 +0000 (17:22 +0000)]
Fixed leaks on fatal errors in tidy.
Andi Gutmans [Sun, 23 May 2004 16:24:21 +0000 (16:24 +0000)]
- NEWS
Andi Gutmans [Sun, 23 May 2004 16:05:09 +0000 (16:05 +0000)]
- Fix typo although it isn't being built
Andi Gutmans [Sun, 23 May 2004 16:02:36 +0000 (16:02 +0000)]
- Fixed bug #27640 memory leak of registered_zend_ini_directives (Dmitry)
Andrey Hristov [Sun, 23 May 2004 15:26:55 +0000 (15:26 +0000)]
adding this
Andrey Hristov [Sun, 23 May 2004 15:21:38 +0000 (15:21 +0000)]
Ansrei reverted this
Wez Furlong [Sun, 23 May 2004 10:36:08 +0000 (10:36 +0000)]
Finally a fix for #23220: IIS does not cleanly close SSL connections.
Also enable the safe and recommended bug work around options in the SSL
context.
Stefan Esser [Sun, 23 May 2004 10:00:59 +0000 (10:00 +0000)]
This is more correct.
Greg Beaver [Sun, 23 May 2004 06:06:10 +0000 (06:06 +0000)]
Fix #1395: PEAR_ErrorStack::staticCallback needs to instantiate the stack
Fix up default callback, so that it can be set for each package as well as for all packages.
Callbacks now have 3 levels of control, which may be a bit too complex, default callbacks might have to go for debugging reasons. Either that or some kind of origination information should be appended to the error array describing which callbacks were called, so debugging is at least possible
Greg Beaver [Sun, 23 May 2004 05:33:25 +0000 (05:33 +0000)]
in preparation for testing all remote functionality, use a mock object for a functioning pearweb server
<changelog@php.net> [Sun, 23 May 2004 00:33:49 +0000 (00:33 +0000)]
ChangeLog update
Wez Furlong [Sat, 22 May 2004 20:58:36 +0000 (20:58 +0000)]
prep for release
Ard Biesheuvel [Sat, 22 May 2004 18:50:58 +0000 (18:50 +0000)]
Use dummy status vector in ibase_connect()
Added fbird_ aliases for all ibase_ functions
# See comment in code for more info
# Please let me know if there are any namespace issues involved
Wez Furlong [Sat, 22 May 2004 15:04:26 +0000 (15:04 +0000)]
Fix buglet in dbh closing.
Wez Furlong [Sat, 22 May 2004 14:51:26 +0000 (14:51 +0000)]
Enable ODBC Connection Pooling.
Theoretically better than PHP persistent connections, since ODBC itself takes
care of resetting the connections back to a "ground" state.
Connection pooling defaults to ON, since this is generally useful.
You can turn it off by using:
pdo_odbc.connection_pooling=off
in your php.ini file.
You may configure how ODBC matches connection details to existing connections
by setting this value to "strict" (the default) or "relaxed". You are
encouraged to read the ODBC specs before changing this value.
Wez Furlong [Sat, 22 May 2004 00:38:11 +0000 (00:38 +0000)]
ok MSVC, why didn't you spot *that* one??
<changelog@php.net> [Sat, 22 May 2004 00:32:18 +0000 (00:32 +0000)]
ChangeLog update
Wez Furlong [Sat, 22 May 2004 00:30:00 +0000 (00:30 +0000)]
Fix doer()
Implement error handling for ODBC
Ilia Alshanetsky [Fri, 21 May 2004 22:45:27 +0000 (22:45 +0000)]
Add self to credits.
George Schlossnagle [Fri, 21 May 2004 22:36:52 +0000 (22:36 +0000)]
pierre's thingy
George Schlossnagle [Fri, 21 May 2004 22:30:58 +0000 (22:30 +0000)]
/me learns to read
George Schlossnagle [Fri, 21 May 2004 22:27:30 +0000 (22:27 +0000)]
both places
George Schlossnagle [Fri, 21 May 2004 22:27:02 +0000 (22:27 +0000)]
drop the dev
Wez Furlong [Fri, 21 May 2004 22:26:45 +0000 (22:26 +0000)]
Bump the version number
George Schlossnagle [Fri, 21 May 2004 22:24:20 +0000 (22:24 +0000)]
ok, apprently we _don't_ want to count the nulls.
George Schlossnagle [Fri, 21 May 2004 22:20:25 +0000 (22:20 +0000)]
remove debugging
George Schlossnagle [Fri, 21 May 2004 22:19:33 +0000 (22:19 +0000)]
fix fubar'd emulated bindings
Wez Furlong [Fri, 21 May 2004 21:20:00 +0000 (21:20 +0000)]
Prep for release
Timm Friebe [Fri, 21 May 2004 21:01:21 +0000 (21:01 +0000)]
- Fixed expected return value from test #2
Invalid resources yield bool(false) in PHP5, NULL in PHP4
Timm Friebe [Fri, 21 May 2004 20:54:39 +0000 (20:54 +0000)]
- Removed currently leaking auto-cancel test
- Fixed expected return value from sybase_num_rows() when an
invalid resource is passed (returns false instead of NULL)
Timm Friebe [Fri, 21 May 2004 20:53:01 +0000 (20:53 +0000)]
- Fixed expected return value from var_dump()
- Cleaned up SQL statement
# This bug has been fixed, but this test should be kept anyways,
# just to make sure it does not reappear
Timm Friebe [Fri, 21 May 2004 20:29:38 +0000 (20:29 +0000)]
- Fixed bug #28354
Timm Friebe [Fri, 21 May 2004 19:45:55 +0000 (19:45 +0000)]
- Initial release
Edin Kadribasic [Fri, 21 May 2004 19:09:43 +0000 (19:09 +0000)]
Prepare release
Wez Furlong [Fri, 21 May 2004 17:33:58 +0000 (17:33 +0000)]
Update package/module
Wez Furlong [Fri, 21 May 2004 17:31:49 +0000 (17:31 +0000)]
Add some blurb
Wez Furlong [Fri, 21 May 2004 17:17:55 +0000 (17:17 +0000)]
Ok, so we do need to rinit here after all.
Wez Furlong [Fri, 21 May 2004 17:08:36 +0000 (17:08 +0000)]
Update to reflect recent changes in dl()
Wez Furlong [Fri, 21 May 2004 16:53:32 +0000 (16:53 +0000)]
Update package/module
Wez Furlong [Fri, 21 May 2004 16:38:41 +0000 (16:38 +0000)]
Update package file
Wez Furlong [Fri, 21 May 2004 16:36:37 +0000 (16:36 +0000)]
Better error message to save looking in the wrong place.
Ilia Alshanetsky [Fri, 21 May 2004 16:17:22 +0000 (16:17 +0000)]
Implement ODBC doer.
Wez Furlong [Fri, 21 May 2004 15:33:18 +0000 (15:33 +0000)]
Fix return type here too
Wez Furlong [Fri, 21 May 2004 15:29:09 +0000 (15:29 +0000)]
Fix return type
Wez Furlong [Fri, 21 May 2004 15:25:22 +0000 (15:25 +0000)]
Fix setAttribute for oci.
Fix some compiler warnings
Derick Rethans [Fri, 21 May 2004 15:09:34 +0000 (15:09 +0000)]
- Fixed order (again)
Dmitry Stogov [Fri, 21 May 2004 14:50:19 +0000 (14:50 +0000)]
Fixed bug #28239 (No results returned on SOAP call, no error given)
Wez Furlong [Fri, 21 May 2004 14:31:51 +0000 (14:31 +0000)]
Allow lazy fetch to work with numeric offsets.
Fix named parameters...
Ilia Alshanetsky [Fri, 21 May 2004 14:27:48 +0000 (14:27 +0000)]
Fixed compiler warning.
Ard Biesheuvel [Fri, 21 May 2004 14:24:34 +0000 (14:24 +0000)]
Removed strcpy() call from most common case
Added test for hash index generation
Wez Furlong [Fri, 21 May 2004 14:15:03 +0000 (14:15 +0000)]
Update for placeholder flags
Wez Furlong [Fri, 21 May 2004 14:14:32 +0000 (14:14 +0000)]
store the name length in the same manner as it is stored in zvals
Wez Furlong [Fri, 21 May 2004 14:09:51 +0000 (14:09 +0000)]
Tidy up placeholder flags
Ard Biesheuvel [Fri, 21 May 2004 13:46:04 +0000 (13:46 +0000)]
Added test for duplicate field names when returning rows as hashes or objects
# This change should be in 5.0.0, as it might break BC
Wez Furlong [Fri, 21 May 2004 13:26:58 +0000 (13:26 +0000)]
Version 1 of PDO_FETCH_LAZY
Ard Biesheuvel [Fri, 21 May 2004 13:14:56 +0000 (13:14 +0000)]
Make sure METADATALENGTH is defined (used by IB 7)
Derick Rethans [Fri, 21 May 2004 08:16:13 +0000 (08:16 +0000)]
- Fixed TSRM problem in latest commit.
Derick Rethans [Fri, 21 May 2004 08:11:43 +0000 (08:11 +0000)]
- Fixed bug #28456 (Problem with enclosed / in uploaded file names)
Greg Beaver [Fri, 21 May 2004 03:43:58 +0000 (03:43 +0000)]
fix missing assignment
$this->_errors = array_filter($this->_errors);
Greg Beaver [Fri, 21 May 2004 03:33:51 +0000 (03:33 +0000)]
fix for BC break
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.
Greg Beaver [Fri, 21 May 2004 03:33:19 +0000 (03:33 +0000)]
Several issues resolved.
fix 1444: PEAR_ErrorStack->push() needs to validate $msg and $code as string/int
add error level checking to hasErrors() and getErrors().
BC break!!:
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.
<changelog@php.net> [Fri, 21 May 2004 00:39:44 +0000 (00:39 +0000)]
ChangeLog update
Ilia Alshanetsky [Thu, 20 May 2004 23:37:59 +0000 (23:37 +0000)]
Fixed stream leak on error.
Wez Furlong [Thu, 20 May 2004 22:29:26 +0000 (22:29 +0000)]
Specify that OCI returns column names in upper case by default
Wez Furlong [Thu, 20 May 2004 22:28:53 +0000 (22:28 +0000)]
Implement case folding of column names as a portability option.
Ilia Alshanetsky [Thu, 20 May 2004 22:24:30 +0000 (22:24 +0000)]
Kill unused var.
Wez Furlong [Thu, 20 May 2004 22:06:42 +0000 (22:06 +0000)]
Implement PDO_FETCH_OBJ
# todo (after initial release) - specify a particular class, reuse existing
# objects etc.
Wez Furlong [Thu, 20 May 2004 21:50:25 +0000 (21:50 +0000)]
Fix build on win32
Andrey Hristov [Thu, 20 May 2004 21:15:42 +0000 (21:15 +0000)]
for now removing ":public". Waiting for a decision? ":public" will require
quite a lot of phpt files changes.
Andrey Hristov [Thu, 20 May 2004 21:13:14 +0000 (21:13 +0000)]
fixing the tests so to work with the new var_dump() (dumping private and
protected member variables)
Ilia Alshanetsky [Thu, 20 May 2004 20:25:22 +0000 (20:25 +0000)]
Make username & password parameters optional.
Ilia Alshanetsky [Thu, 20 May 2004 20:22:07 +0000 (20:22 +0000)]
Fixed parameter order.
Ilia Alshanetsky [Thu, 20 May 2004 20:04:11 +0000 (20:04 +0000)]
Added getAttribute() handler.
Fixed leak inside exec().
Edin Kadribasic [Thu, 20 May 2004 19:58:51 +0000 (19:58 +0000)]
Use native PostgreSQL connect string e.g.
$db = new PDO("pgsql:dbname=template1 user=postgres password=secret");
George Schlossnagle [Thu, 20 May 2004 19:19:04 +0000 (19:19 +0000)]
sigh... need to include the null byte in hash keys
Ilia Alshanetsky [Thu, 20 May 2004 19:17:32 +0000 (19:17 +0000)]
Added MySQL getAttribute() support.
Wez Furlong [Thu, 20 May 2004 19:16:49 +0000 (19:16 +0000)]
Enable setting the different error modes via PDO::setAttribute()
Ilia Alshanetsky [Thu, 20 May 2004 19:14:44 +0000 (19:14 +0000)]
Fixed typo.
Ilia Alshanetsky [Thu, 20 May 2004 19:12:24 +0000 (19:12 +0000)]
Added missing user-land constants.
Edin Kadribasic [Thu, 20 May 2004 19:09:36 +0000 (19:09 +0000)]
We quote with ' in real databases
Ilia Alshanetsky [Thu, 20 May 2004 19:09:35 +0000 (19:09 +0000)]
Added getAttribute() method.
George Schlossnagle [Thu, 20 May 2004 18:50:21 +0000 (18:50 +0000)]
remove debug
George Schlossnagle [Thu, 20 May 2004 18:44:12 +0000 (18:44 +0000)]
off by one error
George Schlossnagle [Thu, 20 May 2004 18:29:59 +0000 (18:29 +0000)]
set active_query_string to null in case of failure
Ilia Alshanetsky [Thu, 20 May 2004 18:19:03 +0000 (18:19 +0000)]
Make sure that the error string is freed.
Ilia Alshanetsky [Thu, 20 May 2004 18:10:16 +0000 (18:10 +0000)]
Fixed possible crash.
Ilia Alshanetsky [Thu, 20 May 2004 18:05:44 +0000 (18:05 +0000)]
Better error message.
Ilia Alshanetsky [Thu, 20 May 2004 18:00:24 +0000 (18:00 +0000)]
Last insert id (oids) support.
Wez Furlong [Thu, 20 May 2004 17:59:27 +0000 (17:59 +0000)]
Revert; obviously I missed the function at the bottom of the file...
George Schlossnagle [Thu, 20 May 2004 17:56:09 +0000 (17:56 +0000)]
Support ? as a bind in emulated prepares
Throw informative error when pdo_parse_param fails
Andrey Hristov [Thu, 20 May 2004 17:46:20 +0000 (17:46 +0000)]
var_dump() now shows private and protected member variables.
Not BC is that since now the public variables are explicitly shown as public
Example :
class a{ protected $a=1; private $b=2;var $c=3;} $a=new a(); var_dump($a);
object(a)#1 (3) {
["a:protected"]=>
int(1)
["b:private"]=>
int(2)
["c:public"]=>
int(3)
}
Ilia Alshanetsky [Thu, 20 May 2004 17:43:56 +0000 (17:43 +0000)]
Make doer() work.
Make error reporting system work.
Wez Furlong [Thu, 20 May 2004 17:41:09 +0000 (17:41 +0000)]
Export this, so extensions may throw their own exception objects that
they have already instantiated.
George Schlossnagle [Thu, 20 May 2004 17:34:52 +0000 (17:34 +0000)]
keys need to be null-terminated (how did this not get committed before???)
bind-by-name includes the leading : in the name
Wez Furlong [Thu, 20 May 2004 17:22:13 +0000 (17:22 +0000)]
Add methods for error handling
George Schlossnagle [Thu, 20 May 2004 17:04:57 +0000 (17:04 +0000)]
iactually support :\w+ as binds