]> granicus.if.org Git - php/log
php
20 years agoMoved pdflib extension to PECL
Wez Furlong [Mon, 24 May 2004 16:41:41 +0000 (16:41 +0000)]
Moved pdflib extension to PECL

20 years agoChangeLog update
<changelog@php.net> [Mon, 24 May 2004 00:32:46 +0000 (00:32 +0000)]
ChangeLog update

20 years ago- Fix problem with object being destroyed more than once
Andi Gutmans [Sun, 23 May 2004 20:33:09 +0000 (20:33 +0000)]
- Fix problem with object being destroyed more than once

20 years ago- Fix the following script (it crashed):
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();
?>

20 years agoFixed leaks on fatal errors in tidy.
Ilia Alshanetsky [Sun, 23 May 2004 17:22:21 +0000 (17:22 +0000)]
Fixed leaks on fatal errors in tidy.

20 years ago- NEWS
Andi Gutmans [Sun, 23 May 2004 16:24:21 +0000 (16:24 +0000)]
- NEWS

20 years ago- Fix typo although it isn't being built
Andi Gutmans [Sun, 23 May 2004 16:05:09 +0000 (16:05 +0000)]
- Fix typo although it isn't being built

20 years ago- Fixed bug #27640 memory leak of registered_zend_ini_directives (Dmitry)
Andi Gutmans [Sun, 23 May 2004 16:02:36 +0000 (16:02 +0000)]
- Fixed bug #27640 memory leak of registered_zend_ini_directives  (Dmitry)

20 years agoadding this
Andrey Hristov [Sun, 23 May 2004 15:26:55 +0000 (15:26 +0000)]
adding this

20 years agoAnsrei reverted this
Andrey Hristov [Sun, 23 May 2004 15:21:38 +0000 (15:21 +0000)]
Ansrei reverted this

20 years agoFinally a fix for #23220: IIS does not cleanly close SSL connections.
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.

20 years agoThis is more correct.
Stefan Esser [Sun, 23 May 2004 10:00:59 +0000 (10:00 +0000)]
This is more correct.

20 years agoFix #1395: PEAR_ErrorStack::staticCallback needs to instantiate the stack
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

20 years agoin preparation for testing all remote functionality, use a mock object for a function...
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

20 years agoChangeLog update
<changelog@php.net> [Sun, 23 May 2004 00:33:49 +0000 (00:33 +0000)]
ChangeLog update

20 years agoprep for release
Wez Furlong [Sat, 22 May 2004 20:58:36 +0000 (20:58 +0000)]
prep for release

20 years agoUse dummy status vector in ibase_connect()
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

20 years agoFix buglet in dbh closing.
Wez Furlong [Sat, 22 May 2004 15:04:26 +0000 (15:04 +0000)]
Fix buglet in dbh closing.

20 years agoEnable ODBC Connection Pooling.
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.

20 years agook MSVC, why didn't you spot *that* one??
Wez Furlong [Sat, 22 May 2004 00:38:11 +0000 (00:38 +0000)]
ok MSVC, why didn't you spot *that* one??

20 years agoChangeLog update
<changelog@php.net> [Sat, 22 May 2004 00:32:18 +0000 (00:32 +0000)]
ChangeLog update

20 years agoFix doer()
Wez Furlong [Sat, 22 May 2004 00:30:00 +0000 (00:30 +0000)]
Fix doer()
Implement error handling for ODBC

20 years agoAdd self to credits.
Ilia Alshanetsky [Fri, 21 May 2004 22:45:27 +0000 (22:45 +0000)]
Add self to credits.

20 years agopierre's thingy
George Schlossnagle [Fri, 21 May 2004 22:36:52 +0000 (22:36 +0000)]
pierre's thingy

20 years ago/me learns to read
George Schlossnagle [Fri, 21 May 2004 22:30:58 +0000 (22:30 +0000)]
/me learns to read

20 years agoboth places
George Schlossnagle [Fri, 21 May 2004 22:27:30 +0000 (22:27 +0000)]
both places

20 years agodrop the dev
George Schlossnagle [Fri, 21 May 2004 22:27:02 +0000 (22:27 +0000)]
drop the dev

20 years agoBump the version number
Wez Furlong [Fri, 21 May 2004 22:26:45 +0000 (22:26 +0000)]
Bump the version number

20 years agook, apprently we _don't_ want to count the nulls.
George Schlossnagle [Fri, 21 May 2004 22:24:20 +0000 (22:24 +0000)]
ok, apprently we _don't_ want to count the nulls.

20 years agoremove debugging
George Schlossnagle [Fri, 21 May 2004 22:20:25 +0000 (22:20 +0000)]
remove debugging

20 years agofix fubar'd emulated bindings
George Schlossnagle [Fri, 21 May 2004 22:19:33 +0000 (22:19 +0000)]
fix fubar'd emulated bindings

20 years agoPrep for release
Wez Furlong [Fri, 21 May 2004 21:20:00 +0000 (21:20 +0000)]
Prep for release

20 years ago- Fixed expected return value from test #2
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

20 years ago- Removed currently leaking auto-cancel test
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)

