cvs: pear /Log package.php package.xml /Log/Log win.php /Log/tests win-ob.phpt win.phpt
| From: | Jon Parise | Date: | Mon, 30 Mar 2009 00:49:31 +0000 |
| Subject: | cvs: pear /Log package.php package.xml /Log/Log win.php /Log/tests win-ob.phpt win.phpt | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-55872@lists.php.net to get a copy of this message | ||
jon Mon Mar 30 00:49:31 2009 UTC
Modified files:
/pear/Log package.php package.xml
/pear/Log/Log win.php
/pear/Log/tests win-ob.phpt win.phpt
Log:
The window handler will now scroll to the bottom when clicked.
Submitted by: Kevin Wood
http://cvs.php.net/viewvc.cgi/pear/Log/package.php?r1=1.81&r2=1.82&diff_format=u
Index: pear/Log/package.php
diff -u pear/Log/package.php:1.81 pear/Log/package.php:1.82
--- pear/Log/package.php:1.81 Mon Dec 29 01:27:55 2008
+++ pear/Log/package.php Mon Mar 30 00:49:30 2009
@@ -10,6 +10,7 @@
$version = '1.11.4';
$notes = <<<EOT
- The window handler now works when output buffering is enabled. (Bug 15379)
+- The window handler will now scroll to the bottom when clicked. (Kevin Wood)
EOT;
$package = new PEAR_PackageFileManager2();
http://cvs.php.net/viewvc.cgi/pear/Log/package.xml?r1=1.147&r2=1.148&diff_format=u
Index: pear/Log/package.xml
diff -u pear/Log/package.xml:1.147 pear/Log/package.xml:1.148
--- pear/Log/package.xml:1.147 Wed Nov 19 05:19:04 2008
+++ pear/Log/package.xml Mon Mar 30 00:49:30 2009
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<package packagerversion="1.7.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
- http://pear.php.net/dtd/tasks-1.0.xsd
- http://pear.php.net/dtd/package-2.0
+<package packagerversion="1.7.2" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
+ http://pear.php.net/dtd/tasks-1.0.xsd
+ http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>Log</name>
<channel>pear.php.net</channel>
@@ -25,10 +25,10 @@
<email>jan@horde.org</email>
<active>yes</active>
</lead>
- <date>2008-11-18</date>
- <time>21:17:43</time>
+ <date>2009-03-29</date>
+ <time>17:48:52</time>
<version>
- <release>1.11.3</release>
+ <release>1.11.4</release>
<api>1.0.0</api>
</version>
<stability>
@@ -36,10 +36,8 @@
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT
License</license>
- <notes>- It is now possible to configure the error_log handler's line and timestamp
formats. (Bug #14655)
-- Added _extractMessage() support for non-scalar array('message' => ...)
values.
-- Spaces in 'win' handler window names are now replaced with underscores.
-- Added a class name format token: %8$s</notes>
+ <notes>- The window handler now works when output buffering is enabled. (Bug 15379)
+- The window handler will now scroll to the bottom when clicked. (Kevin Wood)</notes>
<contents>
<dir baseinstalldir="/" name="/">
<dir name="docs">
@@ -97,11 +95,14 @@
<file name="firebug.phpt" role="test" />
<file name="format.phpt" role="test" />
<file name="levels.phpt" role="test" />
+ <file name="masks.phpt" role="test" />
<file name="null.phpt" role="test" />
<file name="priority.phpt" role="test" />
<file name="singleton.phpt" role="test" />
<file name="sqlite.phpt" role="test" />
<file name="sql_ident.phpt" role="test" />
+ <file name="win-ob.phpt" role="test" />
+ <file name="win.phpt" role="test" />
</dir> <!-- /tests -->
<file name="Log.php" role="php" />
</dir> <!-- / -->
@@ -139,6 +140,20 @@
<changelog>
<release>
<version>
+ <release>1.11.4</release>
+ <api>1.0.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <date>2009-03-29</date>
+ <license uri="http://www.opensource.org/licenses/mit-license.php">MIT
License</license>
+ <notes>- The window handler now works when output buffering is enabled. (Bug 15379)
+- The window handler will now scroll to the bottom when clicked. (Kevin Wood)</notes>
+ </release>
+ <release>
+ <version>
<release>1.11.3</release>
<api>1.0.0</api>
</version>
http://cvs.php.net/viewvc.cgi/pear/Log/Log/win.php?r1=1.22&r2=1.23&diff_format=u
Index: pear/Log/Log/win.php
diff -u pear/Log/Log/win.php:1.22 pear/Log/Log/win.php:1.23
--- pear/Log/Log/win.php:1.22 Mon Dec 29 01:27:56 2008
+++ pear/Log/Log/win.php Mon Mar 30 00:49:30 2009
@@ -1,8 +1,8 @@
<?php
/**
- * $Header: /repository/pear/Log/Log/win.php,v 1.22 2008/12/29 01:27:56 jon Exp $
+ * $Header: /repository/pear/Log/Log/win.php,v 1.23 2009/03/30 00:49:30 jon Exp $
*
- * @version $Revision: 1.22 $
+ * @version $Revision: 1.23 $
* @package Log
*/
@@ -143,8 +143,14 @@
$win.document.writeln('td.l6 { $styles[6] }');
$win.document.writeln('td.l7 { $styles[7] }');
$win.document.writeln('</style>');
+$win.document.writeln('<script type="text/javascript">');
+$win.document.writeln('function scroll() {');
+$win.document.writeln(' body = document.getElementById("{$this->_name}");');
+$win.document.writeln(' body.scrollTop = body.scrollHeight;');
+$win.document.writeln('}');
+$win.document.writeln('<\/script>');
$win.document.writeln('</head>');
-$win.document.writeln('<body>');
+$win.document.writeln('<body id="{$this->_name}"
onclick="scroll()">');
$win.document.writeln('<table border="0" cellpadding="2"
cellspacing="0">');
$win.document.writeln('<tr><th>Time</th>');
$identHeader
http://cvs.php.net/viewvc.cgi/pear/Log/tests/win-ob.phpt?r1=1.1&r2=1.2&diff_format=u
Index: pear/Log/tests/win-ob.phpt
diff -u pear/Log/tests/win-ob.phpt:1.1 pear/Log/tests/win-ob.phpt:1.2
--- pear/Log/tests/win-ob.phpt:1.1 Mon Dec 29 01:27:56 2008
+++ pear/Log/tests/win-ob.phpt Mon Mar 30 00:49:31 2009
@@ -35,8 +35,14 @@
test.document.writeln('td.l6 { color: violet; }');
test.document.writeln('td.l7 { color: black; }');
test.document.writeln('</style>');
+test.document.writeln('<script type="text/javascript">');
+test.document.writeln('function scroll() {');
+test.document.writeln(' body = document.getElementById("test");');
+test.document.writeln(' body.scrollTop = body.scrollHeight;');
+test.document.writeln('}');
+test.document.writeln('<\/script>');
test.document.writeln('</head>');
-test.document.writeln('<body>');
+test.document.writeln('<body id="test" onclick="scroll()">');
test.document.writeln('<table border="0" cellpadding="2"
cellspacing="0">');
test.document.writeln('<tr><th>Time</th>');
test.document.writeln('<th>Ident</th>')
http://cvs.php.net/viewvc.cgi/pear/Log/tests/win.phpt?r1=1.2&r2=1.3&diff_format=u
Index: pear/Log/tests/win.phpt
diff -u pear/Log/tests/win.phpt:1.2 pear/Log/tests/win.phpt:1.3
--- pear/Log/tests/win.phpt:1.2 Mon Dec 29 01:10:20 2008
+++ pear/Log/tests/win.phpt Mon Mar 30 00:49:31 2009
@@ -33,8 +33,14 @@
test.document.writeln('td.l6 { color: violet; }');
test.document.writeln('td.l7 { color: black; }');
test.document.writeln('</style>');
+test.document.writeln('<script type="text/javascript">');
+test.document.writeln('function scroll() {');
+test.document.writeln(' body = document.getElementById("test");');
+test.document.writeln(' body.scrollTop = body.scrollHeight;');
+test.document.writeln('}');
+test.document.writeln('<\/script>');
test.document.writeln('</head>');
-test.document.writeln('<body>');
+test.document.writeln('<body id="test" onclick="scroll()">');
test.document.writeln('<table border="0" cellpadding="2"
cellspacing="0">');
test.document.writeln('<tr><th>Time</th>');
test.document.writeln('<th>Ident</th>')