SHA256
5
0
forked from pool/remind

116 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
093c998c4d Accepting request 1181280 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1181280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=42
2024-06-17 17:33:53 +00:00
Detlef Steuer
5818c851c2 - VERSION 5.0 Patch 1 - 2024-06-08
* MINOR IMPROVEMENT: Add short-circuit evaluation to the isany() function,
  which now only evaluates those arguments absolutely necessary to determine
  the result.
* BUG FIX: Mark weekno() as a non-constant function (the zero-argument form
  depends on external conditions.)
* BUG FIX: Fix a couple of memory leaks.
* BUG FIX: Don't rely on support for unnamed function parameters; this caused
  compilation failures with older versions of gcc.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=79
2024-06-10 09:45:42 +00:00
Detlef Steuer
381995c1a7 - VERSION 5.0 Patch 0 - 2024-06-06
* MAJOR CHANGE: The expression evaluation engine has been completely replaced
  with a new one that splits parsing and evaluating into two separate steps.
  It also features short-circuit evaluation of &&, ||, iif() and choose().
  This should speed up expression-heavy reminder files.
  NOTE INCOMPATIBILITY: In expressions with side-effects, the short-circuit
  evaluation might change the result you get.  For example, consider
  running the following file through: remind file.rem 2024-06-04
    SET a trig("Mon +7") || trig("Thu +7")
    MSG trig = [trig()]
  Older Remind versions will output:
    trig = 2024-06-06
  whereas this version outputs:
    trig = 2024-06-10
  because the second part of the "||" expression is not evaluated.  The vast
  majority of Remind expressions do not have side-effects and should yield
  the same results as before.
  The newer expression engine also permits recursive functions, but
  these are not recommended.  Still, if you want to, you can do:
    fset factorial(n) iif(n <= 1, 1, n*factorial(n-1))
  and it will work for values of n that don't cause integer overflow.
* IMPROVEMENT: If there's an unmatched PUSH-OMIT-CONTEXT, print the
  filename and line number containing it.
* IMPROVEMENT: If there's an IF with a missing ENDIF, print the filename
  and line number of the IF statement.
* NEW FEATURE: Add EXPR OFF command to completely disable expression
  evaluation.  Useful if you INCLUDE files that you don't expect to
  contain expressions and may come from slightly untrustworthy sources.
* NEW FEATURE: Add $ExpressionTimeLimit system variable to enforce a
  maximum limit on how long evaluating an expression is allowed to take.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=78
2024-06-06 15:07:36 +00:00
3db6301159 Accepting request 1172390 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1172390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=41
2024-05-07 16:04:45 +00:00
Detlef Steuer
93c1cfb2e8 - VERSION 4.3 Patch 7 - 2024-04-29
* IMPROVEMENT: build.tk: Add a note if build.tk obtains default settings
  from an existing Remind installation.
* IMPROVEMENT: configure: Pass all args to AC_INIT including the Remind
  home page.  Remove some unused autoconf cruft.
* IMPROVEMENT: Use standard C library versions of strdup, strcasemp and
  strncasecmp where available, rather than using our own versions.
* MINOR FEATURE: remind: Make $Tt a synonym for trigtime().
* BUG FIX: remind: Make sure shellescape() doesn't mangle UTF-8 characters
  with high-bits set.
* BUG FIX: remind: Don't rely on undefined behavior of "%" operator in
  the ord() built-in function.
* BUG FIX: remind: Do not clear out trigtime() unnecessarily.  Before,
  you could not write things like the following; now you can:
      REM Tue AT 11:30 DURATION 0:30 MSG Thing 1
      REM Tue AT [trigtime()+trigduration()] DURATION 1:00 MSG Thing 2
      REM Tue AT [trigtime()+trigduration()] DURATION 0:45 MSG Thing 3
  for successive reminders that should be moved as a block if the time of
  the first one changes.
* BUG FIX: Don't update trigdate() or trigtime() while parsing a REM
  statement... only when actually computing the trigger.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=76
2024-04-30 08:43:29 +00:00
a9e0c078b5 Accepting request 1168554 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1168554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=40
2024-04-17 14:20:40 +00:00
Detlef Steuer
4ee2567b08 - VERSION 4.3 Patch 6 - 2024-04-02
* NEW FILE: Add [$SysInclude]/holidays/pt.rem - Portuguese holidays, courtesy
  of Joop Kiefte.
* BUG FIX: remind: Fix compile error on systems that don't support inotify(7).
* BUG FIX: remind: Fix test failures on FreeBSD.  On FreeBSD, you have to copy
  the result of getenv() or else a subsequent setenv() can change the stored
  value.
* VERSION 4.3 Patch 5 - 2024-04-01
* IMPROVEMENT: remind: Use inotify to detect reminder file changes
  even in regular daemon mode (-zn where n>0).
* INTERNAL IMPROVEMENTS: Rearrange and refactor some code.
* FIXES: Various fixes and improvements to man pages.
* BUG FIX: remind: Handle queued "SPECIAL COLOR" reminders correctly.
* BUG FIX: remind: Preserve the value of $DefaultColor that was in effect
  when a reminder was queued; restore it before issuing the queued reminder.
