Dianne Skoll
e3ec6565e9
Add support for -k: option --- applies command only to *queued* reminders.
2023-03-13 15:16:24 -04:00
Dianne Skoll
f9656edc51
Make "SPECIAL MSG" the same as "MSG" and same for MSF, RUN, PS and PSFILE
...
This lets us use variables to set the type of a REM command:
SET t "MSG"
REM SPECIAL [t] A message
SET t "CAL"
REM SPECIAL [t] A calendar message
SET t "RUN"
REM SPECIAL [t] /bin/some_cmd
2023-03-03 11:53:45 -05:00
Dianne Skoll
2f196e3c9f
Update copyright year. :)
2022-12-30 13:43:28 -05:00
Dianne Skoll
0cea410529
Add a bunch of: "SPDX-License-Identifier: GPL-2.0-only" comments.
2022-12-26 14:24:33 -05:00
Dianne Skoll
a1eafb2c89
Add NOQUEUE modifier; reverse order of args to soleq and make second arg optional (defaults to today())
2022-12-23 11:04:18 -05:00
Dianne Skoll
4aacf74e25
More renaming of jul -> dse
2022-12-21 13:35:12 -05:00
Dianne Skoll
387125d983
Start fixing terminology: Julian becomes DSE
...
Remind's so-called "Julian" date is not a true Julian date.
It's really the number of days since the Remind Epoch, so rename
to DSE (Days Since Epoch)
2022-12-21 13:14:00 -05:00
Dianne Skoll
07fd975935
Add the $AddBlankLines system variable.
2022-10-10 22:49:28 -04:00
Dianne Skoll
e0998a3991
Implement trigtags()
2022-10-09 21:31:24 -04:00
Dianne Skoll
dedb9766c9
Make a SATISFY-type reminder with ADDOMIT but no MSG actually add to the omits.
...
Previously, something like: REM 1 May ADDOMIT SATISFY 1
would not add to the global OMIT list.
2022-10-06 08:35:50 -04:00
Dianne Skoll
a01e05c1db
Fix bug introduced in commit 98c5bf511e:
...
Don't print a banner when issuing a queued reminder.
2022-09-21 18:17:25 -04:00
Dianne Skoll
efecf2e1ea
Make "remind -c" optionally support the SPECIAL SHADE
2022-09-16 11:41:18 -04:00
Dianne Skoll
8666e6357e
Start working on support for SHADE in remind -c output.
2022-09-16 08:42:20 -04:00
Dianne Skoll
98c5bf511e
Print banner prior to first MSG-type reminder.
2022-09-06 09:14:55 -04:00
Dianne Skoll
4d17494371
Bump copyright date.
2022-03-14 21:12:20 -04:00
Dianne Skoll
eb100e57e2
Parse untriggered reminder lines to catch expression-pasting errors.
2022-03-12 15:48:31 -05:00
Dianne Skoll
61d665ef7d
Turn a bunch of Eprint calls into Wprint calls to indicate warnings instead of errors.
2022-03-12 10:27:58 -05:00
Dianne Skoll
e1fa11c94c
Add the First/Second/Third/Fourth/Last syntactic sugar and the
...
~N/~~N forms of "back"
2022-03-11 20:53:52 -05:00
Dianne Skoll
6d2bbbd7e2
Another diagnostic message.
2022-03-02 15:25:27 -05:00
Dianne Skoll
1453be83b2
Add more diagnostics for bad UNTIL dates.
2022-03-02 15:17:03 -05:00
Dianne Skoll
8659131be2
Use proper keyword in error message.
2022-03-02 14:43:11 -05:00
Dianne Skoll
0276ce322d
Diagnose if UNTIL is earlier than start date unless there is a nonconst expr
2022-03-02 09:11:01 -05:00
Dianne Skoll
b36c99a34b
Move successful exit to one spot.
2022-03-02 09:01:33 -05:00
Dianne Skoll
f6f201085c
Start adding support for dynamic month and day names.
2022-01-25 18:47:25 -05:00
Dianne Skoll
54f5d81a8c
Properly check for repeated tdelta
2022-01-20 09:52:46 -05:00
Dianne Skoll
d33c27289a
Implement $DefaultTDelta system variable and -tt[N] command-line option.
2022-01-20 09:44:17 -05:00
Dianne Skoll
79289fe6c4
Add ADDMOMIT keyword; bump version to 03.03.10
2021-11-18 15:13:12 -05:00
Dianne Skoll
5ceffddd5b
Add "shellescape" built-in function.
2021-09-08 09:33:47 -04:00
Dianne Skoll
34409f7a7d
Update copyright year.
2021-04-02 10:43:54 -04:00
Dianne Skoll
498a429b2c
Add MAYBE-UNCOMPUTABLE modifier to trigger.
2020-09-25 22:08:49 -04:00
Dianne Skoll
8ab78fd8be
Suppress compile warnings on Ubuntu 18.04
2020-03-19 20:27:45 -04:00
Dianne Skoll
6b991cdf9c
Refactor saving of trigger info.
2020-02-23 11:38:17 -05:00
Dianne Skoll
725e046a15
Fix bug in recording trigdate() for SATISFY-type reminders. :(
2020-02-22 19:15:24 -05:00
Dianne Skoll
275b1f62b6
For overlapping reminders, prefer the *later* version.
2020-02-22 16:50:42 -05:00
Dianne Skoll
6e58dea198
Handle overlapping events better.
2020-02-22 16:30:08 -05:00
Dianne Skoll
d51944f36c
Allow duration to be specified as a single number, meaning minutes.
...
Don't convert 90-99 to 1990-1999 when parsing numbers.
2020-02-22 12:31:17 -05:00
Dianne Skoll
d2da32de6c
Don't hard-code number.
2020-01-26 18:26:03 -05:00
Dianne Skoll
5801e143ea
Make specials case-insensitive.
2020-01-25 16:04:53 -05:00
Dianne Skoll
566a86b9fd
Obey default color settings.
2020-01-25 11:29:06 -05:00
Dianne Skoll
c05fd366df
Implement -@, -@0 and -@1 options to colorize reminders.
2020-01-25 11:12:10 -05:00
Dianne Skoll
2078f087b2
An OMITFUNC should set the nonconst_expr flag.
2020-01-12 13:06:55 -05:00
Dianne Skoll
a0689999fe
Adjust duration_days to not include zero-duration tails.
2020-01-01 09:31:55 -05:00
Dianne Skoll
e5e6ff6031
Return "Can't compute trigger" if SATISFY uses up too many iterations.
2019-12-31 22:26:23 -05:00
Dianne Skoll
a223149aee
Add trigeventstart() and trigeventduration() functions.
2019-12-31 21:09:21 -05:00
Dianne Skoll
bf2d707e13
Skip duration_days at least in each SATISFY loop.
2019-12-31 18:51:22 -05:00
Dianne Skoll
18a3db0f31
Fix interation between multi-day events and SATISFY.
2019-12-31 18:41:25 -05:00
Dianne Skoll
e5519a8498
Handle events that span >1 day.
2019-12-31 17:39:26 -05:00
Dianne Skoll
fbbffb4672
Bump version to 3.1.18 and copyright year to 2020.
2019-12-30 11:15:00 -05:00
Dianne Skoll
6e4f2b9466
Implement remaining trigger introspection functions.
2019-12-28 17:09:05 -05:00
Dianne Skoll
3180c781ed
Start working on making bits of the trigger and time trigger introspectable.
2019-12-28 16:37:47 -05:00