Date: Wed Aug 15 20:24:00 CEST 2007
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Use a class for all generated tables.
Modified files:
xdebug/xdebug.c (version: 1.406)
xdebug/xdebug_superglobals.c (version: 1.26)
xdebug/tests/stacktrace_html_0.phpt (version: 1.3)
xdebug/tests/stacktrace_html_1.phpt (version: 1.3)
xdebug/tests/stacktrace_html_2.phpt (version: 1.3)
xdebug/tests/stacktrace_html_3.phpt (version: 1.3)
xdebug/tests/stacktrace_html_4.phpt (version: 1.3)
xdebug/tests/stacktrace_html_4_novar.phpt (version: 1.3)
xdebug/tests/trace2.phpt (version: 1.3)
[FILE: /xdebug/xdebug.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.405
retrieving revision 1.406
diff -u -r1.405 -r1.406
--- xdebug/xdebug.c:1.405 Wed Aug 15 12:03:58 2007 GMT
+++ xdebug/xdebug.c Wed Aug 15 16:24:00 2007 GMT
@@ -1634,7 +1634,7 @@
};
static char* html_formats[12] = {
- "<br />\n<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>\n",
+ "<br />\n<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>\n",
"<tr><th align='left' bgcolor='#f57900' colspan=\"5\"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> %s: %s in %s on line <i>%d</i></th></tr>\n",
#if HAVE_PHP_MEMORY_USAGE
"<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>\n<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>\n",
@@ -2881,7 +2881,7 @@
xdfree(str_time);
}
if (XG(trace_format) == 2) {
- fprintf(XG(trace_file), "<table dir='ltr' class='xdebug-trace' border='1' cellspacing='0'>\n");
+ fprintf(XG(trace_file), "<table class='xdebug-trace' dir='ltr' border='1' cellspacing='0'>\n");
fprintf(XG(trace_file), "\t<tr><th>#</th><th>Time</th>");
#if MEMORY_LIMIT
fprintf(XG(trace_file), "<th>Mem</th>");
[FILE: /xdebug/xdebug_superglobals.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- xdebug/xdebug_superglobals.c:1.25 Mon Aug 06 17:35:41 2007 GMT
+++ xdebug/xdebug_superglobals.c Wed Aug 15 16:24:00 2007 GMT
@@ -197,7 +197,7 @@
char *superglobal_info = NULL;
if (html) {
- php_printf("<table dir='ltr' border='1' cellspacing='0'>\n");
+ php_printf("<table class='xdebug-superglobals' dir='ltr' border='1' cellspacing='0'>\n");
}
superglobal_info = xdebug_get_printable_superglobals(html TSRMLS_CC);
[FILE: /xdebug/tests/stacktrace_html_0.phpt]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/tests/stacktrace_html_0.phpt:1.2 Mon Aug 13 04:51:20 2007 GMT
+++ xdebug/tests/stacktrace_html_0.phpt Wed Aug 15 16:24:00 2007 GMT
@@ -31,7 +31,7 @@
?>
--EXPECTF--
<br />
-<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>
+<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to undefined function poo() in /%s/stacktrace_html_0.php on line <i>4</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
[FILE: /xdebug/tests/stacktrace_html_1.phpt]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/tests/stacktrace_html_1.phpt:1.2 Mon Aug 13 04:51:20 2007 GMT
+++ xdebug/tests/stacktrace_html_1.phpt Wed Aug 15 16:24:00 2007 GMT
@@ -31,7 +31,7 @@
?>
--EXPECTF--
<br />
-<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>
+<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to undefined function poo() in /%s/stacktrace_html_1.php on line <i>4</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
[FILE: /xdebug/tests/stacktrace_html_2.phpt]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/tests/stacktrace_html_2.phpt:1.2 Mon Aug 13 04:51:20 2007 GMT
+++ xdebug/tests/stacktrace_html_2.phpt Wed Aug 15 16:24:00 2007 GMT
@@ -34,7 +34,7 @@
?>
--EXPECTF--
<br />
-<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>
+<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to undefined function poo() in /%s/stacktrace_html_2.php on line <i>4</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
[FILE: /xdebug/tests/stacktrace_html_3.phpt]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/tests/stacktrace_html_3.phpt:1.2 Mon Aug 13 04:51:20 2007 GMT
+++ xdebug/tests/stacktrace_html_3.phpt Wed Aug 15 16:24:00 2007 GMT
@@ -34,7 +34,7 @@
?>
--EXPECTF--
<br />
-<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>
+<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to undefined function poo() in /%s/stacktrace_html_3.php on line <i>4</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
[FILE: /xdebug/tests/stacktrace_html_4.phpt]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/tests/stacktrace_html_4.phpt:1.2 Mon Aug 13 04:51:20 2007 GMT
+++ xdebug/tests/stacktrace_html_4.phpt Wed Aug 15 16:24:00 2007 GMT
@@ -34,7 +34,7 @@
?>
--EXPECTF--
<br />
-<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>
+<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to undefined function poo() in /%s/stacktrace_html_4.php on line <i>4</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
[FILE: /xdebug/tests/stacktrace_html_4_novar.phpt]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/tests/stacktrace_html_4_novar.phpt:1.2 Mon Aug 13 04:51:20 2007 GMT
+++ xdebug/tests/stacktrace_html_4_novar.phpt Wed Aug 15 16:24:00 2007 GMT
@@ -34,7 +34,7 @@
?>
--EXPECTF--
<br />
-<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>
+<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to undefined function poo() in /%s/stacktrace_html_4_novar.php on line <i>4</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
[FILE: /xdebug/tests/trace2.phpt]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/tests/trace2.phpt:1.2 Mon Aug 13 04:51:20 2007 GMT
+++ xdebug/tests/trace2.phpt Wed Aug 15 16:24:00 2007 GMT
@@ -39,7 +39,7 @@
unlink($tf);
?>
--EXPECTF--
-<table dir='ltr' class='xdebug-trace' border='1' cellspacing='0'>
+<table class='xdebug-trace' dir='ltr' border='1' cellspacing='0'>
<tr><th>#</th><th>Time</th><th colspan='2'>Function</th><th>Location</th></tr>
<tr><td>3</td><td>%f</td><td align='left'> -></td><td>fibonacci_cache()</td><td>%strace2.php:22</td></tr>
<tr><td>4</td><td>%f</td><td align='left'> -></td><td>fibonacci_cache()</td><td>%strace2.php:16</td></tr>
Received on Wed Aug 15 2007 - 20:24:46 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST