Skip to content

Commit 7024e37

Browse files
committed
Initial import of tdl-1.6-pre1
0 parents  commit 7024e37

29 files changed

+8422
-0
lines changed

.arch-inventory

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
backup ^(Makefile|config\.log|tdl)$
2+
backup ^tdl\.(aux|cp|dvi|fn|html|info|ky|log|pdf|pg|toc|tp|txt|vr)$
3+
precious ^\.tdldb$
4+

COPYING

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

INSTALL

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Although tdl does not use autoconf, it does have a hand-rolled configure script.
2+
3+
To build the program do
4+
5+
./configure
6+
make
7+
make install
8+
9+
You can see what options ./configure can take with
10+
11+
./configure --help
12+
13+
For example, you might want to use --prefix to install the software in a
14+
non-standard location.
15+
16+
To get started,
17+
18+
tdl create
19+
tdl add "Some task I have to do"
20+
tdl list
21+
22+
It's suggested that you try
23+
24+
man tdl
25+
26+
as well.
27+

Makefile.in

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# $Header: /cvs/src/tdl/Makefile.in,v 1.7.2.2 2004/01/07 00:09:05 richard Exp $
2+
#
3+
# tdl - A console program for managing to-do lists
4+
# Copyright (C) 2001-2004 Richard P. Curnow
5+
#
6+
# This program is free software; you can redistribute it and/or modify
7+
# it under the terms of the GNU General Public License as published by
8+
# the Free Software Foundation; either version 2 of the License, or
9+
# (at your option) any later version.
10+
#
11+
# This program is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU General Public License for more details.
15+
#
16+
# You should have received a copy of the GNU General Public License
17+
# along with this program; if not, write to the Free Software
18+
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19+
20+
#######################################################################
21+
# Note, the @xxx@ macros are filled in by the configure script. You
22+
# should not need to edit this file directly.
23+
#######################################################################
24+
# Select C compiler and compile options
25+
CC=@cc@
26+
CFLAGS=@cflags@ @defines@
27+
READLINE_DEFINE=@readline_define@
28+
INC_READLINE=@inc_readline@
29+
LIB_READLINE=@lib_readline@
30+
31+
#######################################################################
32+
# If you're generating a package, you may want to use
33+
# make DESTDIR=temporary_dir install
34+
# to get the software installed to a directory where you can create
35+
# a tdl.tar.gz from it
36+
DESTDIR=
37+
38+
#######################################################################
39+
40+
prefix=$(DESTDIR)@prefix@
41+
bindir=$(DESTDIR)@bindir@
42+
mandir=$(DESTDIR)@mandir@
43+
man1dir=$(mandir)/man1
44+
45+
#######################################################################
46+
# YOU SHOULD NOT NEED TO CHANGE ANYTHING BELOW HERE
47+
48+
OBJ = main.o io.o add.o done.o remove.o move.o list.o \
49+
report.o purge.o util.o dates.o impexp.o narrow.o \
50+
inter.o
51+
52+
all : tdl
53+
54+
tdl : $(OBJ)
55+
$(CC) $(CFLAGS) -o tdl $(OBJ) $(LIB_READLINE)
56+
57+
%.o : %.c
58+
$(CC) $(CFLAGS) -c $<
59+
60+
inter.o : inter.c
61+
$(CC) $(CFLAGS) $(READLINE_DEFINE) $(INC_READLINE) -c $<
62+
63+
version.h:
64+
./mkversion
65+
66+
main.o : version.h
67+
68+
%.s : %.c
69+
$(CC) $(CFLAGS) -S $<
70+
71+
clean:
72+
rm -f tdl *.o core \
73+
tdl.vr tdl.tp tdl.pg tdl.ky tdl.fn tdl.cp \
74+
tdl.toc tdl.log tdl.dvi tdl.aux \
75+
tdl.txt tdl.html tdl.info* tdl.pdf tdl.ps
76+
77+
distclean: clean
78+
rm -f Makefile config.log
79+
80+
install:
81+
[ -d $(pprefix) ] || mkdir -p $(pprefix)
82+
[ -d $(bindir) ] || mkdir -p $(bindir)
83+
[ -d $(mandir) ] || mkdir -p $(mandir)
84+
[ -d $(man1dir) ] || mkdir -p $(man1dir)
85+
cp tdl $(bindir)/tdl
86+
chmod 555 $(bindir)/tdl
87+
(cd $(bindir); ln -sf tdl tdla; ln -sf tdl tdll; ln -sf tdl tdls; ln -sf tdl tdld; ln -sf tdl tdlg)
88+
gzip -9 < tdl.1 > $(man1dir)/tdl.1.gz
89+
chmod 444 $(man1dir)/tdl.1.gz
90+
(cd $(man1dir); for x in tdla tdll tdls tdld tdlg ; do ln -sf tdl.1.gz $${x}.1.gz ; done )
91+
92+
93+
docs : tdl.info tdl.txt tdl.html tdl.dvi tdl.pdf
94+
95+
tdl.info : tdl.texi
96+
makeinfo tdl.texi
97+
98+
tdl.txt : tdl.texi
99+
makeinfo --no-split --number-sections --no-headers tdl.texi > tdl.txt
100+
101+
tdl.html : tdl.texi
102+
makeinfo --no-split --number-sections --html tdl.texi > tdl.html
103+
104+
tdl.dvi : tdl.texi
105+
tex tdl.texi
106+
tex tdl.texi
107+
108+
tdl.ps : tdl.dvi
109+
dvips tdl.dvi -o
110+
111+
tdl.pdf : tdl.texi
112+
pdftex tdl.texi
113+
pdftex tdl.texi
114+
115+
.PHONY : ChangeLog
116+
117+
# Using cvs2cl.pl version 2.48
118+
ChangeLog:
119+
cvs2cl -r -b -T --show-dead
120+

