From 0416d6da9cecd1c07df97672c9fd3b6fd388db93 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Mon, 1 Sep 2025 10:02:14 -0400 Subject: [PATCH] Update to version 06.00.02. --- configure | 18 +++++++++--------- configure.ac | 2 +- docs/WHATSNEW | 20 ++++++++++++++++++++ man/remind.1.in | 5 +++-- tests/test.cmp | 10 +++++----- 5 files changed, 38 insertions(+), 17 deletions(-) diff --git a/configure b/configure index a33daf29..651f81c9 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for remind 06.00.01. +# Generated by GNU Autoconf 2.72 for remind 06.00.02. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, @@ -601,8 +601,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='remind' PACKAGE_TARNAME='remind' -PACKAGE_VERSION='06.00.01' -PACKAGE_STRING='remind 06.00.01' +PACKAGE_VERSION='06.00.02' +PACKAGE_STRING='remind 06.00.02' PACKAGE_BUGREPORT='' PACKAGE_URL='https://dianne.skoll.ca/projects/remind/' @@ -1258,7 +1258,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -'configure' configures remind 06.00.01 to adapt to many kinds of systems. +'configure' configures remind 06.00.02 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1320,7 +1320,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of remind 06.00.01:";; + short | recursive ) echo "Configuration of remind 06.00.02:";; esac cat <<\_ACEOF @@ -1408,7 +1408,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -remind configure 06.00.01 +remind configure 06.00.02 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -1871,7 +1871,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by remind $as_me 06.00.01, which was +It was created by remind $as_me 06.00.02, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -4848,7 +4848,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by remind $as_me 06.00.01, which was +This file was extended by remind $as_me 06.00.02, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4913,7 +4913,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -remind config.status 06.00.01 +remind config.status 06.00.02 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 1aad2a1c..9f16883f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(remind, 06.00.01, , , https://dianne.skoll.ca/projects/remind/) +AC_INIT(remind, 06.00.02, , , https://dianne.skoll.ca/projects/remind/) AC_CONFIG_SRCDIR([src/queue.c]) cat <<'EOF' diff --git a/docs/WHATSNEW b/docs/WHATSNEW index 122cd68b..3321c736 100644 --- a/docs/WHATSNEW +++ b/docs/WHATSNEW @@ -1,5 +1,25 @@ CHANGES TO REMIND +* VERSION 6.0 Patch 2 - 2025-09-01 + +- CHANGE: Default $ParseUntriggered to 0 instead of 1. The default + could cause spurious warnings such as "type mismatch" warnings for + untriggered reminders. + +- TEST FIX: Explicitly set latitude and longitude in test files. + +- BUG FIX: remind: Don't add lines to "readline" history unless they + are actually being read from standard input. + +- BUG FIX: remind: On the command-line, make "-i$foo" behave the same + way as "-i$foo=0" as was documented in the man page. + +- BUG FIX: remind: Clamp the output of trigger() to "1 January 1990 AT + 00:00" if the UTC flag is used, even if it would actually produce a + result in 1989. + +- MINOR FIX: remind: Avoid "unused result" compiler warning. + * VERSION 6.0 Patch 1 - 2025-08-19 - NEW FEATURE: remind: Add readline support if input is taken from stdin diff --git a/man/remind.1.in b/man/remind.1.in index 1f9ffcbb..0906592b 100644 --- a/man/remind.1.in +++ b/man/remind.1.in @@ -11,8 +11,9 @@ reminder or alarm can consist of a message sent to standard output, or a program to be executed. .PP If \fIfilename\fR is specified as a single dash '-', then \fBRemind\fR -takes its input from standard input. - +takes its input from standard input. In this case, if \fBRemind\fR +has been compiled against the GNU Readline library, it will use +Readline to give you an interactive line-editing interface. .PP If \fIfilename\fR happens to be a directory rather than a plain file, then \fBRemind\fR reads all of the files (but not any subdirectories!) diff --git a/tests/test.cmp b/tests/test.cmp index fab4dea2..de79be32 100644 --- a/tests/test.cmp +++ b/tests/test.cmp @@ -1045,7 +1045,7 @@ set a057 value("a05"+"6") "a05" + "6" => "a056" value("a056") => "SDFJHSDF KSJDFH KJSDFH KSJDFH" set a058 version() -version() => "06.00.01" +version() => "06.00.02" set a059 wkday(today()) today() => 1991-02-16 wkday(1991-02-16) => "Saturday" @@ -2608,7 +2608,7 @@ a056 "SDFJHSDF KSJDFH KJSDFH KSJDFH" a007 "1991-02-16" a057 "SDFJHSDF KSJDFH KJSDFH KSJDFH" a008 "11:44" -a058 "06.00.01" +a058 "06.00.02" a059 "Saturday" a010 12 a060 6 @@ -5561,8 +5561,8 @@ REM SATISFY "" REM SATISFY [version() > "01.00.00"] ../tests/test.rem(1074): SATISFY: expression has no reference to trigdate() or $T... ../tests/test.rem(1074): Trig = Saturday, 16 February, 1991 -version() => "06.00.01" -"06.00.01" > "01.00.00" => 1 +version() => "06.00.02" +"06.00.02" > "01.00.00" => 1 ../tests/test.rem(1074): Trig(satisfied) = Saturday, 16 February, 1991 REM SATISFY [max(x, max(x, 1, 2, 3), 4, 5, 6) * 5] ../tests/test.rem(1075): SATISFY: expression has no reference to trigdate() or $T... @@ -23658,7 +23658,7 @@ SECURITY: Won't read world-writable file or directory! Error reading include_dir/ww: Can't open file SECURITY: Won't read world-writable file or directory! Error reading include_dir/ww: No files matching *.rem -06.00.01 +06.00.02 Enabling test mode: This is meant for the acceptance test. Do not use --test in production. In test mode, the system time is fixed at 2025-01-06@19:00