cvs: pear /Translation2 package.xml /Translation2/Container db.php mdb.php mdb2.php
| From: | Lorenzo Alberton | Date: | Mon, 09 Oct 2006 15:23:48 +0000 |
| Subject: | cvs: pear /Translation2 package.xml /Translation2/Container db.php mdb.php mdb2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-42466@lists.php.net to get a copy of this message | ||
quipo Mon Oct 9 15:23:48 2006 UTC
Modified files:
/pear/Translation2/Container db.php mdb.php mdb2.php
/pear/Translation2 package.xml
Log:
fixed bug #8915, fetchLangs() and Oracle compatibility
http://cvs.php.net/viewvc.cgi/pear/Translation2/Container/db.php?r1=1.31&r2=1.32&diff_format=u
Index: pear/Translation2/Container/db.php
diff -u pear/Translation2/Container/db.php:1.31 pear/Translation2/Container/db.php:1.32
--- pear/Translation2/Container/db.php:1.31 Tue Aug 29 10:01:44 2006
+++ pear/Translation2/Container/db.php Mon Oct 9 15:23:48 2006
@@ -33,7 +33,7 @@
* @author Ian Eure <ieure at php dot net>
* @copyright 2004-2005 Lorenzo Alberton, Ian Eure
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: db.php,v 1.31 2006/08/29 10:01:44 quipo Exp $
+ * @version CVS: $Id: db.php,v 1.32 2006/10/09 15:23:48 quipo Exp $
* @link http://pear.php.net/package/Translation2
*/
@@ -54,7 +54,7 @@
* @author Ian Eure <ieure at php dot net>
* @copyright 2004-2005 Lorenzo Alberton, Ian Eure
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: db.php,v 1.31 2006/08/29 10:01:44 quipo Exp $
+ * @version CVS: $Id: db.php,v 1.32 2006/10/09 15:23:48 quipo Exp $
* @link http://pear.php.net/package/Translation2
*/
class Translation2_Container_db extends Translation2_Container
@@ -174,6 +174,7 @@
return $res;
}
foreach ($res as $row) {
+ $row = array_change_key_case($row, CASE_LOWER);
$this->langs[$row['id']] = $row;
}
}
http://cvs.php.net/viewvc.cgi/pear/Translation2/Container/mdb.php?r1=1.25&r2=1.26&diff_format=u
Index: pear/Translation2/Container/mdb.php
diff -u pear/Translation2/Container/mdb.php:1.25 pear/Translation2/Container/mdb.php:1.26
--- pear/Translation2/Container/mdb.php:1.25 Tue Aug 29 10:01:44 2006
+++ pear/Translation2/Container/mdb.php Mon Oct 9 15:23:48 2006
@@ -32,7 +32,7 @@
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2004-2005 Lorenzo Alberton
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: mdb.php,v 1.25 2006/08/29 10:01:44 quipo Exp $
+ * @version CVS: $Id: mdb.php,v 1.26 2006/10/09 15:23:48 quipo Exp $
* @link http://pear.php.net/package/Translation2
*/
@@ -52,7 +52,7 @@
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2004-2005 Lorenzo Alberton
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: mdb.php,v 1.25 2006/08/29 10:01:44 quipo Exp $
+ * @version CVS: $Id: mdb.php,v 1.26 2006/10/09 15:23:48 quipo Exp $
* @link http://pear.php.net/package/Translation2
*/
class Translation2_Container_mdb extends Translation2_Container
@@ -172,6 +172,7 @@
return $res;
}
foreach ($res as $row) {
+ $row = array_change_key_case($row, CASE_LOWER);
$this->langs[$row['id']] = $row;
}
}
http://cvs.php.net/viewvc.cgi/pear/Translation2/Container/mdb2.php?r1=1.23&r2=1.24&diff_format=u
Index: pear/Translation2/Container/mdb2.php
diff -u pear/Translation2/Container/mdb2.php:1.23 pear/Translation2/Container/mdb2.php:1.24
--- pear/Translation2/Container/mdb2.php:1.23 Tue Sep 19 10:34:17 2006
+++ pear/Translation2/Container/mdb2.php Mon Oct 9 15:23:48 2006
@@ -32,7 +32,7 @@
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2004-2005 Lorenzo Alberton
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: mdb2.php,v 1.23 2006/09/19 10:34:17 quipo Exp $
+ * @version CVS: $Id: mdb2.php,v 1.24 2006/10/09 15:23:48 quipo Exp $
* @link http://pear.php.net/package/Translation2
*/
@@ -52,7 +52,7 @@
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2004-2005 Lorenzo Alberton
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: mdb2.php,v 1.23 2006/09/19 10:34:17 quipo Exp $
+ * @version CVS: $Id: mdb2.php,v 1.24 2006/10/09 15:23:48 quipo Exp $
* @link http://pear.php.net/package/Translation2
*/
class Translation2_Container_mdb2 extends Translation2_Container
@@ -171,6 +171,7 @@
return $res;
}
foreach ($res as $row) {
+ $row = array_change_key_case($row, CASE_LOWER);
$this->langs[$row['id']] = $row;
}
}
http://cvs.php.net/viewvc.cgi/pear/Translation2/package.xml?r1=1.95&r2=1.96&diff_format=u
Index: pear/Translation2/package.xml
diff -u pear/Translation2/package.xml:1.95 pear/Translation2/package.xml:1.96
--- pear/Translation2/package.xml:1.95 Wed Sep 27 10:27:37 2006
+++ pear/Translation2/package.xml Mon Oct 9 15:23:48 2006
@@ -44,11 +44,15 @@
</maintainer>
</maintainers>
<release>
- <version>2.0.0beta13</version>
- <date>2006-09-27</date>
+ <version>2.0.0beta12</version>
+ <date>2006-10-09</date>
<license>BSD License</license>
<state>beta</state>
<notes>
+- force MDB2_FETCHMODE_ORDERED in Translation2_Container_mdb2::getPage() to
+ avoid error when using an existing db connection with fetchmode set to
+ MDB2_FETCHMODE_ASSOC (bug #8734)
+- force lowercase keys in fetchLang() for Oracle compatibility (bug #8915)
- added defaultGroup to cache_lite options
- added new $options optional parameter to addLang() to set charset/collate info
(MDB2 driver only)
@@ -150,25 +154,18 @@
</release>
<changelog>
<release>
- <version>2.0.0beta13</version>
- <date>2006-09-27</date>
- <license>BSD License</license>
- <state>beta</state>
- <notes>
-- added defaultGroup to cache_lite options
-- added new $options optional parameter to addLang() to set charset/collate info
- (MDB2 driver only)
- </notes>
- </release>
- <release>
<version>2.0.0beta12</version>
- <date>2006-09-19</date>
+ <date>2006-10-09</date>
<license>BSD License</license>
<state>beta</state>
<notes>
- force MDB2_FETCHMODE_ORDERED in Translation2_Container_mdb2::getPage() to
avoid error when using an existing db connection with fetchmode set to
MDB2_FETCHMODE_ASSOC (bug #8734)
+- force lowercase keys in fetchLang() for Oracle compatibility (bug #8915)
+- added defaultGroup to cache_lite options
+- added new $options optional parameter to addLang() to set charset/collate info
+ (MDB2 driver only)
</notes>
</release>
<release>