Feature - dependency column justification

- The dependency columns are now right-justified (thanks to Eric Fluger).
This commit is contained in:
Paul Beckingham 2011-01-08 11:10:39 -05:00
parent 022b219c0f
commit b5c46062c6
3 changed files with 6 additions and 6 deletions

View file

@ -26,6 +26,7 @@
+ Eliminated dependency on ncurses. + Eliminated dependency on ncurses.
+ Added _query helper command for script writers, which accepts a filter like + Added _query helper command for script writers, which accepts a filter like
any other report, but returns only full JSON. any other report, but returns only full JSON.
+ The dependency columns are now right-justified (thanks to Eric Fluger).
+ Fixed bug #515, which displayed an incorrect message after duplicating a + Fixed bug #515, which displayed an incorrect message after duplicating a
non-existent task (thanks to Peter De Poorter). non-existent task (thanks to Peter De Poorter).
+ Fixed bug #529, where the 'depends' attribute was not mentioned in the + Fixed bug #529, where the 'depends' attribute was not mentioned in the

View file

@ -63,14 +63,13 @@ step 7 above, they must first be regenerated by following steps [1], [2] and
$ sudo make uninstall $ sudo make uninstall
---
Taskwarrior Build Notes Taskwarrior Build Notes
---------------- -----------------------
Taskwarrior 1.9 has dependencies that are detected by the configure program in Taskwarrior 1.9 has dependencies that are detected by cmake in almost all cases,
almost all cases, but there are situations and operating systems that mean you but there are situations and operating systems that mean you will need to offer
will need to offer configure a little help. a little help.
If taskwarrior will not build on your system, first take a look at the Operating If taskwarrior will not build on your system, first take a look at the Operating
System notes below. If this doesn't help, then go to the Troubleshooting System notes below. If this doesn't help, then go to the Troubleshooting

View file

@ -520,7 +520,7 @@ int handleCustomReport (const std::string& report, std::string& outs)
{ {
table.addColumn (columnLabels[*col] != "" ? columnLabels[*col] : "Deps"); table.addColumn (columnLabels[*col] != "" ? columnLabels[*col] : "Deps");
table.setColumnWidth (columnCount, Table::minimum); table.setColumnWidth (columnCount, Table::minimum);
table.setColumnJustification (columnCount, Table::left); table.setColumnJustification (columnCount, Table::right);
int row = 0; int row = 0;
std::vector <Task> blocked; std::vector <Task> blocked;