head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.116 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.114 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.112 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.110 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.108 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.106 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.104 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.102 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.100 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.98 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.96 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.94 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.92 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.90 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.88 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.86 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.84 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.82 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.80 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.78 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.76 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.74 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.72 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.68 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.48 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.70 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.66 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.64 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.62 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.60 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.58 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.56 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.54 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.52 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.50 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.46 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.44 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.42 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.40 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.38 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.36 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.34 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.32 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.30 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.28 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.26 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.24 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.22 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.20 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.18 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.16 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.14 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.12 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.10 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.8 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.6 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.4 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.2 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.4.0.34 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.32 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.30 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.28 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.26 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.24 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.22 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.20 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.18 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.16 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.14 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.12 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.10 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.8 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.6 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.4 pkgsrc-2008Q1:1.4.0.2 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.3.0.22 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.20 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.18 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.16 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.14 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.12 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.10 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.8 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.6 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.5 date 2011.11.25.22.19.24; author joerg; state Exp; branches; next 1.4; 1.4 date 2008.03.05.18.30.59; author jlam; state Exp; branches; next 1.3; 1.3 date 2005.06.01.02.40.43; author snj; state Exp; branches; next 1.2; 1.2 date 2003.12.28.15.40.14; author zuntum; state Exp; branches; next 1.1; 1.1 date 2001.05.15.06.54.24; author zuntum; state Exp; branches; next ; desc @@ 1.5 log @Fix build with modern GCC. @ text @$NetBSD: patch-ab,v 1.4 2008/03/05 18:30:59 jlam Exp $ --- src/todoterm.cc.orig 2007-06-28 13:04:36.000000000 +0000 +++ src/todoterm.cc @@@@ -4,9 +4,11 @@@@ #ifdef USETERMCAP #include #include +#include #include -#include -#include + +extern "C" int tgetent(char *, const char *); +extern "C" int tgetnum(const char *); static char info[2048]; static bool term_initialized; @ 1.4 log @Just use extern declarations of tgetent() and tgetnum() instead of figuring out whether to include or and . @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/todoterm.cc.orig 2007-06-28 09:04:36.000000000 -0400 d5 2 a6 1 @@@@ -5,8 +5,9 @@@@ d9 1 @ 1.3 log @Update to 0.1.18. Changes: * Added --purge [] option which lets you purge old completed items. * Can now use force-colour in the todorc. * Various patches from Debian and Gentoo maintainers applied. These fix compiler errors on recent GCC versions, uncaught exception when TERM is not set, a few man page issues, issues with the BASH scripts and miscellaneous other things. @ text @d3 4 a6 3 --- src/todoterm.cc.orig 2005-05-31 19:12:33.000000000 -0700 +++ src/todoterm.cc 2005-05-31 19:13:02.000000000 -0700 @@@@ -6,7 +6,11 @@@@ d9 5 a13 6 #include +#ifdef __NetBSD__ +#include +#else #include +#endif @ 1.2 log @Update devtodo to version 0.1.17. The side effect of this update is that the package compiles with gcc3 now :-) Changes from version 0.1.7: 0.1.17 * Fixed seg-fault when specifying bold colours with the --colour option. Thanks to Tim Peoples for pointing pointing this out. * Renamed regex.{c,h} to c_regex.{c,h} so they don't conflict with Regex.{cc,h} under operating systems which do not honour case (OS/X and/or Cygwin). Also removed -s (strip) from LDFLAGS, as this is not supported on some O/S' (eg. OS/X). David Bacher wrote in with these issues. * Modified tod2html.xslt so the todo title is displayed in the page, as well as in the page title. * Fixed an issue with not displaying links when timeout was in effect. * Added a new 'default' priority which has the following semantics: when adding a new item it will be priority 'medium', when grafting to an existing item the new item will be given the parents priority, and when editing an existing item its priority will be preserved. An items priority can be overridden on the command line with --priority when any of these actions are performed. Devtodo will never prompt for priority with this enabled. Handy for putting in your ~/.todorc. * Fixed display issues when summarising multi-line items. * Fixed a bug where colours were reset when displaying linked databases. 0.1.16 * Made broken links silently fail rather than failing loudly and horribly. * Modified the semantics for expanding indices. Now when you use an index with no modifier (eg. todo 10, as opposed to todo -10 or todo +10), only one level of children is expanded. * Big change is the addition of multi-line items and title texts! This is a much requested feature. To use this, you can either pipe text into devtodo: cat <<- EOF | tda -p medium This is some multi-line text. EOF Or press to insert a new line when at the devtodo input prompt. 0.1.15 * Added --force-colour option to force use of colour even when not outputting to a terminal. Requested by James Troup. * Added a patch sent in by Philipp Buehler which adds support for title strings to the todo2html.xslt XSLT script. * Fixed bug when displaying priorities in TODO list ("mediumriority"). * Added a MASSIVE patch sent in by Christian Hammond which adds support for linking other todo databases into one single view. This is extremely useful for situations where you have a core project directory with sub-directories containing unique individual databases. You can link them so they are all viewed from the core database. Great work! * tda will now merge all non-quoted arguments into one string to be used for the body text of the item to add. This lets this work: tda -p high Need to go to the shop and get some milk without needing to do: tda -p high "Need to go to the shop and get some milk" * Another bug report by James Troup via the Debian Project. Thanks James and Arthur for being long time supporters of the project! * Made doc/scripts.sh more coherent and less convoluted. * A variation on the XSLT transform was sent in by Christian Hammond. An example of its use is available at http://www.chipx86.com/todo.ml. 0.1.14 * Fixed a bug where devtodo doesn't work without the TERM variable being set. Caused havoc in Bill Carlson's cron job. Thanks for tracking it down Bill. * Fixed some more GCC 3.x compilation problems. I'm still using [io]strstream, as opposed to the more correct [io]stringstream, so that it should still compile with older versions of GCC. Fingers crossed. 0.1.13 * Patch from David Furodet to fix compilation problems on Solaris. * Added 'finishing comments'. This allows you to optionally add a comment to an item when you are marking it as done, giving reasons/comments for why you are marking it complete. This is really useful. This also breaks backward compatibility with previous BINARY formats only. The XML format is not affected. 0.1.12 * Applied a patch by Michael Tilstra that fixes segfaults when overriding colours. * Added a script (contrib/tdrec) to display databases from all sub-directories. Thanks to Brian Herlihy for the contribution. Modified it slightly so it passes arguments to devtodo (such as --summary). * Modified cd, pushd and popd replacement scripts (doc/scripts.sh) so that their exit status is preserved. Required so things like this work correctly: cd doc && echo foo Thanks to Erin Quinlan for the fix. * Now displays the index of newly added items when --verbose is on. Thanks to James Troup for suggesting this. * Fixed man page inconsistency with '-S' and '-s' for summary mode. Thanks to James Troup again for picking this up. * Another problem found by James Troup - when grafting, the validity of the grafting index was only checked after the new item text was typed. This has been recitifed. * Work around for some weirdness when generating RPM's. 0.1.11 * Modified .spec file so it doesn't do an aclocal/autoheader/automake/autoconf before compiling. Fixes incompatibilities between versions of automake. * Applied a patch sent in by Anreas Amann to fix more incompatibilities with GCC 3.0. 0.1.10 * Now 'using namespace std;'. It's the standard and it seems as if GCC 3.0 finally requires it, so in it goes. * Fixed an incompatibility with versions of GCC prior to 3.0 using different arguments to std::string::compare. Quite annoying. I replaced it with strncmp. * Readline is driving me insane. The example from the readline info page says to use "completion_matches" so I basically copied the code verbatim. But some versions don't seem to include the function in the readline header file? Agggggghh. So once again, it's back to using a manually created header file. It seems to work the best. 0.1.9 * I had a bad feeling that including the readline headers would cause problems and I was right :(. I'm now not including any readline headers of any form, so if compilation breaks due to your system readline headers having K&R style function declarations, upgrade to the latest version. * Renamed the XSLT examples to reflect their purpose (eg. xslt-example.1 => todo2pdf.xslt) 0.1.8 * Fixed for the spelling of "heirarchical" :) * Repatched --mono fix that gets rid of spurious escape sequences (picked up by Mark Eichin). * Fixed envar expansion broken by event handling modifications. Whoops. * Numeric priorities can now be specified on the command line. Christian Kurz picked this one up. * Added a new filter for searching through the database. This is done with the filter '/'. eg. "todo --filter /CVS" will show all items with the word CVS in them. This can also be expressed as a shorthand version: "todo /CVS". The text is interpreted as a regular expression. * Changed filter behaviour to be more logical. Numeric filters with no sign prefix will now only show the item itself, not children. Prefixing the filter with a + will display the children as well and prefixing with a - will filter out that item. * Subsequently almost totally rewrote filtering code so it's more logical and doesn't break (hopefully). * Short arguments can now be fully merged into one argument. eg. todo -v -v -f 2-10 can be represented as: todo -vvf2-10 * Added an "echo" command for use in ~/.todorc. This can be used for status messages or whatever. eg. on save echo Saved $TODODB * Added another PERL script (contrib/changelog2html) to convert directly from the ChangeLog to HTML. * Fixed default formatting string for --TODO. * James Troup had the suggestion (which is now implemented) of clearing the priority as soon as the user hits a key other than enter when editing an existing item. * Copied the readline.h and history.h from my system's readline into devtodo's source. Hopefully this won't break compiles on any systems :\. @ text @d3 3 a5 3 --- src/todoterm.cc.orig 2001-11-08 11:51:20.000000000 +0100 +++ src/todoterm.cc @@@@ -5,7 +5,11 @@@@ d16 1 a16 1 @ 1.1 log @Update devtodo to 0.1.6.1 Changelog: 0.1.6-1 * Changed --summary to a toggle so you can use "todo -s" to switch it on or off. This minimises the use of the shift key ;). * Uncommented two lines so that --priority works once more when editing items. * Added RPMage. 0.1.6 * When creating backups, I now make the backed up databases read-only if --paranoid is specified. * A slight modification to the BASH shell script to make it more compatible (courtesy of Arthur). * Added -S/--summary (and -s/--no-summary to override it if 'summary' is the default in ~/.todorc) which only displays the first line of todo items. This is handy if, like me, you have numerous multi-line items. The shell scripts use this by default now, meaning when you cd into a directory only the first line of each item will be shown (handy for a quick...summary). * Added --timeout [] option. When no second are specified, todo will only display the database if it hasn't been displayed within a number of seconds (also specified by using --timeout, but *with* a number of seconds). For example, by putting this in your ~/.todorc: "timeout 10", then adding "--timeout" when you run devtodo, the database will only be displayed if it hasn't been displayed within 10 seconds. The shell scripts have been updated to use this facility. The access time is used to determine when the database was last used (stat.st_atime). * Unified formatting strings into one location and added the generic option --format = to modify them as well as the option --use-format = to use them. eg. todo --use-format verbose-display=generated * Now attempts to obtain the width of the current terminal from the termcap database (if compile fails (please send me a bug report, and...) re-run ./configure with the --without-termcap option). * Added a '%s' output formatting flag which formats item text the same as is done with --summary. * You can use the (undocumented) --dump-config option to dump the current config to stdout. This should be usable as a ~/.todorc file pretty much as is. Handy to use as a base for your own modifications. * Fixed a minor bug where invalid numeric priority exceptions weren't being caught. * Added "title" as a defineable colour, seperate from the "info" colour. * Integrated some Debian Makefile mojo (thanks go to Arthur Korn). * Fixed --paranoid behaviour. The logic to check permissions had become commented out in the move to multiple loaders. * Added an "exec" command to the ~/.todorc. This can be used to execute shell commands from within devtodo, although it's really only useful in conjunction with triggers (see below). In addition, the environment variable TODODB will contain the name of the current database. * Added event "triggers". These are useful for modifying the behaviour of devtodo. A perfect example of a use for this is to trap the "create" trigger so that when a new database is created todo will remove world and group permissions from it. eg. on create { verbose exec chmod 600 $TODODB } * Modified Makefile.am in src and doc to support relocatable installs (via automakes DESTDIR variable). 0.1.5-1 * Fixed a nasty Makefile bug that can, under certain circumstances, cause the build/install to fail. @ text @d3 1 a3 1 --- src/todoterm.cc.orig Mon Apr 30 23:24:56 2001 d5 1 a5 2 @@@@ -4,7 +4,11 @@@@ #ifdef USETERMCAP d8 1 @