Compare commits

40 Commits

Author SHA256 Message Date
6a1d3fc587 Accepting request 1297577 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1297577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=59
2025-08-05 12:21:39 +00:00
Detlef Steuer
30643ba00e - VERSION 5.5 Patch 0 - 2025-07-28
- NEW FEATURE: remind:  Add the PUSH-VARS / POP-VARS commands and the
  analogous PUSH-FUNCS / POP-FUNCS commands.  These let you localize
  changes to variables and functions and help with writing more modular
  reminder files.
- INTERNAL CHANGES: Clean up the code following recommendations from
  an updated "cppcheck" executable.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=119
2025-07-28 19:44:27 +00:00
04aa3bd8f4 Accepting request 1295703 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1295703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=58
2025-07-25 15:06:37 +00:00
Detlef Steuer
dc4fabf978 - VERSION 5.4 Patch 2 - 2025-07-16
- MINOR CHANGE: remind: Allow daysinmon() to take a DATE or DATETIME
  argument.
- MINOR CHANGE: remind: All functions that want an integer month number
  will now also accept a string naming the month.
= UPDATE: include/holidays/chinese-new-year.rem: Add dates for Chinese
  New Year for 2051 through 2100.
- BUG FIX: remind: Set trigdate() correctly for a fully-specified
  date, even if it's in the past, as the manual documented.  Bug
  found by Tim Chase.
- DOCUMENTATION FIX: rem2html: Document the correct Perl module
  prerequisites.
- CODE FIXES: remind: Various minor improvements to the code with
  no user-visible changes.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=117
2025-07-18 08:09:02 +00:00
994cd15568 Accepting request 1287920 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1287920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=57
2025-06-24 18:47:23 +00:00
Detlef Steuer
824a6d725e - VERSION 5.4 Patch 1 - 2025-06-15
- MAJOR BUG FIX: remind: In some circumstances, a REM command could
  yield a trigger date after its UNTIL date, rather than recognizing it
  as having expired.  This has been fixed.  Bug found by Ian! D. Allen.
- BUG FIX: rem2pdf: Support the COLOUR special (as well as COLOR).
- MINOR IMPROVEMENT: Add include/utils/add-html-anchors.rem.  You can
  INCLUDE this file to get HTML anchors added to every calendar day
  by rem2html.
- DOCUMENTATION: Add NOTE-ABOUT-AI.txt

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=115
2025-06-16 11:19:27 +00:00
0380cfa7ca Accepting request 1284731 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1284731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=56
2025-06-11 14:27:15 +00:00
Detlef Steuer
40b7ed8539 OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=113 2025-06-04 08:41:28 +00:00
b1939c29b8 Accepting request 1277338 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1277338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=55
2025-05-14 15:01:48 +00:00
Detlef Steuer
245bafe8f1 - VERSION 5.3 Patch 7 - 2025-05-06
- IMPROVEMENT: examples/astro: Make moonrise/moonset appear after
  sunrise/sunset
- NEW FILES: Add include/solar-eclipses.rem and
  include/lunar-eclipses.rem for solar and lunar eclipses
  (respectively) in the 21st century.
- NEW SYSTEM VARIABLE: remind: Add $TimetIs64bit system variable,
  which is 1 if the built in time_t type is at least 64 bits, and 0
  otherwise.
- TEST FIX: "make test" now passes on systems with a 32-bit time_t
  type.
- BUG FIX: include/holidays/nl.rem: Use the correct rules for
  Koningsdag and Bevrijdingsdag, courtesy of Adrian P. van Bloois.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=111
2025-05-07 07:33:09 +00:00
8ee340b562 Accepting request 1274077 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1274077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=54
2025-05-03 18:59:13 +00:00
Detlef Steuer
828a826560 - VERSION 5.3 Patch 6 - 2025-04-25
- BUG FIX: remind: Make "remind -s" respect $DefaultColor.  Bug found by
  Tim Chase.
- DOCUMENTATION IMPROVEMENT: Make documentation of $SuppressLRM a bit
  more prominent
- UPDATE: contrib/remind-conf-mode: Add new functions moonrise,
  moonset, etc. to Emacs highlighting file
- MINOR IMPROVEMENT: examples/astro: Align output better
- MINOR FIX: src/moon.c: Change C++-style comments to C-style comments

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=109
2025-04-25 21:25:34 +00:00
405e8cf562 Accepting request 1265733 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1265733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=53
2025-04-02 15:11:10 +00:00
Detlef Steuer
a47d757eb8 - VERSION 5.3 Patch 5 - 2025-03-23
- NEW FEATURE: remind: Add moonrise, moonset, moonrisedir and moonsetdir
  functions.  The first two functions calculate the time of the next
  moonrise and moonset, and the second two calculate in which direction
  the moon will rise or set.  See the examples/astro script for examples
  of how to use the moonrise/moonset functions.
