- Added feature #478, which uses the colorization rules in the 'info'
  report.
This commit is contained in:
Paul Beckingham 2010-08-21 00:30:24 -04:00
parent 5c235ce1ef
commit a9b18da214
4 changed files with 7 additions and 3 deletions

View file

@ -26,6 +26,8 @@
Added as well synonyms soww/eoww plus new socw/eocw for calendar weeks. Added as well synonyms soww/eoww plus new socw/eocw for calendar weeks.
+ Added feature #471, which makes greater use of projects by reporting + Added feature #471, which makes greater use of projects by reporting
changes to the completion percentage when it changes. changes to the completion percentage when it changes.
+ Added feature #478, which uses the colorization rules in the 'info'
report.
+ New 'depends' column for custom reports. + New 'depends' column for custom reports.
+ New 'blocked' report for showing blocked tasks. + New 'blocked' report for showing blocked tasks.
+ Improved man pages (thanks to Andy Lester). + Improved man pages (thanks to Andy Lester).

1
NEWS
View file

@ -13,6 +13,7 @@ New Features in task 1.9.3
- Import and export of YAML 1.1, including round-trip capability. - Import and export of YAML 1.1, including round-trip capability.
- New merge capability for syncing task data files. - New merge capability for syncing task data files.
- When completing or modifying a task, the project status is displayed. - When completing or modifying a task, the project status is displayed.
- The 'info' report is now colorized.
Please refer to the ChangeLog file for full details. There are too many to Please refer to the ChangeLog file for full details. There are too many to
list here. list here.

View file

@ -122,9 +122,6 @@ int handleCustomReport (const std::string& report, std::string &outs)
if (context.sequence.size ()) if (context.sequence.size ())
context.filter.applySequence (tasks, context.sequence); context.filter.applySequence (tasks, context.sequence);
// Initialize colorization for subsequent auto colorization.
initializeColorRules ();
Table table; Table table;
table.setTableWidth (context.getWidth ()); table.setTableWidth (context.getWidth ());
table.setDateFormat (context.config.get ("dateformat")); table.setDateFormat (context.config.get ("dateformat"));

View file

@ -406,6 +406,10 @@ int handleInfo (std::string &outs)
table.addCell (row, 0, "Description"); table.addCell (row, 0, "Description");
table.addCell (row, 1, getFullDescription (*task, "info")); table.addCell (row, 1, getFullDescription (*task, "info"));
Color c;
autoColorize (*task, c);
table.setCellColor (row, 1, c);
// status // status
row = table.addRow (); row = table.addRow ();
table.addCell (row, 0, "Status"); table.addCell (row, 0, "Status");