NEWS

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
NEW IN VERSION 1.6
2+
3+
- Various compile warnings removed
4+
- Documentation fixes
5+
- Fix for spec file
6+
- Fix readline-less build
7+
- Fix argument checking for export command
8+
- Add -u option to unlock a db that's been left locked
9+
- Hitting ^C 4 times exits a wedged run (with data loss)
10+
- Allow start of entry text to be used for indexing instead of just entry
11+
number.
12+
- Switch development and release process to use GNU Arch instead of CVS.
13+
14+
NEW IN VERSION 1.5.2
15+
16+
- allow more than 5 digits for pid in creating name of lock file
17+
18+
NEW IN VERSION 1.5.1
19+
20+
- bug fix : string for forming lock file name was undersized by 1 byte
21+
22+
NEW IN VERSION 1.5
23+
24+
- bug fix : trying to move a node above/below/before/after itself corrupted the
25+
internal state
26+
- add per-database dotlocking to prevent multiple processes accessing the same
27+
database. (Can be disabled with --disable-dotlock option to configure).
28+
29+
NEW IN VERSION 1.4.2
30+
31+
- moveto command (alias for into command)
32+
- bug fix
33+
34+
NEW IN VERSION 1.4.1
35+
36+
- Fix TDL_LIST_MONOCHROME
37+
- Output without colours if stdout is not a terminal
38+
- Install manpage compressed and create links from other shortcuts to it
39+
- Don't include -g amongst default CFLAGS
40+
41+
NEW IN VERSION 1.4
42+
43+
- Add more intelligent configure script
44+
- Support rl_completion_matches (replaces completion_matches in newer readline
45+
libraries)
46+
- Add "defer" command
47+
- Remove start-time editing from "edit" command
48+
- Bug fix : bad path expression with postpone used to segfault
49+
- Bug fix : completion always matched on 3 characters of command instead
50+
of per-command length (broke completion for 'ls')
51+
- Copy permissions of old database to new database when saving
52+
- Ask user for confirmation before acting on "quit" command
53+
54+
NEW IN VERSION 1.3.1
55+
56+
- Bug fix : widen without doing narrow first segfaults
57+
- Spec file fix for mandir
58+
- Updated manpage
59+
60+
NEW IN VERSION 1.3
61+
62+
- Added "save" command
63+
- Added "delete", "ls" and "revert" commands.
64+
- Added "narrow" and "widen" commands
65+
- Improvements to tdl.spec (e.g. so that SRPM construction works properly).
66+
67+
NEW IN VERSION 1.2
68+
69+
- Fix bug : priority with no args core dumped.
70+
71+
- Bring tdl.1 manpage up to date with texinfo.
72+
73+
- Give option to use ncurses instead of termcap in Makefile.
74+
75+
NEW IN VERSION 1.1
76+
77+
- Add 'interactive' mode to complement command line mode of v1.0. If built
78+
with GNU realine, the new mode has better help, completion facilities etc.
79+
80+
- Add postpone and (re-)open commands (long-term deferral of tasks)
81+
82+
- Add clone and copyto commands (deep copy parts of the tree)
83+
84+
- For 'report', enclose text for parent entries in [[,]] brackets if the parent
85+
it not itself 'done'.
86+
87+
- Extensions to 'list' command:
88+
* single digit options to set max depth of entries that are shown
89+
* substring search for text in entries
90+
* -p option to show postponed & deferred entries
91+
92+
- Fix various memory leaks
93+
94+
- Main documentation now supplied in texinfo format. Manpage is not maintained
95+
any longer.
96+
97+
- Revamp of internal help system
98+
99+
- Various bug fixes
100+
101+
- Update contact details
102+
103+
NEW IN VERSION 1.0
104+
105+
- Fix: don't complain if the links tdla, tdll etc already exist when installing.
106+
107+
- Add -q option to suppress "no database" warning.
108+
109+
- Fix: initialise 'parent' properly when creating nodes
110+
111+
- Allow dates to be specified for 'add' and 'done'. 'list' ignores entries
112+
added 'in the future', except with -a. Extend 'edit' command to allow start
113+
date/time to be modified.
114+
115+
- Improve installation process (patch from Juergen Daubert)
116+
117+
- Added 'undo' command (for reversing accidental 'done' commands).
118+
119+
- If 'list' command is given index argument(s), use the priority of each such
120+
entry as the default (instead of 'normal') when deciding whether to display
121+
it and its children, unless a specific priority was given on the command
122+
line.
123+
124+
- Added 'which' command, to display the path to the database that is being
125+
used.
126+
127+
NEW IN VERSION 0.7
128+
129+
- New before and after commands with identical operation to above and below.
130+
131+
- List command now shows only items of at least normal priority by default, and
132+
can take a priority argument.
133+
134+
- New import and export commands
135+
136+
- The remove, done and priority commands can take indices of the form 1... to
137+
mean entry 1 and everything underneath it.
138+
139+
- Priorities can be specified by just their initial letter (or any bigger
140+
substring)
141+
142+
- Add tdlg to do log as a single command name.
143+
144+
$Header: /cvs/src/tdl/NEWS,v 1.22.2.5 2004/02/03 22:17:22 richard Exp $