- CODE CLEANUPS: remind: Some minor code cleanups with no user-visible
  effects.
- IMPROVEMENT: Add tests for the astronomical calculation functions.
- UPDATE: Update the included json.c and json.h files to the latest
  versions from https://github.com/udp/json-parser
- BUG FIX: remind: The %2 and %@ sequences would print "0:34am" for the
  time 00:34, instead of the correct "12:34am".  This has been fixed.
- BUG FIX: TkRemind: Fix bug that broke the ability to open a text
  editor on a reminder from the "Queue..." listing.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=107
2025-03-24 09:22:42 +00:00
24160dbcb2 Accepting request 1253666 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1253666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=52
2025-03-17 21:18:39 +00:00
Detlef Steuer
a69f312c4c - VERSION 5.3 Patch 4 - 2025-03-09
- BUG FIX: remind: "make test" could fail if Remind was built in a locale
  other than "C".  This has been fixed.
- BUG FIX: Fix a typo in the remind man page.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=105
2025-03-10 09:38:20 +00:00
Detlef Steuer
e203789437 - VERSION 5.3 Patch 3 - 2025-03-03
- NEW FEATURE: remind: If a command spans more than one line (because of
  backslash line continuation) output both the starting and ending line
  number in error messages.
- NEW FEATURE: remind: In the JSON -pp and -ppp output, include a new key
  lineno_start to specify the starting line of a multi-line reminder.
  The existing lineno key specifies the ending line; this is maintained
  for backward-compatibility.
- MINOR IMPROVEMENT: include/holidays/misc.rem: Add a few new holidays and
  URL INFO strings.
- CHANGE: remind: Issue a warning if a time-related subsitution sequence
  is used with a non-timed REM command.
- BUG FIX: remind: Fix a memory leak.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=104
2025-03-03 17:37:17 +00:00
78e7f3a8f9 Accepting request 1246393 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1246393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=51
2025-02-17 19:56:35 +00:00
Detlef Steuer
8aa91d4c93 - VERSION 5.3 Patch 2 - 2025-02-09
- CHANGE: remind: Revert a change to the way "-y" tags are generated that
  was introduced in 05.03.01.  The change broke a library that depended
  on it being generated in the old way.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=102
2025-02-10 09:10:16 +00:00
Detlef Steuer
d10d68fdea - VERSION 5.3 Patch 1 - 2025-02-07
- IMPROVEMENT: TkRemind: When we pop up a timed reminder, make any "Url:"
  info string into a clickable link.
- IMPROVEMENT: rem2pdf: Improve the layout of the small monthly calendars.
- BUG FIX: rem2pdf: Add checks for all Perl dependencies.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=101
2025-02-09 10:26:15 +00:00
Detlef Steuer
cc902611a9 - VERSION 5.3 Patch 0 - 2025-02-04
- NEW FEATURE: remind: Add the "INFO" clause to the REM command.  This
  is intended for storing additional metadata about an event, such as
  the location and a longer description.  The intention is to make
  Remind <-> iCal conversions preserve as much information as possible.
- NEW FEATURE: rem2html, rem2pdf, tkremind: Add support for the "Url:"
  info string that turns reminders into hyper-links.  For example,
  consider this reminder:
      REM 15 INFO "Url: https://foo.example" MSG Foo
  The text "Foo" will be made into a link to "https://foo.example"
  by rem2html and rem2pdf.  If you middle-click it in tkremind, it
  will open the URL.
- NEW FEATURE: remind: Add the triginfo() built-in function so a reminder
  body can refer to INFO data.  Add the %<...> substitution filter as a
  shorthand for [triginfo("...")]
- NEW FEATURE: TkRemind: Add "Location" and "Description" fields when
  creating a reminder; these are converted to INFO clauses.  Also support
  a popup window with the extra information when hovering over a reminder
  in the calendar display.
- IMPROVEMENT: Update the reminder files included with Remind to add
  INFO strings with Wikipedia URLs for various holidays and
  astronomical events.
- IMPROVEMENT: remind: Add the "\xAB" escape sequence for parsing quoted
  strings, where "AB" is a pair of hex digits.
- NEW FUNCTION: remind: Add the escape() built-in function that converts
  problematic characters within a string to the \-escaped versions.
  It's essentially the inverse of how Remind parses a quoted string.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=100
2025-02-04 16:23:08 +00:00
a02c16e9bb Accepting request 1241324 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1241324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=50
2025-01-30 13:53:06 +00:00
Detlef Steuer
915e3ccddf - VERSION 5.2 Patch 3 - 2025-01-22
- NEW FEATURE: remind: Add "TRANSLATE GENERATE" command for generating
  a skeleton set of TRANSLATE commands to make it easier to localize
  Remind.
