From b5c46062c61bcfd46b476b82f9a59ef2f9189135 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 8 Jan 2011 11:10:39 -0500 Subject: [PATCH] Feature - dependency column justification - The dependency columns are now right-justified (thanks to Eric Fluger). --- ChangeLog | 1 + INSTALL | 9 ++++----- src/custom.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f9896a75..cb131a7f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,7 @@ + Eliminated dependency on ncurses. + Added _query helper command for script writers, which accepts a filter like 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 non-existent task (thanks to Peter De Poorter). + Fixed bug #529, where the 'depends' attribute was not mentioned in the diff --git a/INSTALL b/INSTALL index c4dcd7e00..ca75efa4e 100644 --- a/INSTALL +++ b/INSTALL @@ -63,14 +63,13 @@ step 7 above, they must first be regenerated by following steps [1], [2] and $ sudo make uninstall ---- Taskwarrior Build Notes ----------------- +----------------------- -Taskwarrior 1.9 has dependencies that are detected by the configure program in -almost all cases, but there are situations and operating systems that mean you -will need to offer configure a little help. +Taskwarrior 1.9 has dependencies that are detected by cmake in almost all cases, +but there are situations and operating systems that mean you will need to offer +a little help. 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 diff --git a/src/custom.cpp b/src/custom.cpp index 7de8909b8..6f38594c4 100644 --- a/src/custom.cpp +++ b/src/custom.cpp @@ -520,7 +520,7 @@ int handleCustomReport (const std::string& report, std::string& outs) { table.addColumn (columnLabels[*col] != "" ? columnLabels[*col] : "Deps"); table.setColumnWidth (columnCount, Table::minimum); - table.setColumnJustification (columnCount, Table::left); + table.setColumnJustification (columnCount, Table::right); int row = 0; std::vector blocked;