20 years ago- Fixed expected return value from var_dump()
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

20 years ago- Fixed bug #28354
Timm Friebe [Fri, 21 May 2004 20:29:38 +0000 (20:29 +0000)]
- Fixed bug #28354

20 years ago- Initial release
Timm Friebe [Fri, 21 May 2004 19:45:55 +0000 (19:45 +0000)]
- Initial release

20 years agoPrepare release
Edin Kadribasic [Fri, 21 May 2004 19:09:43 +0000 (19:09 +0000)]
Prepare release

20 years agoUpdate package/module
Wez Furlong [Fri, 21 May 2004 17:33:58 +0000 (17:33 +0000)]
Update package/module

20 years agoAdd some blurb
Wez Furlong [Fri, 21 May 2004 17:31:49 +0000 (17:31 +0000)]
Add some blurb

20 years agoOk, so we do need to rinit here after all.
Wez Furlong [Fri, 21 May 2004 17:17:55 +0000 (17:17 +0000)]
Ok, so we do need to rinit here after all.

20 years agoUpdate to reflect recent changes in dl()
Wez Furlong [Fri, 21 May 2004 17:08:36 +0000 (17:08 +0000)]
Update to reflect recent changes in dl()

20 years agoUpdate package/module
Wez Furlong [Fri, 21 May 2004 16:53:32 +0000 (16:53 +0000)]
Update package/module

20 years agoUpdate package file
Wez Furlong [Fri, 21 May 2004 16:38:41 +0000 (16:38 +0000)]
Update package file

20 years agoBetter error message to save looking in the wrong place.
Wez Furlong [Fri, 21 May 2004 16:36:37 +0000 (16:36 +0000)]
Better error message to save looking in the wrong place.

20 years agoImplement ODBC doer.
Ilia Alshanetsky [Fri, 21 May 2004 16:17:22 +0000 (16:17 +0000)]
Implement ODBC doer.

20 years agoFix return type here too
Wez Furlong [Fri, 21 May 2004 15:33:18 +0000 (15:33 +0000)]
Fix return type here too

20 years agoFix return type
Wez Furlong [Fri, 21 May 2004 15:29:09 +0000 (15:29 +0000)]
Fix return type

20 years agoFix setAttribute for oci.
Wez Furlong [Fri, 21 May 2004 15:25:22 +0000 (15:25 +0000)]
Fix setAttribute for oci.
Fix some compiler warnings

20 years ago- Fixed order (again)
Derick Rethans [Fri, 21 May 2004 15:09:34 +0000 (15:09 +0000)]
- Fixed order (again)

20 years agoFixed bug #28239 (No results returned on SOAP call, no error given)
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)

20 years agoAllow lazy fetch to work with numeric offsets.
Wez Furlong [Fri, 21 May 2004 14:31:51 +0000 (14:31 +0000)]
Allow lazy fetch to work with numeric offsets.
Fix named parameters...

20 years agoFixed compiler warning.
Ilia Alshanetsky [Fri, 21 May 2004 14:27:48 +0000 (14:27 +0000)]
Fixed compiler warning.

20 years agoRemoved strcpy() call from most common case
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

20 years agoUpdate for placeholder flags
Wez Furlong [Fri, 21 May 2004 14:15:03 +0000 (14:15 +0000)]
Update for placeholder flags

20 years agostore the name length in the same manner as it is stored in zvals
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

20 years agoTidy up placeholder flags
Wez Furlong [Fri, 21 May 2004 14:09:51 +0000 (14:09 +0000)]
Tidy up placeholder flags

20 years agoAdded test for duplicate field names when returning rows as hashes or objects
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

20 years agoVersion 1 of PDO_FETCH_LAZY
Wez Furlong [Fri, 21 May 2004 13:26:58 +0000 (13:26 +0000)]
Version 1 of PDO_FETCH_LAZY

20 years agoMake sure METADATALENGTH is defined (used by IB 7)
Ard Biesheuvel [Fri, 21 May 2004 13:14:56 +0000 (13:14 +0000)]
Make sure METADATALENGTH is defined (used by IB 7)

20 years ago- Fixed TSRM problem in latest commit.
Derick Rethans [Fri, 21 May 2004 08:16:13 +0000 (08:16 +0000)]
- Fixed TSRM problem in latest commit.

20 years ago- Fixed bug #28456 (Problem with enclosed / in uploaded file names)
Derick Rethans [Fri, 21 May 2004 08:11:43 +0000 (08:11 +0000)]
- Fixed bug #28456 (Problem with enclosed / in uploaded file names)

20 years agofix missing assignment
Greg Beaver [Fri, 21 May 2004 03:43:58 +0000 (03:43 +0000)]
fix missing assignment
$this->_errors = array_filter($this->_errors);

20 years agofix for BC break
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.

20 years agoSeveral issues resolved.
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.

20 years agoChangeLog update
<changelog@php.net> [Fri, 21 May 2004 00:39:44 +0000 (00:39 +0000)]
ChangeLog update

