Magnus Bäck
21f533aec4
Add ColumnFormatter/StringUtil classes for text output
...
The ColumnFormatter class will simplify output of column-oriented text
for SSH commands like ls-groups and others (including HTTP counterparts)
that may print user-supplied text that can contain tab and newline
characters that would screw up scripts using these commands for
automation. To deal with this, all text output is subject to C-style
escaping of all non-printable characters. The escaping in done in the
new StringUtil class.
So far this new functionality is only used by the ls-projects command
when the project description is printed. The escaping method used there
previously only took care of newline characters.
Change-Id: Ia605bbc44fc82d69d2f40b337319368aefd01eee
2012-06-06 11:38:07 -04:00
..
2011-12-28 12:33:39 -07:00
2009-01-29 08:53:07 -08:00
2012-05-18 10:25:19 -07:00
2009-05-28 15:55:01 -07:00
2012-03-30 16:12:42 +02:00
2011-06-14 16:50:19 -07:00
2012-03-21 17:43:29 +01:00
2012-03-21 17:43:29 +01:00
2012-05-18 12:34:02 -07:00
2012-03-21 17:43:29 +01:00
2011-06-14 16:50:19 -07:00
2011-12-28 12:32:36 -07:00
2012-05-18 10:25:19 -07:00
2012-03-21 17:43:29 +01:00
2011-11-22 11:03:17 +01:00
2012-06-06 11:38:07 -04:00
2012-03-13 11:51:46 -07:00
2011-06-14 16:50:19 -07:00
2011-10-27 00:28:11 +02:00
2011-12-28 12:32:25 -07:00
2012-05-07 17:29:58 -07:00
2011-11-16 09:34:26 +01:00
2011-08-03 14:59:04 -07:00
2012-03-26 13:23:12 +02:00
2012-03-28 17:34:33 +02:00
2012-03-28 17:34:33 +02:00
2011-10-27 02:24:06 +02:00
2011-06-14 16:50:19 -07:00
2011-12-28 12:30:57 -07:00
2012-05-24 18:09:46 -07:00
2011-04-08 19:19:49 +00:00
2010-01-08 19:28:12 -08:00
2011-12-28 12:30:10 -07:00
2011-06-27 17:05:37 -06:00
2011-04-21 17:47:43 +00:00
2011-12-28 12:30:10 -07:00
2012-05-09 13:21:35 -04:00
2012-05-18 10:25:19 -07:00
2012-05-09 13:11:06 -04:00
2012-05-21 09:51:36 -07:00
2012-02-13 23:34:50 -08:00
2012-06-05 18:19:49 -07:00
2012-05-31 07:14:34 -07:00
2012-01-20 17:20:25 +01:00
2011-01-10 14:14:27 +01:00
2011-03-24 13:05:53 +01:00
2011-01-27 10:13:42 +01:00
2011-02-03 08:53:46 +01:00
2011-04-08 11:00:40 +02:00
2011-03-10 13:17:36 +01:00
2010-12-29 08:25:40 +01:00
2011-05-14 16:54:31 -07:00
2011-05-06 10:32:05 +02:00
2010-12-29 08:04:14 +01:00
2011-05-06 10:32:05 +02:00
2011-01-25 15:33:40 +01:00
2011-05-06 10:32:05 +02:00
2011-05-06 10:32:05 +02:00
2011-02-03 15:43:16 +01:00
2012-01-23 16:46:57 +01:00
2012-01-24 09:07:22 +01:00
2011-02-04 10:22:50 +01:00
2012-01-20 17:20:25 +01:00
2011-01-12 07:12:36 -08:00
2011-05-06 10:32:05 +02:00
2012-01-24 07:56:39 +01:00
2010-12-29 08:02:29 +01:00
2010-12-27 08:59:42 +01:00
2012-01-23 16:46:57 +01:00
2012-01-20 17:20:25 +01:00
2012-01-20 17:20:25 +01:00
2010-02-22 14:14:53 -08:00
2011-10-27 02:24:06 +02:00
2012-05-18 10:25:19 -07:00
2011-10-27 02:24:06 +02:00
2012-02-09 22:07:48 -08:00
2012-05-18 10:25:19 -07:00
2011-12-28 12:33:39 -07:00
2011-11-17 10:39:48 -06:00
2012-05-24 18:09:46 -07:00
2012-01-23 13:35:35 -06:00
2011-10-27 02:24:06 +02:00
2011-10-27 02:24:06 +02:00
2011-10-27 02:24:06 +02:00
2011-10-26 23:01:57 +02:00
2012-04-27 14:26:28 +02:00
2011-10-26 23:01:57 +02:00
2011-06-21 14:15:53 -07:00
2011-10-27 02:24:06 +02:00
2011-10-27 02:24:06 +02:00
2012-01-20 17:20:25 +01:00
2012-04-21 20:34:38 -07:00
2011-12-28 12:30:10 -07:00
2012-05-09 07:11:09 -07:00
2012-05-10 11:20:56 -07:00
2009-12-11 17:43:39 -08:00
2012-01-30 18:02:40 +01:00
2012-03-07 10:57:59 -08:00