|
|
Subject: DTD Incorrect? - msg#00114
List: php.pear.core
Hey PEARs,
Looking at the current DTD, there is no mention of the "platform"
attribute used in the PEAR installer (to install the .bat on win32
only). I can supply a patch for the DTD later today...
A patch has been supplied (by Klaus I believe) to allow for
platform="!windows" which should be applied also to stop the *nix
scripts installing on windows.
- Davey
--
PEAR QA Mailing List ( http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
cvs: pearweb /include/pepr pepr.php
mj Thu Jul 22 05:37:35 2004 EDT
Modified files:
/pearweb/include/pepr pepr.php
Log:
* pear-format-html.php is needed, because the function user_link() is used.
http://cvs.php.net/diff.php/pearweb/include/pepr/pepr.php?r1=1.38&r2=1.39&ty=u
Index: pearweb/include/pepr/pepr.php
diff -u pearweb/include/pepr/pepr.php:1.38 pearweb/include/pepr/pepr.php:1.39
--- pearweb/include/pepr/pepr.php:1.38 Wed Jul 21 11:45:51 2004
+++ pearweb/include/pepr/pepr.php Thu Jul 22 05:37:35 2004
@@ -22,7 +22,7 @@
* @author Daniel Convissor <danielc@xxxxxxx>
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License
- * @version $Id: pepr.php,v 1.38 2004/07/21 15:45:51 danielc Exp $
+ * @version $Id: pepr.php,v 1.39 2004/07/22 09:37:35 mj Exp $
*/
/**#@+
@@ -31,6 +31,7 @@
require_once 'Damblan/Karma.php';
require_once 'HTML/QuickForm.php';
require_once 'Mail.php';
+require_once 'pear-format-html.php';
/**#@-*/
--
PEAR Core List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Next Message by Date:
click to view message preview
cvs: pearweb /include/pepr pepr.php
danielc Thu Jul 22 09:43:55 2004 EDT
Modified files:
/pearweb/include/pepr pepr.php
Log:
* Improve error handling in proposal::store().
http://cvs.php.net/diff.php/pearweb/include/pepr/pepr.php?r1=1.39&r2=1.40&ty=u
Index: pearweb/include/pepr/pepr.php
diff -u pearweb/include/pepr/pepr.php:1.39 pearweb/include/pepr/pepr.php:1.40
--- pearweb/include/pepr/pepr.php:1.39 Thu Jul 22 05:37:35 2004
+++ pearweb/include/pepr/pepr.php Thu Jul 22 09:43:55 2004
@@ -22,7 +22,7 @@
* @author Daniel Convissor <danielc@xxxxxxx>
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License
- * @version $Id: pepr.php,v 1.39 2004/07/22 09:37:35 mj Exp $
+ * @version $Id: pepr.php,v 1.40 2004/07/22 13:43:55 danielc Exp $
*/
/**#@+
@@ -248,9 +248,12 @@
if (DB::isError($res)) {
if ($res->getCode() == DB_ERROR_CONSTRAINT) {
return PEAR::raiseError('A proposal with that Catetory -'
- . ' Name combination already exists.');
+ . ' Name combination already exists.',
+ $res->getCode(), null, null, $res->getUserInfo());
} else {
- return $res;
+ return PEAR::raiseError($res->getMessage(),
+ $res->getCode(), null, null,
+ $res->getUserInfo());
}
}
} else {
@@ -271,9 +274,12 @@
if (DB::isError($res)) {
if ($res->getCode() == DB_ERROR_CONSTRAINT) {
return PEAR::raiseError('A proposal with that Catetory -'
- . ' Name combination already exists.');
+ . ' Name combination already exists.',
+ $res->getCode(), null, null, $res->getUserInfo());
} else {
- return $res;
+ return PEAR::raiseError($res->getMessage(),
+ $res->getCode(), null, null,
+ $res->getUserInfo());
}
}
$this->id = mysql_insert_id($dbh->connection);
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Previous Message by Thread:
click to view message preview
toString
Hi,
I dont know if this was been addressed in some branch or whatever. But
the __toString() method in PEAR_Error in the last release is called
toString() which makes PEAR_ErrorStack a bit unhappy.
regards,
Lukas Smith
smith@xxxxxxxxxxxxxxxx
_______________________________
BackendMedia
www.backendmedia.com
berlin@xxxxxxxxxxxxxxxx
Linn Zwoch Smith GbR
Pariser Str. 44
D-10707 Berlin
Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07
--
PEAR Core List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Next Message by Thread:
click to view message preview
Re: DTD Incorrect?
On Thu Jul 22, 2004 at 08:3804AM -0400, Davey wrote:
> Looking at the current DTD, there is no mention of the "platform"
> attribute used in the PEAR installer (to install the .bat on win32
> only). I can supply a patch for the DTD later today...
Aside from the currently "official" version 1.0 of the DTD there is
another more recent version available at
http://pear.php.net/dtd/package-1.1
which also includes the platform attribute. Tomas started working on
this new version many months ago; perhaps he can give us a clue on the
status.
--
- Martin Martin Jansen
http://martinjansen.com/
--
PEAR Core List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|
|