20 years agoFixed stream leak on error.
Ilia Alshanetsky [Thu, 20 May 2004 23:37:59 +0000 (23:37 +0000)]
Fixed stream leak on error.

20 years agoSpecify that OCI returns column names in upper case by default
Wez Furlong [Thu, 20 May 2004 22:29:26 +0000 (22:29 +0000)]
Specify that OCI returns column names in upper case by default

20 years agoImplement case folding of column names as a portability option.
Wez Furlong [Thu, 20 May 2004 22:28:53 +0000 (22:28 +0000)]
Implement case folding of column names as a portability option.

20 years agoKill unused var.
Ilia Alshanetsky [Thu, 20 May 2004 22:24:30 +0000 (22:24 +0000)]
Kill unused var.

20 years agoImplement PDO_FETCH_OBJ
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.

20 years agoFix build on win32
Wez Furlong [Thu, 20 May 2004 21:50:25 +0000 (21:50 +0000)]
Fix build on win32

20 years agofor now removing ":public". Waiting for a decision? ":public" will require
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.

20 years agofixing the tests so to work with the new var_dump() (dumping private and
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)

20 years agoMake username & password parameters optional.
Ilia Alshanetsky [Thu, 20 May 2004 20:25:22 +0000 (20:25 +0000)]
Make username & password parameters optional.

20 years agoFixed parameter order.
Ilia Alshanetsky [Thu, 20 May 2004 20:22:07 +0000 (20:22 +0000)]
Fixed parameter order.

20 years agoAdded getAttribute() handler.
Ilia Alshanetsky [Thu, 20 May 2004 20:04:11 +0000 (20:04 +0000)]
Added getAttribute() handler.
Fixed leak inside exec().

20 years agoUse native PostgreSQL connect string e.g.
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");

20 years agosigh... need to include the null byte in hash keys
George Schlossnagle [Thu, 20 May 2004 19:19:04 +0000 (19:19 +0000)]
sigh...  need to include the null byte in hash keys

20 years agoAdded MySQL getAttribute() support.
Ilia Alshanetsky [Thu, 20 May 2004 19:17:32 +0000 (19:17 +0000)]
Added MySQL getAttribute() support.

20 years agoEnable setting the different error modes via PDO::setAttribute()
Wez Furlong [Thu, 20 May 2004 19:16:49 +0000 (19:16 +0000)]
Enable setting the different error modes via PDO::setAttribute()

20 years agoFixed typo.
Ilia Alshanetsky [Thu, 20 May 2004 19:14:44 +0000 (19:14 +0000)]
Fixed typo.

20 years agoAdded missing user-land constants.
Ilia Alshanetsky [Thu, 20 May 2004 19:12:24 +0000 (19:12 +0000)]
Added missing user-land constants.

20 years agoWe quote with ' in real databases
Edin Kadribasic [Thu, 20 May 2004 19:09:36 +0000 (19:09 +0000)]
We quote with ' in real databases

20 years agoAdded getAttribute() method.
Ilia Alshanetsky [Thu, 20 May 2004 19:09:35 +0000 (19:09 +0000)]
Added getAttribute() method.

20 years agoremove debug
George Schlossnagle [Thu, 20 May 2004 18:50:21 +0000 (18:50 +0000)]
remove debug

20 years agooff by one error
George Schlossnagle [Thu, 20 May 2004 18:44:12 +0000 (18:44 +0000)]
off by one error

20 years agoset active_query_string to null in case of failure
George Schlossnagle [Thu, 20 May 2004 18:29:59 +0000 (18:29 +0000)]
set active_query_string to null in case of failure

20 years agoMake sure that the error string is freed.
Ilia Alshanetsky [Thu, 20 May 2004 18:19:03 +0000 (18:19 +0000)]
Make sure that the error string is freed.

20 years agoFixed possible crash.
Ilia Alshanetsky [Thu, 20 May 2004 18:10:16 +0000 (18:10 +0000)]
Fixed possible crash.

20 years agoBetter error message.
Ilia Alshanetsky [Thu, 20 May 2004 18:05:44 +0000 (18:05 +0000)]
Better error message.

20 years agoLast insert id (oids) support.
Ilia Alshanetsky [Thu, 20 May 2004 18:00:24 +0000 (18:00 +0000)]
Last insert id (oids) support.

20 years agoRevert; obviously I missed the function at the bottom of the file...
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...

20 years agoSupport ? as a bind in emulated prepares
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

20 years agovar_dump() now shows private and protected member variables.
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)
}

20 years agoMake doer() work.
Ilia Alshanetsky [Thu, 20 May 2004 17:43:56 +0000 (17:43 +0000)]
Make doer() work.
Make error reporting system work.

20 years agoExport this, so extensions may throw their own exception objects that
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.

20 years agokeys need to be null-terminated (how did this not get committed before???)
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

20 years agoAdd methods for error handling
Wez Furlong [Thu, 20 May 2004 17:22:13 +0000 (17:22 +0000)]
Add methods for error handling

20 years agoiactually support :\w+ as binds
George Schlossnagle [Thu, 20 May 2004 17:04:57 +0000 (17:04 +0000)]
iactually support :\w+ as binds