cvs: pear /MDB2 package.php package.xml package_fbsql.php package_fbsql.xml package_ibase.php package_ibase.xml package_mssql.php package_mssql.xml
package_mysql.php package_mysql.xml package_mysqli.php package_mysqli.xml package_oci8.php package_oci8.xml package_pgsql.php package_pgsql.xml
package_querysim.php package_querysim.xml package_sqlite.php package_sqlite.xml
| From: | Lukas Smith | Date: | Sun, 16 Oct 2005 09:41:10 +0000 |
| Subject: | cvs: pear /MDB2 package.php package.xml package_fbsql.php package_fbsql.xml package_ibase.php package_ibase.xml package_mssql.php package_mssql.xml package_mysql.php package_mysql.xml package_mysqli.php package_mysqli.xml package_oci8.php package_oci8.xml package_pgsql.php package_pgsql.xml package_querysim.php package_querysim.xml package_sqlite.php package_sqlite.xml |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35588@lists.php.net to get a copy of this message | ||
lsmith Sun Oct 16 05:41:10 2005 EDT
Modified files:
/pear/MDB2 package.php package.xml package_fbsql.php
package_fbsql.xml package_ibase.php package_ibase.xml
package_mssql.php package_mssql.xml package_mysql.php
package_mysql.xml package_mysqli.php package_mysqli.xml
package_oci8.php package_oci8.xml package_pgsql.php
package_pgsql.xml package_querysim.php
package_querysim.xml package_sqlite.php
package_sqlite.xml
Log:
- updated changelogs and filelist
http://cvs.php.net/diff.php/pear/MDB2/package.php?r1=1.103&r2=1.104&ty=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.103 pear/MDB2/package.php:1.104 --- pear/MDB2/package.php:1.103 Mon Oct 10 06:03:13 2005 +++ pear/MDB2/package.php Sun Oct 16 05:41:09 2005 @@ -2,57 +2,21 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '2.0.0beta6'; +$version = '2.0.0beta7'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- moved logic from MDB2::connect() to MDB2::factory(), the only difference is - that MDB2::connect will immediatly try to connect to the database -- MDB2::singleton now uses MDB2::factory() -- added support for auto increment and primary key in schema. (mysql[i]) -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- nicer test chooser. Added some js magic to [un]select all the tests in a group -- fixed typo in _getTextDeclaration() -- fix PHP4.4 breakage -- ensure that types and result_types property in the statement class is an array (bug #4695) -- added support for fetchmode in the iterator class and for any other result wrapper class (bug #4685) -- moved getInsertID() into core as lastInsertID() -- moved getBeforeID() and getAfterID() from core into the extended module -- added base class for all modules (which provides getDBInstance()) -- added free() method to remove an instance from the global instance array -- removed schema manager related error codes from MDB2::errorMessage() -- dont set the include path in test suite (people can do that in test_setup.php) -- added missing default numRows() method -- added hack into stream_eof() to handle the BC break in 5.0.x -- removed uncessary duplicate quoting in quote() in the peardb wrapper (bug #5195) -- warning fix in BC hack of connect() in the peardb wrapper -- tweaked error message in setResultTypes() -- removed PDO compatibility code in bindParam and bindCol, now using 0-index numeric keys again -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- added new portability fetch mode MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES (to remove database/table qualifiers from assoc indexes) -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- ensure that fetchAll always returns an array() even if the result set was empty -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added default values for supported property -- reworked supports() to return the given value and also return errors for non existant support feature -- reworked subSelect() to use the 'emulated' supports() return value -- removed implementation of createIndex() (now every driver needs to implement it themselves) -- sync fileExists with the LiveUser one, explode instead of split and is_readable instead of file_exists. -- tweaked compare method family to better deal with optional properties +- added numerous testcases in the managre and reverse module +- unified case fixing in the list*() methods +- case-insensitive comparison in _isSequenceName() +- added getConnection() to fetch a native connection ressource +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- store if type has changed in compareDefinition() +- added new Funtion modules to handle difference in SQL functions open todo items: -- add test cases for the various module methods +- add test cases for the function module and autoincrement handling - add getServerVersion() EOT; http://cvs.php.net/diff.php/pear/MDB2/package.xml?r1=1.48&r2=1.49&ty=u Index: pear/MDB2/package.xml diff -u pear/MDB2/package.xml:1.48 pear/MDB2/package.xml:1.49 --- pear/MDB2/package.xml:1.48 Mon Oct 10 06:03:13 2005 +++ pear/MDB2/package.xml Sun Oct 16 05:41:09 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2</name> <summary>database abstraction layer</summary> <description>PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers. @@ -69,59 +69,23 @@ </maintainer> </maintainers> <release> - <version>2.0.0beta6</version> - <date>2005-10-10</date> + <version>2.0.0beta7</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- moved logic from MDB2::connect() to MDB2::factory(), the only difference is - that MDB2::connect will immediatly try to connect to the database -- MDB2::singleton now uses MDB2::factory() -- added support for auto increment and primary key in schema. (mysql[i]) -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- nicer test chooser. Added some js magic to [un]select all the tests in a group -- fixed typo in _getTextDeclaration() -- fix PHP4.4 breakage -- ensure that types and result_types property in the statement class is an array (bug #4695) -- added support for fetchmode in the iterator class and for any other result wrapper class (bug #4685) -- moved getInsertID() into core as lastInsertID() -- moved getBeforeID() and getAfterID() from core into the extended module -- added base class for all modules (which provides getDBInstance()) -- added free() method to remove an instance from the global instance array -- removed schema manager related error codes from MDB2::errorMessage() -- dont set the include path in test suite (people can do that in test_setup.php) -- added missing default numRows() method -- added hack into stream_eof() to handle the BC break in 5.0.x -- removed uncessary duplicate quoting in quote() in the peardb wrapper (bug #5195) -- warning fix in BC hack of connect() in the peardb wrapper -- tweaked error message in setResultTypes() -- removed PDO compatibility code in bindParam and bindCol, now using 0-index numeric keys again -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- added new portability fetch mode MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES (to remove database/table qualifiers from assoc indexes) -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- ensure that fetchAll always returns an array() even if the result set was empty -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added default values for supported property -- reworked supports() to return the given value and also return errors for non existant support feature -- reworked subSelect() to use the 'emulated' supports() return value -- removed implementation of createIndex() (now every driver needs to implement it themselves) -- sync fileExists with the LiveUser one, explode instead of split and is_readable instead of file_exists. -- tweaked compare method family to better deal with optional properties + <notes>- added numerous testcases in the managre and reverse module +- unified case fixing in the list*() methods +- case-insensitive comparison in _isSequenceName() +- added getConnection() to fetch a native connection ressource +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- store if type has changed in compareDefinition() +- added new Funtion modules to handle difference in SQL functions open todo items: -- add test cases for the various module methods +- add test cases for the function module and autoincrement handling - add getServerVersion() </notes> <deps> @@ -183,6 +147,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="Common.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="Common.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -282,8 +251,29 @@ </release> <changelog> <release> + <version>2.0.0beta7</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- added numerous testcases in the managre and reverse module +- unified case fixing in the list*() methods +- case-insensitive comparison in _isSequenceName() +- added getConnection() to fetch a native connection ressource +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- store if type has changed in compareDefinition() +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- add test cases for the function module and autoincrement handling +- add getServerVersion() + </notes> + </release> + <release> <version>2.0.0beta6</version> - <date>2005-10-10</date> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> <notes>Warning: this release features numerous BC breaks! http://cvs.php.net/diff.php/pear/MDB2/package_fbsql.php?r1=1.6&r2=1.7&ty=u Index: pear/MDB2/package_fbsql.php diff -u pear/MDB2/package_fbsql.php:1.6 pear/MDB2/package_fbsql.php:1.7 --- pear/MDB2/package_fbsql.php:1.6 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_fbsql.php Sun Oct 16 05:41:09 2005 @@ -2,31 +2,18 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions -There have been considerable improvements to the datatype, manager and reverse -modules. However this driver should be considered unmaintained and likely broken. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- ensure that instance is connected before using connection property in tableInfo() -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- ensure that instance is connected before using connection property in tableInfo() -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- moved max_text_length property into the fbsql datatype module -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled -- tweaked handling of notnull and default in field reverse engineering +open todo items: +- this driver needs a serious update as its currently unmaintained EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_fbsql.xml?r1=1.11&r2=1.12&ty=u Index: pear/MDB2/package_fbsql.xml diff -u pear/MDB2/package_fbsql.xml:1.11 pear/MDB2/package_fbsql.xml:1.12 --- pear/MDB2/package_fbsql.xml:1.11 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_fbsql.xml Sun Oct 16 05:41:09 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_fbsql</name> <summary>fbsql MDB2 driver</summary> <description>This is the Frontbase SQL MDB2 driver. @@ -20,33 +20,20 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>Warning: this release features numerous BC breaks! + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions -There have been considerable improvements to the datatype, manager and reverse -modules. However this driver should be considered unmaintained and likely broken. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- ensure that instance is connected before using connection property in tableInfo() -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- ensure that instance is connected before using connection property in tableInfo() -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- moved max_text_length property into the fbsql datatype module -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled -- tweaked handling of notnull and default in field reverse engineering +open todo items: +- this driver needs a serious update as its currently unmaintained </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -63,6 +50,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="fbsql.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="fbsql.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -91,6 +83,23 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- this driver needs a serious update as its currently unmaintained + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_ibase.php?r1=1.12&r2=1.13&ty=u Index: pear/MDB2/package_ibase.php diff -u pear/MDB2/package_ibase.php:1.12 pear/MDB2/package_ibase.php:1.13 --- pear/MDB2/package_ibase.php:1.12 Wed Oct 12 13:18:50 2005 +++ pear/MDB2/package_ibase.php Sun Oct 16 05:41:10 2005 @@ -2,16 +2,26 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.3'; +$version = '0.2.0'; $notes = <<<EOT -- added support for portability option in all the list*() methods of the Manager module -- when dropping a table, the autoincrement trigger is removed +- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- fixed mapNativeDatatype() - implemented getTableFieldDefinition() and getTableIndexDefinition() in the Reverse module - implemented listUsers() in the Manager module - +- unified case fixing in the list*() methods +- use custom implementation of getConnection() to access connection propery +- split index and contraint handling +- return "0" as default value for integer NOT NULL fields with no default value + (I'm not sure this is a good thing) +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- fixed type changing in alterTable() +- added new Funtion modules to handle difference in SQL functions open todo items: -- code to be able to list primary contraints inside dropIndex() +- code to hide primary contraints inside listTableIndexes() - handle autoincremement fields in alterTable() and dropTable() EOT; http://cvs.php.net/diff.php/pear/MDB2/package_ibase.xml?r1=1.16&r2=1.17&ty=u Index: pear/MDB2/package_ibase.xml diff -u pear/MDB2/package_ibase.xml:1.16 pear/MDB2/package_ibase.xml:1.17 --- pear/MDB2/package_ibase.xml:1.16 Mon Oct 10 14:53:44 2005 +++ pear/MDB2/package_ibase.xml Sun Oct 16 05:41:10 2005 @@ -20,41 +20,28 @@ </maintainer> </maintainers> <release> - <version>0.1.2</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- fixed several incorrect raiseError() calls in manager module -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- createIndex(): index_sorting is not a feature in the supported array, but is supported by interbase -- return 0 for manipulation queries when disable_query is enabled -- tweaked field changing in alterTable() -- getTypeDeclaration() in the datatype module is now a public method -- fixed alterTable() signature -- fixed listTableFields() -- added listTableIndexes() -- added listTables() + <notes>- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- fixed mapNativeDatatype() +- implemented getTableFieldDefinition() and getTableIndexDefinition() in the Reverse module +- implemented listUsers() in the Manager module +- unified case fixing in the list*() methods +- use custom implementation of getConnection() to access connection propery +- split index and contraint handling +- return "0" as default value for integer NOT NULL fields with no default value + (I'm not sure this is a good thing) +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- fixed type changing in alterTable() +- added new Funtion modules to handle difference in SQL functions open todo items: -- code to be able to list primary contraints inside listTableIndexes()/dropIndex() +- code to hide primary contraints inside listTableIndexes() - handle autoincremement fields in alterTable() and dropTable() </notes> <deps> @@ -72,6 +59,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="ibase.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="ibase.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -100,6 +92,32 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- fixed mapNativeDatatype() +- implemented getTableFieldDefinition() and getTableIndexDefinition() in the Reverse module +- implemented listUsers() in the Manager module +- unified case fixing in the list*() methods +- use custom implementation of getConnection() to access connection propery +- split index and contraint handling +- return "0" as default value for integer NOT NULL fields with no default value + (I'm not sure this is a good thing) +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- fixed type changing in alterTable() +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- code to hide primary contraints inside listTableIndexes() +- handle autoincremement fields in alterTable() and dropTable() + </notes> + </release> + <release> <version>0.1.2</version> <date>2005-10-10</date> <license>BSD License</license> @@ -143,8 +161,7 @@ <date>2005-06-08</date> <license>BSD License</license> <state>beta</state> - <notes> -- fixed LOB management and package dependencies + <notes>- fixed LOB management and package dependencies - fully tested </notes> </release> http://cvs.php.net/diff.php/pear/MDB2/package_mssql.php?r1=1.7&r2=1.8&ty=u Index: pear/MDB2/package_mssql.php diff -u pear/MDB2/package_mssql.php:1.7 pear/MDB2/package_mssql.php:1.8 --- pear/MDB2/package_mssql.php:1.7 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mssql.php Sun Oct 16 05:41:10 2005 @@ -2,38 +2,18 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- MDB2_MSSQL_Driver: fixed a bug about missing msg variable, - fixed problem with database creation (incorrect ON clause) -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix typo in error code mapping -- fixed problem with database creation (incorrect ON clause) -- fixed listTableIndexes() -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- MDB2_ERROR does not evaluate to false in _skipLimitOffset() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- fixed bug in nextID (bug #5507) -- fixed bug in sequence handling in the manager module (bug #5507) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled +- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: -- added missing createIndex() method +- added missing createIndex() and reverse module methods method EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_mssql.xml?r1=1.12&r2=1.13&ty=u Index: pear/MDB2/package_mssql.xml diff -u pear/MDB2/package_mssql.xml:1.12 pear/MDB2/package_mssql.xml:1.13 --- pear/MDB2/package_mssql.xml:1.12 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mssql.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_mssql</name> <summary>mssql MDB2 driver</summary> <description>This is the Microsoft SQL Server MDB2 driver. @@ -20,40 +20,20 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- MDB2_MSSQL_Driver: fixed a bug about missing msg variable, - fixed problem with database creation (incorrect ON clause) -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix typo in error code mapping -- fixed problem with database creation (incorrect ON clause) -- fixed listTableIndexes() -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- MDB2_ERROR does not evaluate to false in _skipLimitOffset() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- fixed bug in nextID (bug #5507) -- fixed bug in sequence handling in the manager module (bug #5507) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled + <notes>- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: -- added missing createIndex() method +- added missing createIndex() and reverse module methods method </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -70,6 +50,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="mssql.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="mssql.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -98,6 +83,23 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- added missing createIndex() and reverse module methods method + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_mysql.php?r1=1.7&r2=1.8&ty=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.7 pear/MDB2/package_mysql.php:1.8 --- pear/MDB2/package_mysql.php:1.7 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mysql.php Sun Oct 16 05:41:10 2005 @@ -2,36 +2,20 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- ensure that instance is connected before using connection property in tableInfo() -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- ensure that instance is connected before using connection property in tableInfo() -- removed support for dummy_primary_key -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- removed subSelect() implementation (now in already included in common) -- return 0 for manipulation queries when disable_query is enabled -- tweaked handling of notnull and default in field reverse engineering -- tweaked getTableFieldDefinition() in reverse module EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_mysql.xml?r1=1.9&r2=1.10&ty=u Index: pear/MDB2/package_mysql.xml diff -u pear/MDB2/package_mysql.xml:1.9 pear/MDB2/package_mysql.xml:1.10 --- pear/MDB2/package_mysql.xml:1.9 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_mysql.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_mysql</name> <summary>mysql MDB2 driver</summary> <description>This is the MySQL MDB2 driver. @@ -14,38 +14,21 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- ensure that instance is connected before using connection property in tableInfo() -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- ensure that instance is connected before using connection property in tableInfo() -- removed support for dummy_primary_key -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- removed subSelect() implementation (now in already included in common) -- return 0 for manipulation queries when disable_query is enabled -- tweaked handling of notnull and default in field reverse engineering -- tweaked getTableFieldDefinition() in reverse module + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -62,6 +45,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="mysql.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="mysql.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -90,8 +78,26 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions + </notes> + </release> + <release> <version>0.1.1</version> - <date>2005-10-10</date> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> <notes>Warning: this release features numerous BC breaks! http://cvs.php.net/diff.php/pear/MDB2/package_mysqli.php?r1=1.6&r2=1.7&ty=u Index: pear/MDB2/package_mysqli.php diff -u pear/MDB2/package_mysqli.php:1.6 pear/MDB2/package_mysqli.php:1.7 --- pear/MDB2/package_mysqli.php:1.6 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mysqli.php Sun Oct 16 05:41:10 2005 @@ -2,40 +2,22 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- removed support for dummy_primary_key -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- all non LOB values were quoted twice in execute() -- clobs only need to be mapped to binary when using mysqli_stmt_send_long_data() - which is handled independently -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- removed subSelect() implementation (now in already included in common) -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions open todo items: -- fixed LOB support +- fix LOB support EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_mysqli.xml?r1=1.11&r2=1.12&ty=u Index: pear/MDB2/package_mysqli.xml diff -u pear/MDB2/package_mysqli.xml:1.11 pear/MDB2/package_mysqli.xml:1.12 --- pear/MDB2/package_mysqli.xml:1.11 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mysqli.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_mysqli</name> <summary>mysqli MDB2 driver</summary> <description>This is the MySQLi MDB2 driver. @@ -14,42 +14,24 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- removed support for dummy_primary_key -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- all non LOB values were quoted twice in execute() -- clobs only need to be mapped to binary when using mysqli_stmt_send_long_data() - which is handled independently -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- removed subSelect() implementation (now in already included in common) -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions open todo items: -- fixed LOB support +- fix LOB support </notes> <deps> <dep type="php" rel="ge" version="5.0.0" optional="no"/> @@ -66,6 +48,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="mysqli.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="mysqli.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -94,6 +81,27 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- fix LOB support + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_oci8.php?r1=1.7&r2=1.8&ty=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.7 pear/MDB2/package_oci8.php:1.8 --- pear/MDB2/package_oci8.php:1.7 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_oci8.php Sun Oct 16 05:41:10 2005 @@ -2,38 +2,24 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.2'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- fixed typo in unsigned integer declaration handling -- no need to close() the descriptor according to the docs (we do free() it though) -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added createIndex() -- return 0 for manipulation queries when disable_query is enabled -- tweaked field changing in alterTable() -- getTypeDeclaration() in the datatype module is now a public method +- added listTableIndexes() +- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- support portability option in listTableIndexes() +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: -- code to be able to list primary contraints inside listTableIndexes()/dropIndex() +- code to hide primary contraints inside listTableIndexes() - handle autoincremement fields in alterTable() and dropTable() -- using LOBs have a tendency to crash apache (even with the uptodate PECL oci8 ext) EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_oci8.xml?r1=1.13&r2=1.14&ty=u Index: pear/MDB2/package_oci8.xml diff -u pear/MDB2/package_oci8.xml:1.13 pear/MDB2/package_oci8.xml:1.14 --- pear/MDB2/package_oci8.xml:1.13 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_oci8.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_oci8</name> <summary>oci8 MDB2 driver</summary> <description>This is the Oracle OCI8 MDB2 driver. @@ -14,40 +14,26 @@ </maintainer> </maintainers> <release> - <version>0.1.2</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- fixed typo in unsigned integer declaration handling -- no need to close() the descriptor according to the docs (we do free() it though) -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added createIndex() -- return 0 for manipulation queries when disable_query is enabled -- tweaked field changing in alterTable() -- getTypeDeclaration() in the datatype module is now a public method + <notes>- added listTableIndexes() +- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- support portability option in listTableIndexes() +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: -- code to be able to list primary contraints inside listTableIndexes()/dropIndex() +- code to hide primary contraints inside listTableIndexes() - handle autoincremement fields in alterTable() and dropTable() -- using LOBs have a tendency to crash apache (even with the uptodate PECL oci8 ext) </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -64,6 +50,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="oci8.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="oci8.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -92,6 +83,29 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- added listTableIndexes() +- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- support portability option in listTableIndexes() +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- code to hide primary contraints inside listTableIndexes() +- handle autoincremement fields in alterTable() and dropTable() + </notes> + </release> + <release> <version>0.1.2</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_pgsql.php?r1=1.6&r2=1.7&ty=u Index: pear/MDB2/package_pgsql.php diff -u pear/MDB2/package_pgsql.php:1.6 pear/MDB2/package_pgsql.php:1.7 --- pear/MDB2/package_pgsql.php:1.6 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_pgsql.php Sun Oct 16 05:41:10 2005 @@ -2,35 +2,19 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fixed typo in _getTextDeclaration() -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- improved error mapping (ported from DB) -- better detect if the query returned a result set or not in _doQuery() -- minor tweaks to LOB handling -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added createIndex() -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module -- added getTypeDeclaration() in the datatype module -- tweaked field changing in alterTable() -- fixed alterTable() signature +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- tweaked text handling in mapNativeDatatype() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- added support for table and column renaming as well as default and nullability + changing in alterTable() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: - implement native prepared queries http://cvs.php.net/diff.php/pear/MDB2/package_pgsql.xml?r1=1.12&r2=1.13&ty=u Index: pear/MDB2/package_pgsql.xml diff -u pear/MDB2/package_pgsql.xml:1.12 pear/MDB2/package_pgsql.xml:1.13 --- pear/MDB2/package_pgsql.xml:1.12 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_pgsql.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_pgsql</name> <summary>pgsql MDB2 driver</summary> <description>This is the PostGreSQL MDB2 driver. @@ -14,37 +14,21 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fixed typo in _getTextDeclaration() -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- improved error mapping (ported from DB) -- better detect if the query returned a result set or not in _doQuery() -- minor tweaks to LOB handling -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added createIndex() -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module -- added getTypeDeclaration() in the datatype module -- tweaked field changing in alterTable() -- fixed alterTable() signature + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- tweaked text handling in mapNativeDatatype() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- added support for table and column renaming as well as default and nullability + changing in alterTable() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: - implement native prepared queries @@ -64,6 +48,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="pgsql.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="pgsql.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -92,6 +81,27 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- tweaked text handling in mapNativeDatatype() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- added support for table and column renaming as well as default and nullability + changing in alterTable() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- implement native prepared queries + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_querysim.php?r1=1.4&r2=1.5&ty=u Index: pear/MDB2/package_querysim.php diff -u pear/MDB2/package_querysim.php:1.4 pear/MDB2/package_querysim.php:1.5 --- pear/MDB2/package_querysim.php:1.4 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_querysim.php Sun Oct 16 05:41:10 2005 @@ -2,15 +2,11 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fix PHP4.4 breakage -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- return 0 for manipulation queries when disable_query is enabled +- use getConnection() to access connection propery +- setting in_transaction to false on disconnect + EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_querysim.xml?r1=1.9&r2=1.10&ty=u Index: pear/MDB2/package_querysim.xml diff -u pear/MDB2/package_querysim.xml:1.9 pear/MDB2/package_querysim.xml:1.10 --- pear/MDB2/package_querysim.xml:1.9 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_querysim.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_querysim</name> <summary>querysim MDB2 driver</summary> <description>This is the Querysim MDB2 driver. @@ -14,17 +14,12 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fix PHP4.4 breakage -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- return 0 for manipulation queries when disable_query is enabled + <notes>- use getConnection() to access connection propery +- setting in_transaction to false on disconnect </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -53,6 +48,15 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- use getConnection() to access connection propery +- setting in_transaction to false on disconnect + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_sqlite.php?r1=1.5&r2=1.6&ty=u Index: pear/MDB2/package_sqlite.php diff -u pear/MDB2/package_sqlite.php:1.5 pear/MDB2/package_sqlite.php:1.6 --- pear/MDB2/package_sqlite.php:1.5 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_sqlite.php Sun Oct 16 05:41:10 2005 @@ -2,31 +2,20 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- support sorting order in createIndex() +- tweaked lob and text handling in mapNativeDatatype() +- fixed getTableFieldDefinition() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- added new portability fetch mode MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES (to remove database/table qualifiers from assoc indexes) -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module (still broken however) -- fixed listTableIndexes() - -open todo items: -- primary key support is missing from createIndex() -- getTableFieldDefinition() in reverse module is broken EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_sqlite.xml?r1=1.10&r2=1.11&ty=u Index: pear/MDB2/package_sqlite.xml diff -u pear/MDB2/package_sqlite.xml:1.10 pear/MDB2/package_sqlite.xml:1.11 --- pear/MDB2/package_sqlite.xml:1.10 Sun Aug 14 04:34:38 2005 +++ pear/MDB2/package_sqlite.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> +<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.0a12"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_sqlite</name> <summary>sqlite MDB2 driver</summary> <description>This is the SQLite MDB2 driver. @@ -14,50 +14,88 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-06-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- support sorting order in createIndex() +- tweaked lob and text handling in mapNativeDatatype() +- fixed getTableFieldDefinition() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.0beta5" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.0.0beta6" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">sqlite</dep> </deps> <filelist> - <dir name="MDB2" baseinstalldir="/"> - <dir name="Driver"> - <dir name="Datatype"> + <dir name="/" baseinstalldir="/"> + <dir name="MDB2"> + <dir name="Driver"> + <dir name="Datatype"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> + <dir name="Manager"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Manager --> + <dir name="Native"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Native --> + <dir name="Reverse"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Reverse --> <file role="php" name="sqlite.php"> <replace type="package-info" from="@package_version@" to="version"/> </file> - </dir> <!-- /MDB2/Driver/Datatype --> - <dir name="Manager"> - <file role="php" name="sqlite.php"> - <replace type="package-info" from="@package_version@" to="version"/> - </file> - </dir> <!-- /MDB2/Driver/Manager --> - <dir name="Native"> - <file role="php" name="sqlite.php"> - <replace type="package-info" from="@package_version@" to="version"/> - </file> - </dir> <!-- /MDB2/Driver/Native --> - <dir name="Reverse"> - <file role="php" name="sqlite.php"> - <replace type="package-info" from="@package_version@" to="version"/> - </file> - </dir> <!-- /MDB2/Driver/Reverse --> - <file role="php" name="sqlite.php"> - <replace type="package-info" from="@package_version@" to="version"/> - </file> - </dir> <!-- /MDB2/Driver --> - </dir> <!-- /MDB2 --> + </dir> <!-- /MDB2/Driver --> + </dir> <!-- /MDB2 --> + <file role="php" name="package_sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- / --> </filelist> </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- support sorting order in createIndex() +- tweaked lob and text handling in mapNativeDatatype() +- fixed getTableFieldDefinition() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-06-10</date> <license>BSD License</license>
http://cvs.php.net/diff.php/pear/MDB2/package.php?r1=1.103&r2=1.104&ty=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.103 pear/MDB2/package.php:1.104 --- pear/MDB2/package.php:1.103 Mon Oct 10 06:03:13 2005 +++ pear/MDB2/package.php Sun Oct 16 05:41:09 2005 @@ -2,57 +2,21 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '2.0.0beta6'; +$version = '2.0.0beta7'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- moved logic from MDB2::connect() to MDB2::factory(), the only difference is - that MDB2::connect will immediatly try to connect to the database -- MDB2::singleton now uses MDB2::factory() -- added support for auto increment and primary key in schema. (mysql[i]) -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- nicer test chooser. Added some js magic to [un]select all the tests in a group -- fixed typo in _getTextDeclaration() -- fix PHP4.4 breakage -- ensure that types and result_types property in the statement class is an array (bug #4695) -- added support for fetchmode in the iterator class and for any other result wrapper class (bug #4685) -- moved getInsertID() into core as lastInsertID() -- moved getBeforeID() and getAfterID() from core into the extended module -- added base class for all modules (which provides getDBInstance()) -- added free() method to remove an instance from the global instance array -- removed schema manager related error codes from MDB2::errorMessage() -- dont set the include path in test suite (people can do that in test_setup.php) -- added missing default numRows() method -- added hack into stream_eof() to handle the BC break in 5.0.x -- removed uncessary duplicate quoting in quote() in the peardb wrapper (bug #5195) -- warning fix in BC hack of connect() in the peardb wrapper -- tweaked error message in setResultTypes() -- removed PDO compatibility code in bindParam and bindCol, now using 0-index numeric keys again -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- added new portability fetch mode MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES (to remove database/table qualifiers from assoc indexes) -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- ensure that fetchAll always returns an array() even if the result set was empty -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added default values for supported property -- reworked supports() to return the given value and also return errors for non existant support feature -- reworked subSelect() to use the 'emulated' supports() return value -- removed implementation of createIndex() (now every driver needs to implement it themselves) -- sync fileExists with the LiveUser one, explode instead of split and is_readable instead of file_exists. -- tweaked compare method family to better deal with optional properties +- added numerous testcases in the managre and reverse module +- unified case fixing in the list*() methods +- case-insensitive comparison in _isSequenceName() +- added getConnection() to fetch a native connection ressource +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- store if type has changed in compareDefinition() +- added new Funtion modules to handle difference in SQL functions open todo items: -- add test cases for the various module methods +- add test cases for the function module and autoincrement handling - add getServerVersion() EOT; http://cvs.php.net/diff.php/pear/MDB2/package.xml?r1=1.48&r2=1.49&ty=u Index: pear/MDB2/package.xml diff -u pear/MDB2/package.xml:1.48 pear/MDB2/package.xml:1.49 --- pear/MDB2/package.xml:1.48 Mon Oct 10 06:03:13 2005 +++ pear/MDB2/package.xml Sun Oct 16 05:41:09 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2</name> <summary>database abstraction layer</summary> <description>PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers. @@ -69,59 +69,23 @@ </maintainer> </maintainers> <release> - <version>2.0.0beta6</version> - <date>2005-10-10</date> + <version>2.0.0beta7</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- moved logic from MDB2::connect() to MDB2::factory(), the only difference is - that MDB2::connect will immediatly try to connect to the database -- MDB2::singleton now uses MDB2::factory() -- added support for auto increment and primary key in schema. (mysql[i]) -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- nicer test chooser. Added some js magic to [un]select all the tests in a group -- fixed typo in _getTextDeclaration() -- fix PHP4.4 breakage -- ensure that types and result_types property in the statement class is an array (bug #4695) -- added support for fetchmode in the iterator class and for any other result wrapper class (bug #4685) -- moved getInsertID() into core as lastInsertID() -- moved getBeforeID() and getAfterID() from core into the extended module -- added base class for all modules (which provides getDBInstance()) -- added free() method to remove an instance from the global instance array -- removed schema manager related error codes from MDB2::errorMessage() -- dont set the include path in test suite (people can do that in test_setup.php) -- added missing default numRows() method -- added hack into stream_eof() to handle the BC break in 5.0.x -- removed uncessary duplicate quoting in quote() in the peardb wrapper (bug #5195) -- warning fix in BC hack of connect() in the peardb wrapper -- tweaked error message in setResultTypes() -- removed PDO compatibility code in bindParam and bindCol, now using 0-index numeric keys again -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- added new portability fetch mode MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES (to remove database/table qualifiers from assoc indexes) -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- ensure that fetchAll always returns an array() even if the result set was empty -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added default values for supported property -- reworked supports() to return the given value and also return errors for non existant support feature -- reworked subSelect() to use the 'emulated' supports() return value -- removed implementation of createIndex() (now every driver needs to implement it themselves) -- sync fileExists with the LiveUser one, explode instead of split and is_readable instead of file_exists. -- tweaked compare method family to better deal with optional properties + <notes>- added numerous testcases in the managre and reverse module +- unified case fixing in the list*() methods +- case-insensitive comparison in _isSequenceName() +- added getConnection() to fetch a native connection ressource +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- store if type has changed in compareDefinition() +- added new Funtion modules to handle difference in SQL functions open todo items: -- add test cases for the various module methods +- add test cases for the function module and autoincrement handling - add getServerVersion() </notes> <deps> @@ -183,6 +147,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="Common.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="Common.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -282,8 +251,29 @@ </release> <changelog> <release> + <version>2.0.0beta7</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- added numerous testcases in the managre and reverse module +- unified case fixing in the list*() methods +- case-insensitive comparison in _isSequenceName() +- added getConnection() to fetch a native connection ressource +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- store if type has changed in compareDefinition() +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- add test cases for the function module and autoincrement handling +- add getServerVersion() + </notes> + </release> + <release> <version>2.0.0beta6</version> - <date>2005-10-10</date> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> <notes>Warning: this release features numerous BC breaks! http://cvs.php.net/diff.php/pear/MDB2/package_fbsql.php?r1=1.6&r2=1.7&ty=u Index: pear/MDB2/package_fbsql.php diff -u pear/MDB2/package_fbsql.php:1.6 pear/MDB2/package_fbsql.php:1.7 --- pear/MDB2/package_fbsql.php:1.6 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_fbsql.php Sun Oct 16 05:41:09 2005 @@ -2,31 +2,18 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions -There have been considerable improvements to the datatype, manager and reverse -modules. However this driver should be considered unmaintained and likely broken. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- ensure that instance is connected before using connection property in tableInfo() -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- ensure that instance is connected before using connection property in tableInfo() -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- moved max_text_length property into the fbsql datatype module -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled -- tweaked handling of notnull and default in field reverse engineering +open todo items: +- this driver needs a serious update as its currently unmaintained EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_fbsql.xml?r1=1.11&r2=1.12&ty=u Index: pear/MDB2/package_fbsql.xml diff -u pear/MDB2/package_fbsql.xml:1.11 pear/MDB2/package_fbsql.xml:1.12 --- pear/MDB2/package_fbsql.xml:1.11 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_fbsql.xml Sun Oct 16 05:41:09 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_fbsql</name> <summary>fbsql MDB2 driver</summary> <description>This is the Frontbase SQL MDB2 driver. @@ -20,33 +20,20 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>Warning: this release features numerous BC breaks! + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions -There have been considerable improvements to the datatype, manager and reverse -modules. However this driver should be considered unmaintained and likely broken. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- ensure that instance is connected before using connection property in tableInfo() -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- ensure that instance is connected before using connection property in tableInfo() -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- moved max_text_length property into the fbsql datatype module -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled -- tweaked handling of notnull and default in field reverse engineering +open todo items: +- this driver needs a serious update as its currently unmaintained </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -63,6 +50,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="fbsql.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="fbsql.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -91,6 +83,23 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- this driver needs a serious update as its currently unmaintained + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_ibase.php?r1=1.12&r2=1.13&ty=u Index: pear/MDB2/package_ibase.php diff -u pear/MDB2/package_ibase.php:1.12 pear/MDB2/package_ibase.php:1.13 --- pear/MDB2/package_ibase.php:1.12 Wed Oct 12 13:18:50 2005 +++ pear/MDB2/package_ibase.php Sun Oct 16 05:41:10 2005 @@ -2,16 +2,26 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.3'; +$version = '0.2.0'; $notes = <<<EOT -- added support for portability option in all the list*() methods of the Manager module -- when dropping a table, the autoincrement trigger is removed +- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- fixed mapNativeDatatype() - implemented getTableFieldDefinition() and getTableIndexDefinition() in the Reverse module - implemented listUsers() in the Manager module - +- unified case fixing in the list*() methods +- use custom implementation of getConnection() to access connection propery +- split index and contraint handling +- return "0" as default value for integer NOT NULL fields with no default value + (I'm not sure this is a good thing) +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- fixed type changing in alterTable() +- added new Funtion modules to handle difference in SQL functions open todo items: -- code to be able to list primary contraints inside dropIndex() +- code to hide primary contraints inside listTableIndexes() - handle autoincremement fields in alterTable() and dropTable() EOT; http://cvs.php.net/diff.php/pear/MDB2/package_ibase.xml?r1=1.16&r2=1.17&ty=u Index: pear/MDB2/package_ibase.xml diff -u pear/MDB2/package_ibase.xml:1.16 pear/MDB2/package_ibase.xml:1.17 --- pear/MDB2/package_ibase.xml:1.16 Mon Oct 10 14:53:44 2005 +++ pear/MDB2/package_ibase.xml Sun Oct 16 05:41:10 2005 @@ -20,41 +20,28 @@ </maintainer> </maintainers> <release> - <version>0.1.2</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- fixed several incorrect raiseError() calls in manager module -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- createIndex(): index_sorting is not a feature in the supported array, but is supported by interbase -- return 0 for manipulation queries when disable_query is enabled -- tweaked field changing in alterTable() -- getTypeDeclaration() in the datatype module is now a public method -- fixed alterTable() signature -- fixed listTableFields() -- added listTableIndexes() -- added listTables() + <notes>- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- fixed mapNativeDatatype() +- implemented getTableFieldDefinition() and getTableIndexDefinition() in the Reverse module +- implemented listUsers() in the Manager module +- unified case fixing in the list*() methods +- use custom implementation of getConnection() to access connection propery +- split index and contraint handling +- return "0" as default value for integer NOT NULL fields with no default value + (I'm not sure this is a good thing) +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- fixed type changing in alterTable() +- added new Funtion modules to handle difference in SQL functions open todo items: -- code to be able to list primary contraints inside listTableIndexes()/dropIndex() +- code to hide primary contraints inside listTableIndexes() - handle autoincremement fields in alterTable() and dropTable() </notes> <deps> @@ -72,6 +59,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="ibase.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="ibase.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -100,6 +92,32 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- fixed mapNativeDatatype() +- implemented getTableFieldDefinition() and getTableIndexDefinition() in the Reverse module +- implemented listUsers() in the Manager module +- unified case fixing in the list*() methods +- use custom implementation of getConnection() to access connection propery +- split index and contraint handling +- return "0" as default value for integer NOT NULL fields with no default value + (I'm not sure this is a good thing) +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- fixed type changing in alterTable() +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- code to hide primary contraints inside listTableIndexes() +- handle autoincremement fields in alterTable() and dropTable() + </notes> + </release> + <release> <version>0.1.2</version> <date>2005-10-10</date> <license>BSD License</license> @@ -143,8 +161,7 @@ <date>2005-06-08</date> <license>BSD License</license> <state>beta</state> - <notes> -- fixed LOB management and package dependencies + <notes>- fixed LOB management and package dependencies - fully tested </notes> </release> http://cvs.php.net/diff.php/pear/MDB2/package_mssql.php?r1=1.7&r2=1.8&ty=u Index: pear/MDB2/package_mssql.php diff -u pear/MDB2/package_mssql.php:1.7 pear/MDB2/package_mssql.php:1.8 --- pear/MDB2/package_mssql.php:1.7 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mssql.php Sun Oct 16 05:41:10 2005 @@ -2,38 +2,18 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- MDB2_MSSQL_Driver: fixed a bug about missing msg variable, - fixed problem with database creation (incorrect ON clause) -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix typo in error code mapping -- fixed problem with database creation (incorrect ON clause) -- fixed listTableIndexes() -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- MDB2_ERROR does not evaluate to false in _skipLimitOffset() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- fixed bug in nextID (bug #5507) -- fixed bug in sequence handling in the manager module (bug #5507) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled +- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: -- added missing createIndex() method +- added missing createIndex() and reverse module methods method EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_mssql.xml?r1=1.12&r2=1.13&ty=u Index: pear/MDB2/package_mssql.xml diff -u pear/MDB2/package_mssql.xml:1.12 pear/MDB2/package_mssql.xml:1.13 --- pear/MDB2/package_mssql.xml:1.12 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mssql.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_mssql</name> <summary>mssql MDB2 driver</summary> <description>This is the Microsoft SQL Server MDB2 driver. @@ -20,40 +20,20 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- MDB2_MSSQL_Driver: fixed a bug about missing msg variable, - fixed problem with database creation (incorrect ON clause) -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix typo in error code mapping -- fixed problem with database creation (incorrect ON clause) -- fixed listTableIndexes() -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- MDB2_ERROR does not evaluate to false in _skipLimitOffset() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- fixed bug in nextID (bug #5507) -- fixed bug in sequence handling in the manager module (bug #5507) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled + <notes>- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: -- added missing createIndex() method +- added missing createIndex() and reverse module methods method </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -70,6 +50,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="mssql.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="mssql.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -98,6 +83,23 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- added missing createIndex() and reverse module methods method + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_mysql.php?r1=1.7&r2=1.8&ty=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.7 pear/MDB2/package_mysql.php:1.8 --- pear/MDB2/package_mysql.php:1.7 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mysql.php Sun Oct 16 05:41:10 2005 @@ -2,36 +2,20 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- ensure that instance is connected before using connection property in tableInfo() -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- ensure that instance is connected before using connection property in tableInfo() -- removed support for dummy_primary_key -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- removed subSelect() implementation (now in already included in common) -- return 0 for manipulation queries when disable_query is enabled -- tweaked handling of notnull and default in field reverse engineering -- tweaked getTableFieldDefinition() in reverse module EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_mysql.xml?r1=1.9&r2=1.10&ty=u Index: pear/MDB2/package_mysql.xml diff -u pear/MDB2/package_mysql.xml:1.9 pear/MDB2/package_mysql.xml:1.10 --- pear/MDB2/package_mysql.xml:1.9 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_mysql.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_mysql</name> <summary>mysql MDB2 driver</summary> <description>This is the MySQL MDB2 driver. @@ -14,38 +14,21 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- ensure that instance is connected before using connection property in tableInfo() -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- ensure that instance is connected before using connection property in tableInfo() -- removed support for dummy_primary_key -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- removed subSelect() implementation (now in already included in common) -- return 0 for manipulation queries when disable_query is enabled -- tweaked handling of notnull and default in field reverse engineering -- tweaked getTableFieldDefinition() in reverse module + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -62,6 +45,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="mysql.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="mysql.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -90,8 +78,26 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions + </notes> + </release> + <release> <version>0.1.1</version> - <date>2005-10-10</date> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> <notes>Warning: this release features numerous BC breaks! http://cvs.php.net/diff.php/pear/MDB2/package_mysqli.php?r1=1.6&r2=1.7&ty=u Index: pear/MDB2/package_mysqli.php diff -u pear/MDB2/package_mysqli.php:1.6 pear/MDB2/package_mysqli.php:1.7 --- pear/MDB2/package_mysqli.php:1.6 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mysqli.php Sun Oct 16 05:41:10 2005 @@ -2,40 +2,22 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- removed support for dummy_primary_key -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- all non LOB values were quoted twice in execute() -- clobs only need to be mapped to binary when using mysqli_stmt_send_long_data() - which is handled independently -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- removed subSelect() implementation (now in already included in common) -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions open todo items: -- fixed LOB support +- fix LOB support EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_mysqli.xml?r1=1.11&r2=1.12&ty=u Index: pear/MDB2/package_mysqli.xml diff -u pear/MDB2/package_mysqli.xml:1.11 pear/MDB2/package_mysqli.xml:1.12 --- pear/MDB2/package_mysqli.xml:1.11 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_mysqli.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_mysqli</name> <summary>mysqli MDB2 driver</summary> <description>This is the MySQLi MDB2 driver. @@ -14,42 +14,24 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- added support for auto increment and primary key in schema. -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- removed support for dummy_primary_key -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- all non LOB values were quoted twice in execute() -- clobs only need to be mapped to binary when using mysqli_stmt_send_long_data() - which is handled independently -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- count() -> !empty() where possible -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- removed subSelect() implementation (now in already included in common) -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions open todo items: -- fixed LOB support +- fix LOB support </notes> <deps> <dep type="php" rel="ge" version="5.0.0" optional="no"/> @@ -66,6 +48,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="mysqli.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="mysqli.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -94,6 +81,27 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- fixed change and rename in alterTable() +- primary key must be called primary +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- hide contraints from indexes and vice versa in the list methods +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- fix LOB support + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_oci8.php?r1=1.7&r2=1.8&ty=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.7 pear/MDB2/package_oci8.php:1.8 --- pear/MDB2/package_oci8.php:1.7 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_oci8.php Sun Oct 16 05:41:10 2005 @@ -2,38 +2,24 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.2'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- fixed typo in unsigned integer declaration handling -- no need to close() the descriptor according to the docs (we do free() it though) -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added createIndex() -- return 0 for manipulation queries when disable_query is enabled -- tweaked field changing in alterTable() -- getTypeDeclaration() in the datatype module is now a public method +- added listTableIndexes() +- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- support portability option in listTableIndexes() +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: -- code to be able to list primary contraints inside listTableIndexes()/dropIndex() +- code to hide primary contraints inside listTableIndexes() - handle autoincremement fields in alterTable() and dropTable() -- using LOBs have a tendency to crash apache (even with the uptodate PECL oci8 ext) EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_oci8.xml?r1=1.13&r2=1.14&ty=u Index: pear/MDB2/package_oci8.xml diff -u pear/MDB2/package_oci8.xml:1.13 pear/MDB2/package_oci8.xml:1.14 --- pear/MDB2/package_oci8.xml:1.13 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_oci8.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_oci8</name> <summary>oci8 MDB2 driver</summary> <description>This is the Oracle OCI8 MDB2 driver. @@ -14,40 +14,26 @@ </maintainer> </maintainers> <release> - <version>0.1.2</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- fixed typo in unsigned integer declaration handling -- no need to close() the descriptor according to the docs (we do free() it though) -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- expect keys in type arrays the same way as they are passed for the values in execute() and bindParamArray() -- add s pattern modifier to preg_replace() call for parameter searches in prepare() (bug #5362) -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added createIndex() -- return 0 for manipulation queries when disable_query is enabled -- tweaked field changing in alterTable() -- getTypeDeclaration() in the datatype module is now a public method + <notes>- added listTableIndexes() +- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- support portability option in listTableIndexes() +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: -- code to be able to list primary contraints inside listTableIndexes()/dropIndex() +- code to hide primary contraints inside listTableIndexes() - handle autoincremement fields in alterTable() and dropTable() -- using LOBs have a tendency to crash apache (even with the uptodate PECL oci8 ext) </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -64,6 +50,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="oci8.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="oci8.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -92,6 +83,29 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- added listTableIndexes() +- fixed _dropAutoincrement() +- use _dropAutoincrement() in dropTable() +- support portability option in listTableIndexes() +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- code to hide primary contraints inside listTableIndexes() +- handle autoincremement fields in alterTable() and dropTable() + </notes> + </release> + <release> <version>0.1.2</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_pgsql.php?r1=1.6&r2=1.7&ty=u Index: pear/MDB2/package_pgsql.php diff -u pear/MDB2/package_pgsql.php:1.6 pear/MDB2/package_pgsql.php:1.7 --- pear/MDB2/package_pgsql.php:1.6 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_pgsql.php Sun Oct 16 05:41:10 2005 @@ -2,35 +2,19 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fixed typo in _getTextDeclaration() -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- improved error mapping (ported from DB) -- better detect if the query returned a result set or not in _doQuery() -- minor tweaks to LOB handling -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added createIndex() -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module -- added getTypeDeclaration() in the datatype module -- tweaked field changing in alterTable() -- fixed alterTable() signature +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- tweaked text handling in mapNativeDatatype() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- added support for table and column renaming as well as default and nullability + changing in alterTable() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: - implement native prepared queries http://cvs.php.net/diff.php/pear/MDB2/package_pgsql.xml?r1=1.12&r2=1.13&ty=u Index: pear/MDB2/package_pgsql.xml diff -u pear/MDB2/package_pgsql.xml:1.12 pear/MDB2/package_pgsql.xml:1.13 --- pear/MDB2/package_pgsql.xml:1.12 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_pgsql.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_pgsql</name> <summary>pgsql MDB2 driver</summary> <description>This is the PostGreSQL MDB2 driver. @@ -14,37 +14,21 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>Warning: this release features numerous BC breaks! - -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fixed typo in _getTextDeclaration() -- alterTable now needs the full definition to work (use getTableFieldDefinition - from Reverse module if you do not have a definition at hand) this eliminates the need - of the declaration part in the alterTable array. -- fix PHP4.4 breakage -- improved error mapping (ported from DB) -- better detect if the query returned a result set or not in _doQuery() -- minor tweaks to LOB handling -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- added createIndex() -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module -- added getTypeDeclaration() in the datatype module -- tweaked field changing in alterTable() -- fixed alterTable() signature + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- tweaked text handling in mapNativeDatatype() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- added support for table and column renaming as well as default and nullability + changing in alterTable() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions open todo items: - implement native prepared queries @@ -64,6 +48,11 @@ <replace type="package-info" from="@package_version@" to="version"/> </file> </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="pgsql.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> <dir name="Manager"> <file role="php" name="pgsql.php"> <replace type="package-info" from="@package_version@" to="version"/> @@ -92,6 +81,27 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- tweaked text handling in mapNativeDatatype() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- added support for table and column renaming as well as default and nullability + changing in alterTable() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + +open todo items: +- implement native prepared queries + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_querysim.php?r1=1.4&r2=1.5&ty=u Index: pear/MDB2/package_querysim.php diff -u pear/MDB2/package_querysim.php:1.4 pear/MDB2/package_querysim.php:1.5 --- pear/MDB2/package_querysim.php:1.4 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_querysim.php Sun Oct 16 05:41:10 2005 @@ -2,15 +2,11 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fix PHP4.4 breakage -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- return 0 for manipulation queries when disable_query is enabled +- use getConnection() to access connection propery +- setting in_transaction to false on disconnect + EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_querysim.xml?r1=1.9&r2=1.10&ty=u Index: pear/MDB2/package_querysim.xml diff -u pear/MDB2/package_querysim.xml:1.9 pear/MDB2/package_querysim.xml:1.10 --- pear/MDB2/package_querysim.xml:1.9 Mon Oct 10 05:45:32 2005 +++ pear/MDB2/package_querysim.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.1"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_querysim</name> <summary>querysim MDB2 driver</summary> <description>This is the Querysim MDB2 driver. @@ -14,17 +14,12 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-10-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>alpha</state> - <notes>- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fix PHP4.4 breakage -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- return 0 for manipulation queries when disable_query is enabled + <notes>- use getConnection() to access connection propery +- setting in_transaction to false on disconnect </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> @@ -53,6 +48,15 @@ </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>alpha</state> + <notes>- use getConnection() to access connection propery +- setting in_transaction to false on disconnect + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-10-10</date> <license>BSD License</license> http://cvs.php.net/diff.php/pear/MDB2/package_sqlite.php?r1=1.5&r2=1.6&ty=u Index: pear/MDB2/package_sqlite.php diff -u pear/MDB2/package_sqlite.php:1.5 pear/MDB2/package_sqlite.php:1.6 --- pear/MDB2/package_sqlite.php:1.5 Mon Oct 10 05:56:50 2005 +++ pear/MDB2/package_sqlite.php Sun Oct 16 05:41:10 2005 @@ -2,31 +2,20 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.1.1'; +$version = '0.2.0'; $notes = <<<EOT -Warning: this release features numerous BC breaks! +- do not fix case in listUsers() +- unified case fixing in the list*() methods +- support sorting order in createIndex() +- tweaked lob and text handling in mapNativeDatatype() +- fixed getTableFieldDefinition() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions -There have been considerable improvements to the datatype, manager and reverse -modules. Furthermore preliminary support for auto increment and primary keys -has been added. Please note that making a field auto increment implies a single -column primary key on this field. - -- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 -- fix PHP4.4 breakage -- moved getInsertID() into core as lastInsertID() -- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set -- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons -- added new portability fetch mode MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES (to remove database/table qualifiers from assoc indexes) -- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER) -- use array_key_exists() instead of isset() where possible -- changed structure of field add/remove/change in alterTable() to match MDB2_Schema -- return 0 for manipulation queries when disable_query is enabled -- tweaked getTableFieldDefinition() in reverse module (still broken however) -- fixed listTableIndexes() - -open todo items: -- primary key support is missing from createIndex() -- getTableFieldDefinition() in reverse module is broken EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/diff.php/pear/MDB2/package_sqlite.xml?r1=1.10&r2=1.11&ty=u Index: pear/MDB2/package_sqlite.xml diff -u pear/MDB2/package_sqlite.xml:1.10 pear/MDB2/package_sqlite.xml:1.11 --- pear/MDB2/package_sqlite.xml:1.10 Sun Aug 14 04:34:38 2005 +++ pear/MDB2/package_sqlite.xml Sun Oct 16 05:41:10 2005 @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> +<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.0a12"> +<package version="1.0" packagerversion="1.4.2"> <name>MDB2_Driver_sqlite</name> <summary>sqlite MDB2 driver</summary> <description>This is the SQLite MDB2 driver. @@ -14,50 +14,88 @@ </maintainer> </maintainers> <release> - <version>0.1.1</version> - <date>2005-06-10</date> + <version>0.2.0</version> + <date>2005-10-16</date> <license>BSD License</license> <state>beta</state> - <notes>- increased php dependency to 4.3.0 due to the usage of the streams API since beta5 + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- support sorting order in createIndex() +- tweaked lob and text handling in mapNativeDatatype() +- fixed getTableFieldDefinition() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.0beta5" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.0.0beta6" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">sqlite</dep> </deps> <filelist> - <dir name="MDB2" baseinstalldir="/"> - <dir name="Driver"> - <dir name="Datatype"> + <dir name="/" baseinstalldir="/"> + <dir name="MDB2"> + <dir name="Driver"> + <dir name="Datatype"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Datatype --> + <dir name="Function"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Function --> + <dir name="Manager"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Manager --> + <dir name="Native"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Native --> + <dir name="Reverse"> + <file role="php" name="sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- /MDB2/Driver/Reverse --> <file role="php" name="sqlite.php"> <replace type="package-info" from="@package_version@" to="version"/> </file> - </dir> <!-- /MDB2/Driver/Datatype --> - <dir name="Manager"> - <file role="php" name="sqlite.php"> - <replace type="package-info" from="@package_version@" to="version"/> - </file> - </dir> <!-- /MDB2/Driver/Manager --> - <dir name="Native"> - <file role="php" name="sqlite.php"> - <replace type="package-info" from="@package_version@" to="version"/> - </file> - </dir> <!-- /MDB2/Driver/Native --> - <dir name="Reverse"> - <file role="php" name="sqlite.php"> - <replace type="package-info" from="@package_version@" to="version"/> - </file> - </dir> <!-- /MDB2/Driver/Reverse --> - <file role="php" name="sqlite.php"> - <replace type="package-info" from="@package_version@" to="version"/> - </file> - </dir> <!-- /MDB2/Driver --> - </dir> <!-- /MDB2 --> + </dir> <!-- /MDB2/Driver --> + </dir> <!-- /MDB2 --> + <file role="php" name="package_sqlite.php"> + <replace type="package-info" from="@package_version@" to="version"/> + </file> + </dir> <!-- / --> </filelist> </release> <changelog> <release> + <version>0.2.0</version> + <date>2005-10-16</date> + <license>BSD License</license> + <state>beta</state> + <notes>- do not fix case in listUsers() +- unified case fixing in the list*() methods +- support sorting order in createIndex() +- tweaked lob and text handling in mapNativeDatatype() +- fixed getTableFieldDefinition() +- use getConnection() to access connection propery +- split index and contraint handling +- quote identifiers +- refactored get*Declaration() methods to use getTypeDeclaration() +- setting in_transaction to false on disconnect +- added new Funtion modules to handle difference in SQL functions + </notes> + </release> + <release> <version>0.1.1</version> <date>2005-06-10</date> <license>BSD License</license>