From 8fe80ee8859ff3b4dfcf220cf0cfb271dd7ea261 Mon Sep 17 00:00:00 2001 From: Patrick Dreyer Date: Thu, 13 Aug 2015 19:13:51 +0200 Subject: [PATCH 1/6] Preserve line breaks StdOut, StdErr and StackTrace line breaks have been normalized and thus concatenated with only a space between. Now the line breaks are preserved properly and makes the output much more readable --- TrxerConsole/Trxer.xslt | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/TrxerConsole/Trxer.xslt b/TrxerConsole/Trxer.xslt index 1ada859..0f865ba 100644 --- a/TrxerConsole/Trxer.xslt +++ b/TrxerConsole/Trxer.xslt @@ -490,7 +490,10 @@ - + + + + @@ -538,7 +541,10 @@ - + + + + @@ -548,8 +554,10 @@
- - + + + +
@@ -564,5 +572,22 @@ + + + + + + + +
+ + + +
+ + + +
+
From fd3f71c93bfefde3c8e722ef0dea52f59fa26fe6 Mon Sep 17 00:00:00 2001 From: Patrick Dreyer Date: Fri, 14 Aug 2015 13:35:27 +0200 Subject: [PATCH 2/6] Collabse StdOut, StdErr and StackTrace by default Move StdOut, StdErr and StackTrace into their own rows and have em collapsible/expandable Use toggle button instead link --- TrxerConsole/Trxer.xslt | 90 +++++++++++++++++++++++++---------------- 1 file changed, 56 insertions(+), 34 deletions(-) diff --git a/TrxerConsole/Trxer.xslt b/TrxerConsole/Trxer.xslt index 0f865ba..04c57c0 100644 --- a/TrxerConsole/Trxer.xslt +++ b/TrxerConsole/Trxer.xslt @@ -481,7 +481,45 @@ - + + + +
+ + + + + + + +
+ + + + +
+ + + + + +
+ + + + + + + +
+ + + + +
+ + +
@@ -525,51 +563,35 @@
- - - - - - - - - - - + - + - - - - Show Stacktrace - - -
-
+ + + + + +
+
Show StdOut
+
- - - - - -
+
+
Show StdErr
+
- - - -
+ +
+
Show StackTrace
+
- - -
From 6ac5acfcdefbd02d25ab33834500f247f49648c9 Mon Sep 17 00:00:00 2001 From: Patrick Dreyer Date: Mon, 24 Aug 2015 15:55:29 +0200 Subject: [PATCH 3/6] Enlarge tables to maximize usage of horizontal space --- TrxerConsole/TrxerTable.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TrxerConsole/TrxerTable.css b/TrxerConsole/TrxerTable.css index b74b7f4..7895170 100644 --- a/TrxerConsole/TrxerTable.css +++ b/TrxerConsole/TrxerTable.css @@ -10,7 +10,7 @@ img { } table { - width: 90%; + width: 98%; margin: 1em auto; border-collapse: collapse; border: 1px solid #a2caf2; From cc57e7009d87efa8ba133ed23af93d660d5dae52 Mon Sep 17 00:00:00 2001 From: Patrick Dreyer Date: Mon, 24 Aug 2015 15:56:17 +0200 Subject: [PATCH 4/6] Enlarge tables to maximize usage of horizontal space --- TrxerConsole/Trxer.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TrxerConsole/Trxer.css b/TrxerConsole/Trxer.css index dfede24..0b19a25 100644 --- a/TrxerConsole/Trxer.css +++ b/TrxerConsole/Trxer.css @@ -218,7 +218,7 @@ td.slowest { } .SummaryDiv { - width: 90%; + width: 98%; border-top: 1px solid #e5eff8; border-right: 1px solid #e5eff8; margin: 1em auto; From 7a516850357c63757149c0b74e97df77d01bddfb Mon Sep 17 00:00:00 2001 From: Patrick Dreyer Date: Mon, 24 Aug 2015 15:56:47 +0200 Subject: [PATCH 5/6] Wrap long output lines part1/2 --- TrxerConsole/Trxer.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/TrxerConsole/Trxer.css b/TrxerConsole/Trxer.css index 0b19a25..27be641 100644 --- a/TrxerConsole/Trxer.css +++ b/TrxerConsole/Trxer.css @@ -359,3 +359,12 @@ td.slowest { .visibleRow { visibility: visible; } + +.wordwrap { + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + word-break: break-all; /* Firefox */ +} From f20a2beac510f31789ebd9b40680d7352fa60af3 Mon Sep 17 00:00:00 2001 From: Patrick Dreyer Date: Mon, 24 Aug 2015 15:57:27 +0200 Subject: [PATCH 6/6] Wrap long output lines part2/2 --- TrxerConsole/Trxer.xslt | 142 ++++++++++++++++++++++++---------------- 1 file changed, 87 insertions(+), 55 deletions(-) diff --git a/TrxerConsole/Trxer.xslt b/TrxerConsole/Trxer.xslt index 04c57c0..2bd7308 100644 --- a/TrxerConsole/Trxer.xslt +++ b/TrxerConsole/Trxer.xslt @@ -9,6 +9,7 @@ + 2); + } + + public string ShortenText(string text) + { + var ret = new StringBuilder(); + using (var reader = new StringReader(text)) + { + var lines = 3; + for (var line = reader.ReadLine(); lines > 0 & line != null; --lines, line = reader.ReadLine()) + { + ret.Append(line); + ret.Append("\n"); + } + } + return ret.ToString(); + } ]]> @@ -481,6 +514,22 @@ + + + +
+ + + + + + + +
+ +
+ + @@ -489,11 +538,8 @@ - - - - - + + @@ -508,11 +554,8 @@ - - - - - + + @@ -527,11 +570,8 @@ - - - - - + + > @@ -569,47 +609,39 @@ - - - - + + + + +
+
Show Full Message
+
+
+ + + +
- - - - -
-
Show StdOut
-
-
- -
-
Show StdErr
-
-
- -
-
Show StackTrace
-
-
+
+ + + + +
+
Show StdOut
+
+
+ +
+
Show StdErr
+
+
+ +
+
Show StackTrace
+
+
+
- - - - - - - -
- - - -
- - - -
-
-