Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@netbsd.org>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: pkgsrc-changes
Date: 04/16/2001 11:00:44
Module Name: pkgsrc
Committed By: zuntum
Date: Mon Apr 16 08:00:44 UTC 2001
Modified Files:
pkgsrc/time/devtodo: Makefile
pkgsrc/time/devtodo/files: md5
pkgsrc/time/devtodo/pkg: PLIST
Log Message:
Update devtodo to 0.1.4:
* Added version checking so that the binary won't accept databases from
future versions. The actual behaviour is that minor revision differences
produce a warning while major revision differences cause an error.
* Added a patch from Arthur Korn that allows the bash scripts to cd into
directories with spaces.
* Fixed a few man page problems, again courtesy of Arthur (I swear this
guy doesn't sleep!)
* Changed primary binary to 'devtodo', with a convenience symlink, 'todo'.
Also changed the man page filename to reflect this. The user should see
no actual difference though, as symlinks with the old names exist.
* Fixed a bug where todo would segfault if ^D was pressed while editing a
line. Thanks to Matt Kraai for picking this up. The problem was due to
not handling a NULL return value from readline.
* More man page fixes (this time, thanks again go to Matt).
* You can now specify more than one item index on the command line as
seperate arguments. Previously, a comma was required and if multiple
arguments were used the last one was used. Arthur picked this one up.
* Added parsing of /etc/todorc (actually, the location is specified by the
--sysconfdir argument to configure, so it will probably be
/usr/local/etc/todorc on most peoples systems).
* Added awareness of the TODORC environment variable. This specifies the
RC file to parse on startup. TODORC=$HOME/.todorc is the default
behaviour. This idea was thanks to Claude. Claude also suggests, quite
rightly, that it would be useful for specifying a system-wide todorc
file by putting TODORC=/etc/todorc in /etc/profile or somewhere similar.
* Added two new arguments for modifying the database used. The first is
--database <file> which is used to change the default filename used. eg.
--database .todo is the default behaviour. The other is
--fallback-database <file> which specifies the database to use if no other
can be found. By default there is no fallback database. Both of these
options can be specified in the .todorc.
* Environment variables can now be used in the ~/.todorc. This is especially
useful for something like 'fallback-database $HOME/.todo'.
* Finally fixed the bug where > and & were not being correctly
interpreted.
* Fixed a long-time bug where wraptext() was wrapping the first
line prematurely.
* Fixed a bug where if the sort order changed, visible indices would not match
parameter indices.
* --verbose now displays time between when an item was created and when it was
completed.
* Added --date-format for formatting the display of dates (currently only used
with --verbose). The format is that used by strftime(3) but if strftime is not
available on a system, ctime(3) is used.
* Added fully-featured sorting via the --sort parameter. It is now possible to
sort on pretty much anything you can think of; creation time, completed time,
duration of item, text body, priority and whether an item is done or not.
* Added --paranoid option that enables some warnings about permissions. This
is in response to a user request to not make the .todo file group/world
accessible. This option will make devtodo warn the user if such a database
is created.
* Removed --sync and --no-sync. You can generate the TODO file with --TODO.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/time/devtodo/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/time/devtodo/files/md5
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/time/devtodo/pkg/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.