README

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
INTRODUCTION
2+
tdl is a lightweight program for managing a 'to-do' list of pending jobs that
3+
you have.
4+
5+
It supports the following features :
6+
- 1 database per directory, or per tree of directories (tdl searches up through
7+
parent directories to find the database, so you can have one per project, for
8+
example.)
9+
- add new entries, mark them done, edit the text of entries
10+
- add a new entry and immediately mark it done (e.g. to log tasks you did which
11+
you tackled immediately you got them.)
12+
- organise the entries in a tree structure (sub-tasks of other tasks etc)
13+
- move the tasks around and re-organise the hierarchy.
14+
- list the tasks in the database (default listing excludes 'done' tasks, but
15+
these can be shown too if desired). The listing is in colour by default, with
16+
monochrome output as an option.
17+
- allows entries to be prioritised (priorities shown in different colours on
18+
listing). The listing can selectively show only entries at or above a given
19+
priority level.
20+
- the start time for tasks can be set, to allow for 'deferred' tasks with start
21+
times in the future. Such tasks are excluded from the default listing.
22+
- track date added and date completed for each task
23+
- generate report of tasks completed in a given earlier time period (useful if
24+
you have to produce a weekly summary of your work done, for example)
25+
- import and export entries, to allow splitting and merging of databases.
26+
- written in C
27+
- runs on a Linux console or in a terminal window. It currently generates a
28+
coloured listing, so a colour xterm or rxvt is preferred.
29+
30+
The functionality and interface are heavily inspired by the program devtodo.
31+
32+
LICENCE
33+
The software is licensed under the GPL.
34+
35+
HOMEPAGE
36+
37+
The software can be found at
38+
39+
http://www.rc0.org.uk/tdl/index.html
40+
41+
CONTACT
42+
The author is Richard P. Curnow.
43+
He can be contacted at either of
44+
45+
46+
47+
48+
ACKNOWLEDGEMENTS
49+
50+
Ammon Riley
51+
Read-only mode (-R)
52+
tdls as a synonym for tdll
53+
Bug fixes
54+
55+
David Rhodes
56+
Concept for current builtin-help system
57+
58+
Juergen Daubert
59+
Manpage
60+
61+
Laurent Papier
62+
Fixing the RPM spec file
63+
64+
Pedro Zorzenon Neto
65+
Handling of database permissions
66+
Confirmation of quit command
67+
68+
taviso
69+
Bug fixes
70+
71+
Yaron Minsky
72+
Bug fix
73+
74+
$Header: /cvs/src/tdl/README,v 1.8 2003/05/13 21:06:13 richard Exp $
75+

0 commit comments

Comments
 (0)