- NEW FEATURE: remind: Add "q" debug flag for tracing calls to _()
  or %(...) in the substitution filter; this will help with localizing
  reminder files.
- NEW FILES: remind: Add holidays/lgbtq.rem for LGBTQ holidays.  Add
  country-specific files in holidays/lgbtq/*.rem
- IMPROVEMENT: TkRemind: use "info patchlevel" to display full Tcl/Tk
  version.
- IMPROVEMENT: remind: The DEBUG command issues a warning if given an
  unknown debug flag.
- BUG FIX: remind: "make test" will now succeed even if run between
  23:55 and 00:00 UTC.  This is done with a new --test flag for remind.
- BUG FIX: remind: Avoid potential buffer overflow if someone supplies
  ridiculously-long translations for "am" or "pm".

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=98
2025-01-23 10:17:59 +00:00
e9db62d66e Accepting request 1237661 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1237661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=49
2025-01-14 15:24:08 +00:00
Detlef Steuer
2ddf9e6678 - VERSION 5.2 Patch 2 - 2025-01-06
- NEW FEATURE: remind: The "-p+" option lets you produce weekly calendars;
  so far, the rem2pdf and rem2html back-ends support rendering of weekly
  calendars.
- NEW FEATURE: remind: The $CalType system variable indicates the type of
  calendar being produced; its value is one of "monthly", "weekly",
  or "none".  "none" signifies agenda mode rather than calendar mode.
- IMPROVEMENT: remind: Warn if a POP-OMIT-CONTEXT matches a
  PUSH-OMIT-CONTEXT that is in a different file.
- CHANGE: remind: Split the "-ds" debug option into two separate options:
  "-ds" for debugging expression-parsing and "-dh" for printing hash
  table statistics on exit.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=96
2025-01-07 08:58:28 +00:00
8ac62e20b5 Accepting request 1233246 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1233246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=48
2024-12-24 15:27:02 +00:00
Detlef Steuer
8bc3b3476a - VERSION 5.2 Patch 1 - 2024-12-16
- BUG FIX: remind: Fix a logic error that only showed itself on big-endian
  architectures.  Found thanks to Debian testing and a notification from
  Jochen Sprickerhof.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=94
2024-12-17 09:47:01 +00:00
Detlef Steuer
1d82c2e95f - VERSION 5.2 Patch 0 - 2024-12-16
- MAJOR NEW FEATURE: remind: Add the TRANSLATE command, the _()
  built-in function and the %(...) substitution sequence.  These allow
  you to localize your reminder files more easily.  The translation table
  is also made available to back-ends like rem2pdf and tkremind,
  which they can use as they see fit.
- MINOR FEATURE: tkremind, rem2html: Localize the names of the moon
  phases.
- MAJOR CHANGE: remind: Remind used to support compile-time localization
  into different languages (French, English, etc.)  That compile-time
  support has been removed and all localization is now done at run-time.
- NEW FEATURE: remind: In JSON daemon mode (-zj), the front-end can
  request translation table entries from the Remind daemon, allowing the
  front-end to localize messages.
- UPDATE: Update national holidays following update to upstream Python
  library.
- MINOR FEATURE: Add standard include/sun.rem file for sunrise/sunset.
- MINOR FEATURE:  The SYSINCLUDE command has been added.  The command:
      SYSINCLUDE foo/bar.rem
  is equivalent to:
      INCLUDE [$SysInclude]/foo/bar.rem
- MINOR IMPROVEMENT: Allow INCLUDE, DO and SYSINCLUDE to include files with
  spaces in their names; in this case, you have to put the filename inside
  double-quotes.
- IMPROVEMENT: remind: Refuse to open subdirectories named "*.rem"
  under a top-level directory rather than trying and failing with a
  confusing error.
- IMPROVEMENT: contrib/remind-conf-mode: Fix a few bugs and choose colors
  that are easier on the eyes.
- IMPROVEMENT: remind: Remind used to have three completely separate

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=93
2024-12-16 14:55:31 +00:00
5d22bdd84e Accepting request 1227290 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1227290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=47
2024-11-30 12:28:00 +00:00
Detlef Steuer
c20a91bb69 - VERSION 5.1 Patch 1 - 2024-11-18
- Fix test failure
- VERSION 5.1 Patch 0 - 2024-11-18
- MAJOR IMPROVEMENT: Include holiday files for many countries and
  regions, courtesy of the Python "holidays" project:
  https://pypi.org/project/holidays/  See include/holidays/README
  for usage instructions and important caveats
- NEW FEATURE: remind: Added the $DedupeReminders system variable; see
  its documentation in the remind man page for details.
- NEW FEATURE: remind: Added the FRENAME command to rename a user-defined
  function.  See its documentation in the remind man page for use-cases.
- NEW FEATURE: remind: Added the $DefaultDelta system variable that
  specifies a default (date) delta for reminders that lack one.  It is
  analogous to the default time delta system variable $DefaultTDelta.
- IMPROVEMENT: remind: Added a way for the output of msgsuffix() to appear
  on the same line as a reminder rather than on the next line.  See the
  remind man page for details.
- UPDATE: contrib/ical2rem: Update to upstream version 0.8
- DOCUMENTATION FIXES: Many updates and clarifications to the man pages.
- BUG FIX: Fixed configure.ac so that autoreconf works.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=91
2024-11-22 08:46:35 +00:00
f15e8e6270 Accepting request 1219510 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=46
2024-10-30 16:40:26 +00:00
Detlef Steuer
5a96a8f2ea - VERSION 5.0 Patch 7 - 2024-10-16
- NEW FEATURE: tkremind: Add option to create a desktop notification when
  a queued reminder is triggered.  For Tcl/Tk 9.0 or later, uses the native
  "tk sysnotify" facility.  For earlier versions of Tcl/Tk, executes the
  "notify-send" program if possible.
- NEW FEATURE: remind: Add --print-config-cmd option which prints the
  exact ./configure command used to build Remind.  This will let you
  configure future Remind releases exactly the same way an installed
  version was configured.
- UPDATE: include/holidays/ca.rem: Add National Day for Truth and
  Reconciliation to Canadian holiday list.
- MINOR IMPROVEMENTS: Update examples/ansitext and examples/astro
- MINOR IMPROVEMENT: remind: Use HashPJW to hash variable and function
  names; make the hash table size a prime rather than a power of two.
  This seems to improve hash performance ever so slightly in most cases.
- UPDATE: Update contrib/ical2rem to upstream version 0.7.1
- FIX: tkremind: Make tkremind work with Tcl/Tk 8.5 or higher, including
  Tcl/Tk 9.0
- MINOR CHANGE: remind: Add hash table statistics to "-ds" debugging
  output.  This is probably of no use to anyone except the author of
  Remind.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=89
2024-10-17 07:14:45 +00:00
9e5ab5df46 Accepting request 1202697 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1202697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=45
2024-09-24 15:33:00 +00:00
421139da10 Accepting request 1201436 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1201436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=44
2024-09-17 16:17:40 +00:00
Detlef Steuer
9fd297c287 - VERSION 5.0 Patch 6 - 2024-09-16
- NEW FEATURE: remind: Include a file containing the dates of Chinese
  New Year through 2050.
- NEW FEATURE: remind: Add $SuppressImplicitWarnings system variable.
  Setting this to 1 suppresses the warnings "Unrecognized command;
  interpreting as REM" and "Missing REM type; assuming MSG"
- NEW FEATURE: remind: Add --print-tokens command-line argument.  This
  simply prints all of Remind's built-in tokens, functions, and system
  variables.  It's designed to help people who are writing editor
  add-ons for syntax highlighting.
- CHANGE: remind: allow '12:34' to be parsed as a TIME constant.  This
  matches DATEs and DATETIMEs which are enclosed in single-quotes.
  (The quotes are optional for TIME constants, however.)
- IMPROVEMENT: Improve many error messages and warnings.
- UPDATE: contrib/ical2rem: Update to upstream version 0.7
- IMPROVEMENT: contrib/remind-conf-mode: Improve the Emacs
  remind-conf-mode package.  Add new keywords and make comment
  highlighting correct.
- FIX: remind man page: Remove note saying REM can be omitted.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=86
2024-09-16 14:45:29 +00:00
Detlef Steuer
0fe81316ef - VERSION 5.0 Patch 5 - 2024-09-02
* CHANGE: remind: When using the "-c" option and with the SHADE special
  enabled, shade the entire calendar box including the line containing the
  day number.
* IMPROVEMENT: remind: Better error messages when diagnosing certain
  errors in expressions.
* IMPROVEMENT: include/holidays/jewish.rem: Remove unnecessary _h()
  function definition.
* BUG FIX: remind: In a couple of spots when we parsed a character, we did
  not check for an error return.  This has been fixed.
* BUG FIX: remind: Fix edge-case bugs in "remind -c" output formatting.
* BUG FIX: make test: Fix a test that was broken for all of September 2024.
* BUG FIX: remind: Fix a couple of potential file-descriptor leaks.
* BUG FIX: contrib/ical2rem.pl: Replace "SCHED _sfun" with "+15" to
  hard-code 15-minutes advance warning rather than using an undefined
  scheduling function.  If this is not what you want, you should edit
  ical2rem.pl to suit your taste; it's not officially part of Remind and
  is meant more as a starting point for you to customize than a finished
  product.
* DOCUMENTATION FIX: Remove obsolete info from Remind man page.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=85
2024-09-09 13:21:18 +00:00
Detlef Steuer
1df9dd6708 removing old source remind-05.00.03.tar.gz
OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=84
2024-09-09 13:00:43 +00:00
Detlef Steuer
8d8d8484d9 - VERSION 5.0 Patch 4 - 2024-08-29
* IMPROVEMENT: remind: When checking if a SATISFY expression refers to the
  trigger date, look recursively at any user-defined functions it calls.
  This reduces spurious warnings.
* CHANGE: remind: Allow any type to be used as the test argument for IIF.
* IMPROVEMENT: remind man page: Clarify how various types are treated
  in boolean context.
 
* VERSION 5.0 Patch 3 - 2024-08-28
* IMPROVEMENT: remind: Preserve newlines ("%_" sequences) in calendar
  mode in most cases.  See the remind man page for details.
* IMPROVEMENT: rem2pdf: rem2pdf can now produce PostScript and
  Encapsulated PostScript output in addition to PDF and SVG.
* IMPROVEMENT: remind: Emit warnings if a subst_XXX function takes the
  wrong number of arguments, or for custom sequences, if the function
  is not defined.
* IMPROVEMENT: remind: Emit warnings if WARN/SCHED/OMITFUNC functions
  do not reference their argument.
* IMPROVEMENT: remind: Allow strings to be used with logical
  operators.  The empty string "" is considered false and all other
  strings are considered true.
* IMPROVEMENT: remind: Emit warnings for lines that are implicitly
  treated as REM commands; add warnings for REM commands that are
  implicitly treated as MSG-type reminders.
* IMPROVEMENT: remind: Add an optional fourth argument to the built-in
  ampm() function that specifies not to suppress a leading zero in the
  hour component.
* IMPROVEMENT: remind: If a SATISFY expression is not constant and
  doesn't reference the trigger date somehow, issue a warning.
* IMPROVEMENT: remind: Add a warning if a user-defined function is

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=83
2024-09-09 12:59:56 +00:00
04c6a547ee Accepting request 1191246 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1191246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=43
2024-08-03 18:04:52 +00:00
Detlef Steuer
912438ae92 - VERSION 5.0 Patch 2 - 2024-07-26
* IMPROVEMENT: Remind: Revamp how ONCE works.  You can now set a
  special variable $OnceFile to be the path to a timestamp file.  The
  ONCE directive uses this timestamp file to track when it was last
  run rather than the access date of the main reminder script.  This
  is more reliable because it doesn't rely on the atime of a file
  (which might not be maintained accurately) and is not affected if
  you edit your reminder script.
* CHANGE: Taking input from stdin no longer implies the "-o" option; ONCE can
  work if you set $OnceFile
* CHANGE: Any of the -c, -n, -p and -s options implicitly enable the
  -o option.  As before, specifying a repeat factor *N or a date that
  is not today on the command-line also implies -o.
* MINOR NEW FEATURE: Rem2PDF: Add the "--svg" command-line option to produce
  SVG output rather than PDF.
* MINOR IMPROVEMENT: Remind: Improve the storage efficiency of short
  string constants in compiled expression trees.
* MINOR IMPROVEMENT: Remind: Remove some obsolete macro definitions

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=81
2024-07-26 17:01:12 +00:00
4 changed files with 6 additions and 397 deletions

3
remind-05.05.00.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc57fe8399cdc443344b9d1413bc31d47732156438bdd1d3d82d1a833ffacbed
size 8975080

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2cc930169e78fe6504491c4125a17fcedfc4b0c5446a738f339b428b4823e2c2
size 9036215

View File

@@ -1,394 +1,3 @@
-------------------------------------------------------------------
Tue Nov 11 22:53:45 UTC 2025 - Detlef Steuer <detlef.steuer@gmx.de>
* VERSION 06.02.01 - 2025-11-10
- BUG FIX: remind: Obey $ParseUntriggered in Calendar Mode. Before,
$ParseUntriggered was always being treated as 1 in Calendar Mode.
- BUG FIX: TkRemind: Fix some buggy interactions between the Options
dialog and the font chooser.
- TEST FIX: One test was consistently failing under MUSL, and it is
not clear whether MUSL's or glibc's interpretation is correct.
Remove that test so all tests pass under MUSL.
-------------------------------------------------------------------
Mon Nov 3 21:14:53 UTC 2025 - Detlef Steuer <detlef.steuer@gmx.de>
* VERSION 06.02.00 - 2025-11-03
- MAJOR NEW FEATURE: TkRemind: A new "View..." menu lets you choose a
calendar view from the following choices: Entire month, 1 week, 2
weeks or 4 weeks.
- NEW FEATURE: remind: The "z" flag for the "-c" option makes Remind
turn reminders with a "Url:" INFO string into clickable hyperlinks.
Note that your terminal must support the escape sequences at
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
for this feature to work.
- IMPROVEMENT: TkRemind: The Print dialog now allows you to preview
(and if you wish, adjust) the command used to print a calendar.
- IMPROVEMENT: TkRemind: The Agenda Mode window ("Show Today's
Reminders") has navigation buttons for moving back or forward one
day at a time.
- IMPROVEMENT: TkRemind: Add many keyboard shortcuts. All pop-up
windows can be closed with Esc or Control-W. Other shortcuts are
documented in the tkremind man page.
- CHANGE: TkRemind: If you hand-edit a reminder in the "Preview
Reminder" dialog box, it is marked as non-editable by TkRemind.
- CHANGE: TkRemind: Remove support for rem2ps. All printing is now
done using rem2pdf.
- IMPROVEMENT: remind: Improve error reporting if there's extraneous
content after an expression.
- IMPROVEMENT: tests: test-rem was tweaked to allow testing of an
installed Remind installation. This work was done by Jochen
Sprickerhof.
- IMPROVEMENT: rem2pdf: When rendering weekly calendars, reduce the
default size when drawing moons; if a day does not have a moon
indicator, don't leave a big gap before the first reminder entry.
- IMPROVEMENT: rem2pdf: Draw moon phases left-aligned.
- IMPROVEMENT: rem2pdf: For weekly calendars with 4 weeks per page,
make all of the boxes the same height.
- DOCUMENTATION IMPROVEMENT: remind: Document the INFO strings that
back-ends should strive to support (Url:, Location: and
Description:)
- BUG FIX: TkRemind: Bind the Home/End/PgUp/PgDn keys on the numeric
keyboard for navigation.
- FIX: Don't enable -ffat-lto-objects on FreeBSD.
- BUG FIX: remind: Don't segfault if we can't open a .purged output
file in purge mode.
- BUG FIX: rem2pdf: Make PANGO @x,y positioning consistent between
weekly and monthly calendars. NOTE: If you use absolute PANGO
positioning, you might need to adjust your script because positions
are now relative to the centers of the grid lines.
-------------------------------------------------------------------
Wed Oct 29 11:23:55 UTC 2025 - Detlef Steuer <detlef.steuer@gmx.de>
* VERSION 06.01.08 - 2025-10-27
- BUG FIXES: tkremind: Fix many bugs with modal dialogs: Clicking too fast
to launch them could cause error messages; closing them with the window
manager "close" button rather than "Cancel" could cause errors. Thanks
to Tug Williams for finding these bugs.
- MINOR NEW FEATURE: tkremind: The "Print" dialog has a "Show Command"
button that lets you cut-and-paste the command tkremind would have used
for printing. You can then customize it as you like.
- MINOR FIXES: remind: A few silly errors in the man page were fixed.
* VERSION 06.01.07 - 2025-10-23
- IMPROVEMENT: tkremind: Add a "help" button that pops up the TkRemind man
page (and offers a browser for all the remind-related man pages.)
- MINOR IMPROVEMENT: rem2pdf: Leave less whitespace between the day number and
the entries in a calendar box.
- MINOR IMPROVEMENT: make test: If hunspell is installed, check the spelling
of *all* man pages. Previously, some were being missed.
- DOCUMENTATION IMPROVEMENT: WHATSNEW: Make the version numbers in this file
exactly match the ones reported by "remind --version". That is, we say
"06.01.07" instead of "Version 6.1 Patch 7".
* VERSION 06.01.06 - 2025-10-20
- NEW FEATURE: rem2pdf: Add command-line options to set colors of various
parts of the calendar such as the gridlines, the day numbers, etc.
- NEW FEATURE: rem2pdf: Add a command-line option to make the calendar title
into a hotlink to a URL that you supply.
- IMPROVEMENT: remind: Make the tzconvert() function warn about possibly
invalid time zone names, similar to the warning issued by the TZ keyword.
- IMPROVEMENT: "make test": If spellintian and hunspell are installed,
use them to spell-check and lint the man pages and README.md file.
- PORTABILITY IMPROVEMENT: Make Remind compile on OpenIndiana (a
Solaris derivative.) "make test" fails because of deficiencies in
the Solaris C library, however.
- MINOR FIXES: Fix various spelling errors caught by hunspell.
- BUG FIX: rem2pdf: Correct a bug in the coordinate-tracking of calendar boxes
so that SHADE fills the entire box and absolutely-positioned PANGO items
are positioned correctly.
- MINOR BUG FIX: remind: Suppress spurious debugging output when using
"-dt" flag with a TZ clause.
- MINOR BUG FIX: remind: For the purposes of purge mode, don't consider a
non-constant expression in the *body* of a reminder to be a problem.
- MINOR BUG FIX: remind: Fix a couple of (unlikely-to-be-triggered) memory
leaks.
- MINOR BUG FIX: include/holidays/jewish.rem: Don't leak private
functions and variables to the calling file.
-------------------------------------------------------------------
Thu Oct 9 20:00:55 UTC 2025 - Detlef Steuer <detlef.steuer@gmx.de>
* VERSION 6.1 Patch 5 - 2025-10-09
- BUG FIX: remind: Yet another bug in TZ handling was fixed. I hope this
is the final TZ bug; the test suite has had a large number of TZ tests
added.
- IMPROVEMENT: remind: If the directory /usr/share/zoneinfo exists, Remind
warns about time zone names that look invalid. You can override the
warning by prefixing your time zone name with "!" if you want to use
non-file-based time zone names like "UTC+0400".
- MINOR IMPROVEMENTS: A couple of man page typos were fixed.
* VERSION 6.1 Patch 4 - 2025-10-08
- BUG FIX: remind: In calendar mode, reminders that specify a TZ zone
that is *behind* the system time zone could sometimes not show up.
The bug has been fixed; thanks to Jin Chen for reporting it.
- CHANGE: remind: Any time Remind runs another program (for example,
in response to REM ... RUN, the shell() command, the -k option, or
INCLUDECMD) it connects that command's standard input to /dev/null
so that it cannot interfere with the main Remind process's standard
input.
- BUG FIX: remind: Don't set up an inotify file descriptor if we are
not running in Daemon Mode.
- MINOR IMPROVEMENT: remind: When using readline to read from a
terminal, include the line number in the Remind> prompt.
- IMPROVEMENT: lang/*.rem: Suppress redefined function warnings if you
include one language file and then later on a different one.
- IMPROVEMENT: remind: Make the output of "make test" slightly more
verbose; color-code the PASS and FAIL results if standard output
refers to a terminal.
- CHANGE: include/holidays/*.rem: Add %"..%" markers and %! %b
suffixes to all reminders. This prevents you from having to use the
msgsuffix() hack if you want advance warning of holidays.
If you *are* using the msgsuffix() hack, you should stop using it!
Just set $DefaultDelta. See include/holidays/README for details.
-------------------------------------------------------------------
Wed Oct 1 08:39:00 UTC 2025 - Detlef Steuer <detlef.steuer@gmx.de>
* VERSION 6.1 Patch 3 - 2025-09-30
- IMPROVEMENT: remind: Issue a warning that SCANFROM should be used
with ADDOMIT in cases where Remind detects a movable OMIT.
- NEW FEATURE: remind: Add $WarningLevel system variable. This lets
you suppress warnings added by new versions of Remind until you have
a chance to update your remind scripts.
- BUG FIX / IMPROVEMENT: include/holidays/*.rem: Simplify the logic
used for moving holidays before/after weekends. Also fixes bugs
found in the logic used to move New Year's Day. Thanks to Nimrod
Levy for pointing out the New Year's Day bug.
- IMPROVEMENT: include/holidays/jewish.rem: This file was reworked by
Nimrod Levy to simplify logic and optionally add the counting of the
Omer.
- BUG FIX: remind: "remind -c" would add an unnecessary blank line for
completely-empty calendar rows if you used the "-w,0,0" option.
This is now fixed. Bug pointed out by Tim Chase.
-------------------------------------------------------------------
Mon Sep 22 13:17:03 UTC 2025 - Detlef Steuer <detlef.steuer@gmx.de>
* VERSION 6.1 Patch 2 - 2025-09-19
- BUG FIX: remind: A reminder on a specific fixed date and time that
uses the TZ feature could erroneously issue a "Can't compute trigger"
error. This has been fixed.
- CHANGE: remind: The default for --max-expr-complexity is 10,000,000
(ten million) instead of unlimited. This should not affect any
real-world Remind scripts.
-------------------------------------------------------------------
Sat Sep 13 07:42:24 UTC 2025 - Detlef Steuer <detlef.steuer@gmx.de>
* VERSION 6.1 Patch 1 - 2025-09-12
- NEW FEATURE: remind: Add the new --max-expr-complexity=n
command-line argument. It is possible to write expressions that use
enormous amounts of CPU time, such as the following:
FSET fib(n) iif(n <= 2, 1, fib(n-1)+fib(n-2))
SET a fib(100)
That will take essentially forever to execute, but will not hit the
built-in recursion limit. Using a command-line argument of
--max-expr-complexity=1000000 will terminate evaluation in a few
dozen milliseconds on modern hardware, and should not affect
realistic reminder scripts. See the man page for details.
- IMPROVEMENT: remind: Add UTF-8-aware functions to complement the
byte-aware functions that could give incorrect results by splitting
a UTF-8 character sequence. The correspondence between old and new
functions is:
NON-UTF-8-AWARE UTF-8-AWARE
=============== ===========
strlen mbstrlen
substr mbsubstr
index mbindex
char mbchar
asc codepoint
See the remind(1) man page for details.
- MINOR NEW FEATURE: remind: You can use hexadecimal integer constants
like 0xFE12 in expressions. This is mostly useful for using
codepoint() since Unicode code points are often expressed in
hexadecimal.
- BUG FIX: remind: When truncating a string when executing DUMPVARS or
during debugging of expression evaluation, Remind could sometimes
cut the string in the middle of a UTF-8 sequence. This has been
fixed.
* VERSION 6.1 Patch 0 - 2025-09-08
- MAJOR NEW FEATURE: remind: The TZ keyword lets you specify a time
zone for a REM command. All trigger calculations are performed in
the named time zone.
- DOCUMENTATION: Update README.md to document prerequisites for readline
support.
- DOCUMENTATION: remind.1: Document system variables such as $T that can
have multiple types.
- BUG FIX: remind: If Remind was run interactively ("remind -c -" with
readline support enabled) it would not properly cache the input
file, but would keep asking for interactive input. This has been
fixed.
* 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
(ie, "remind -"). This gives you full editing support if you run
Remind interactively.
- BUG FIX: remind: Fix buffer overflow in DUMPVARS command.
Thanks to Jochen Sprickerhof for helping me find this bug.
* VERSION 6.0 Patch 0 - 2025-08-18
- MAJOR NEW FEATURE: remind: Introduction of TODOs. These are similar
to normal reminders, but (in Agenda Mode) you keep getting reminded
of them even once they are in the past, unless you specifically mark
them as completed.
- MAJOR NEW FEATURE: remind: The --json long option causes Remind to
output JSON in Agenda Mode instead of the normal text output. See
tkremind for an example of how a front-end can use this output.
- MINOR NEW FEATURE: remind: The RETURN statement can be used to skip
the rest of the current file. Useful for early exit from an
INCLUDEd file.
- MINOR NEW FEATURE: remind: Allow the %:, %!, %?, %@ and %#
substitution sequences to be overridden by defining the functions
subst_colon, subst_bang, subst_question, subst_at and subst_hash,
respectively.
- SAFETY IMPROVEMENT: remind: If a function is defined in a context
where RUN is disabled, disable RUN during the evaluation of the
function. Also disable RUN for all subst_XXX callbacks and the
ordx(n) callback.
- MAJOR IMPROVEMENTS: tkremind: TkRemind has been given an overhaul.
The "Show Queue" and "Show Today's Reminders" windows now respect
the color scheme. TkRemind lets you create TODO reminders and
easily mark them completed. You can right-click on a day number
to get a window with Agenda Mode reminders for that day.
- MINOR IMPROVEMENT: remind: Language packs can define an ordx(n)
function that localizes ord(n). If this function is defined, then
ord(n) automatically calls it rather than using its built-in English
localization. Appropriate ordx(n) definitions have been added to
all language packs.
- MINOR IMPROVEMENT: remind: The %b substitution sequence handles
dates in the past (because of TODOs). The %! sequence considers
both date and time, and can be used with non-timed reminders. The
new %? sequence is similar to %!, but outputs "are" and "were"
instead of "is" and "was". The new %*! and %*? sequences are
similar to %! and %?, but compare the trigger date to realtoday()
instead of to today().
- MINOR IMPROVEMENT: remind: Downgrade a SPECIAL COLOR... with
out-of-range color values to a normal MSG-type reminder.
- MINOR IMPROVEMENT: include/lang/nl.rem: Use "eergisteren" for "2
days ago" and "overmorgen" for "in 2 days' time."
- MINOR IMPROVEMENT: tkremind: TkRemind now passes all command-line
options back to Remind.
- TEST IMPROVEMENT: remind: Add --flush option and use it in tests to
have more predictable interleaving of stdout/stderr output.
- BUG FIX: tkremind: In a couple of places, the "eval" command was used
where the intention was to use "catch". I blame Perl...
- BUG FIX: remind: SCANFROM and FROM are separated out internally, and
in the JSON output, the original FROM or SCANFROM value is
preserved, including relative SCANFROMs.
- BUG FIX: tkremind: Remove some extraneous semicolons.
- DOCUMENTATION FIX: Fix some man-page format directive errors;
tweak wording in several pages.
-------------------------------------------------------------------
Mon Jul 28 19:43:12 UTC 2025 - Detlef Steuer <detlef.steuer@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package remind
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,9 @@
Name: remind
Version: 6.2.1
Version: 5.5.0
Release: 0
%define tar_version 06.02.01
%define tar_version 05.05.00
Summary: A sophisticated calendar and alarm program
License: GPL-2.0-only
Group: Productivity/Office/Organizers