* VERSION 4.3 Patch 4 - 2024-03-25
* NEW FEATURE: remind: Add the new "multitrig" function, which is how "trig"
  should have worked in the first place.  See man page for details.
* IMPROVEMENT: tkremind: Make errors in your reminders file stand out more
  prominently.
* IMPROVEMENT: tkremind: If you click on an error in the "Errors..." popup,
  tkremind will open a text editor on the offending file and line.
* IMPROVEMENT: tkremind: Format the "Queue..." output better and make queue
  items clickable; clicking on a queue item opens a text editor on the
  corresponding file and line.
* IMPROVEMENT: Add a standard [$SysInclude]/moonphases.rem file to display
  moon phases on your calendar.
* IMPROVEMENT: Clean up the demo code in www/ and add PDF output.
* BUG FIX: tkremind: Correctly handle filenames containing spaces and other
  characters that tend to confuse the shell.

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=74
2024-04-10 12:10:59 +00:00
07b82fdfce Accepting request 1157650 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1157650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=39
2024-03-13 21:21:19 +00:00
Detlef Steuer
d8fb074b66 -
VERSION 4.3 Patch 2 - 2024-03-01
- BUG FIX: remind: Fix a logic error when implementing the RUN command in
  server mode.  As it turns out, the error is harmless, but it's best to do
  things correctly.
- BUG FIX: The Makefile would install the tkremind.png and tkremind.desktop
  files in the wrong location.  This has been fixed.
* VERSION 4.3 Patch 1 - 2024-02-29
- BUG FIX: tests:  "make test" could fail because of a bad test.  This
  has been fixed.  There are no actual code changes to any of the programs
  in Remind compared to 04.03.00.
* VERSION 4.3 Patch 0 - 2024-02-29
- IMPROVEMENT: remind: If Remind is compiled on a system that supports
  inotify, then in server mode (-z0 or -zj) it monitors the reminders file
  and restarts itself if it detects a change, and also notifies the client.
  Moving inotify support directly into Remind means that tkremind no longer
  has to invoke a separate inotifywait process.
- IMPROVEMENT: remind: Set the CLOEXEC flag on files we open so we
  don't leak file descriptors to programs that we run.  While I don't
  think there's a security issue here (any program you run can do
  anything as your userid anyway) it's best to be clean and tidy.
- IMPROVEMENT: remind: Add localization for the Catalan language, courtesy
  of Eloi Torrents.
- IMPROVEMENT: tkremind: Add a .desktop file and icon so TkRemind can be
  integrated into the desktop menu system, courtesy of Eloi Torrents.
- CHANGE: Add a new server mode with the "-zj" flag.  This is just
  like "-z0" except it uses JSON messages to communicate with the
  client rather than an ad-hoc protocol.  The "-z0" mode is still
  supported, but is deprecated.
- CHANGE: In server mode (-z0 or -zj) any RUN-type reminders, or message

OBS-URL: https://build.opensuse.org/package/show/utilities/remind?expand=0&rev=72
2024-03-06 14:11:09 +00:00
8652b76e0f Accepting request 1144662 from utilities
- VERSION 4.2 Patch 9 - 2024-02-04
- CHANGE: remind: Do not attempt to guess terminal background color on
  startup.  Only obtain it as needed.  This can prevent mojibake from
  appearing on terminals that don't support the color query escape
  sequence.
- IMPROVEMENT: remind: Add new system variables $NumFullOmits,
  $MaxFullOmits, $NumPartialOmits and $MaxPartialOmits.
- IMPROVEMENT: remind: Issue a warning if someone OMITs every possible date.
- IMPROVEMENT: remind: In several error messages complaining about limits
  being exceeded, include the actual limit in the error message.  Clarify
  the man page regarding limits on the number of OMITs.
- MINOR NEW FEATURE: remind:  The expression STRING * INT or INT * STRING
  is now accepted and yields a string that is INT concatenations of the
  origina STRING.  In this case, INT must be non-negative and the total
  string length can't exceed $MaxStringLen.
- DOCUMENTATION: Add "Astronomical Algorithms" by Jean Meeus to bibliography.
- DOCUMENTATION FIX: Update address of the Free Software Foundation in the
  license file.
- DOCUMENTATION: Note that rem2ps is deprecated and will not received any
  new features.  Further development will happen on rem2pdf.
- BUG FIX: Preserve the filename() and priority context for queued reminders.
  Previously, the filename information was lost and the priority was
  coming from uninitialized memory (yikes!).  bug found by Alexander
  Möller.
- BUG FIX: build.tk: Various minor improvements.
- BUG FIX: remind: In server mode, if we de-queue a reminder without
  triggering it, issue a "NOTE queued %d" message to update the
  client's notion of the queue size.
- BUG FIX: tkremind: Fix typo found by Lorenzo Bazzanini.

OBS-URL: https://build.opensuse.org/request/show/1144662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/remind?expand=0&rev=38
2024-02-07 17:48:52 +00:00