mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 00:57:19 +02:00
- Updated version 1.3.0 to 1.4.0
- Applied "showage" configuration variable to long list
This commit is contained in:
parent
42189ce998
commit
c1a1d13aab
5 changed files with 29 additions and 18 deletions
2
NEWS
2
NEWS
|
@ -1,4 +1,4 @@
|
|||
Welcome to Task 1.3.0.
|
||||
Welcome to Task 1.4.0.
|
||||
|
||||
Task has been built and tested on the following configurations:
|
||||
|
||||
|
|
10
TUTORIAL
10
TUTORIAL
|
@ -1,4 +1,4 @@
|
|||
Task program tutorial, for version 1.3.0
|
||||
Task program tutorial, for version 1.4.0
|
||||
----------------------------------------
|
||||
|
||||
This guide shows how to quickly set up the task program, and become proficient
|
||||
|
@ -21,10 +21,10 @@ Build the task program according to the directions in the INSTALL file. This
|
|||
transcript illustrates a typical installation:
|
||||
|
||||
% ls
|
||||
task-1.3.0.tar.gz
|
||||
% gunzip task-1.3.0.tar.gz
|
||||
% tar xf task-1.3.0.tar
|
||||
% cd task-1.3.0
|
||||
task-1.4.0.tar.gz
|
||||
% gunzip task-1.4.0.tar.gz
|
||||
% tar xf task-1.4.0.tar
|
||||
% cd task-1.4.0
|
||||
% ./configure
|
||||
...
|
||||
% make
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.61)
|
||||
AC_INIT(task, 1.3.0, bugs@beckingham.net)
|
||||
AC_INIT(task, 1.4.0, bugs@beckingham.net)
|
||||
AM_INIT_AUTOMAKE
|
||||
AC_CONFIG_SRCDIR([src/task.cpp])
|
||||
AC_CONFIG_HEADER([auto.h])
|
||||
|
|
20
src/task.cpp
20
src/task.cpp
|
@ -992,6 +992,8 @@ void handleLongList (const TDB& tdb, T& task, Config& conf)
|
|||
|
||||
initializeColorRules (conf);
|
||||
|
||||
bool showAge = conf.get ("showage", true);
|
||||
|
||||
// Create a table for output.
|
||||
Table table;
|
||||
table.setTableWidth (width);
|
||||
|
@ -1002,7 +1004,7 @@ void handleLongList (const TDB& tdb, T& task, Config& conf)
|
|||
table.addColumn ("Entry");
|
||||
table.addColumn ("Start");
|
||||
table.addColumn ("Due");
|
||||
table.addColumn ("Age");
|
||||
if (showAge) table.addColumn ("Age");
|
||||
table.addColumn ("Tags");
|
||||
table.addColumn ("Description");
|
||||
|
||||
|
@ -1014,7 +1016,7 @@ void handleLongList (const TDB& tdb, T& task, Config& conf)
|
|||
table.setColumnUnderline (5);
|
||||
table.setColumnUnderline (6);
|
||||
table.setColumnUnderline (7);
|
||||
table.setColumnUnderline (8);
|
||||
if (showAge) table.setColumnUnderline (8);
|
||||
|
||||
table.setColumnWidth (0, Table::minimum);
|
||||
table.setColumnWidth (1, Table::minimum);
|
||||
|
@ -1022,15 +1024,15 @@ void handleLongList (const TDB& tdb, T& task, Config& conf)
|
|||
table.setColumnWidth (3, Table::minimum);
|
||||
table.setColumnWidth (4, Table::minimum);
|
||||
table.setColumnWidth (5, Table::minimum);
|
||||
table.setColumnWidth (6, Table::minimum);
|
||||
table.setColumnWidth (7, Table::minimum);
|
||||
table.setColumnWidth (8, Table::flexible);
|
||||
if (showAge) table.setColumnWidth (6, Table::minimum);
|
||||
table.setColumnWidth ((showAge ? 7 : 6), Table::minimum);
|
||||
table.setColumnWidth ((showAge ? 8 : 7), Table::flexible);
|
||||
|
||||
table.setColumnJustification (0, Table::right);
|
||||
table.setColumnJustification (3, Table::right);
|
||||
table.setColumnJustification (4, Table::right);
|
||||
table.setColumnJustification (5, Table::right);
|
||||
table.setColumnJustification (6, Table::right);
|
||||
if (showAge) table.setColumnJustification (6, Table::right);
|
||||
|
||||
table.sortOn (5, Table::ascendingDate);
|
||||
table.sortOn (2, Table::descendingPriority);
|
||||
|
@ -1094,9 +1096,9 @@ void handleLongList (const TDB& tdb, T& task, Config& conf)
|
|||
table.addCell (row, 3, entered);
|
||||
table.addCell (row, 4, started);
|
||||
table.addCell (row, 5, due);
|
||||
table.addCell (row, 6, age);
|
||||
table.addCell (row, 7, tags);
|
||||
table.addCell (row, 8, refTask.getDescription ());
|
||||
if (showAge) table.addCell (row, 6, age);
|
||||
table.addCell (row, (showAge ? 7 : 6), tags);
|
||||
table.addCell (row, (showAge ? 8 : 7), refTask.getDescription ());
|
||||
|
||||
if (conf.get ("color", true))
|
||||
{
|
||||
|
|
13
task.html
13
task.html
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Task 1.3.0</title>
|
||||
<title>Task 1.4.0</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
|
@ -166,10 +166,19 @@ a img { border: none; padding: 0; margin: 0; }
|
|||
<div class="content">
|
||||
<p>
|
||||
Download the
|
||||
<a href="http://www.beckingham.net/task-1.3.0.tar.gz">latest version</a>
|
||||
<a href="http://www.beckingham.net/task-1.4.0.tar.gz">latest version</a>
|
||||
of the task source code (6/18/2008).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<h4>New in version 1.4.0</h4>
|
||||
Source: <a href="http://www.beckingham.net/task-1.4.0.tar.gz">task-1.4.0.tar.gz</a>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<h4>New in version 1.3.0</h4>
|
||||
Source: <a href="http://www.beckingham.net/task-1.3.0.tar.gz">task-1.3.0.tar.gz</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue