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
Dianne Skoll
632152e8b6
Remember the last trigger and time trigger.
2019-12-28 16:24:16 -05:00
Dianne Skoll
3095fd7e4a
Enable warning-free compilation even with -Wextra.
2019-11-04 16:35:14 -05:00
Dianne Skoll
0ae3dae030
Allow shortand: SCANFROM -n meaning SCANFROM [today() - n]
2019-11-04 16:08:44 -05:00
Dianne Skoll
52d252723f
Depenguinization.
2018-11-04 10:56:47 -05:00
Dianne Skoll
739a938d32
Don't permit repeated DELTA or REPEATs either.
2015-05-27 13:21:33 -04:00
Dianne Skoll
61ad405b4a
Reject AT clause with more than one following TIME.
2015-05-27 13:19:25 -04:00
David F. Skoll
29c8475ea9
s/David/Dianne/
2015-04-17 02:07:18 -04:00
David F. Skoll
6e8dd68c8a
Use ADVANCE_MODE rather than CAL_MODE for "-n" cmdline option.
2013-04-30 15:58:02 -04:00
David F. Skoll
245cebee56
If multiple -a options are supplied, then *do* trigger timed reminders
...
that are in the future.
2012-01-12 13:04:53 -05:00
David F. Skoll
0ab27fcb4b
Fix typo.
2011-12-05 16:47:21 -05:00
David F. Skoll
fcb55001bb
Allow the color special to be spelled COLOR or COLOUR.
2011-12-05 16:42:57 -05:00
David F. Skoll
6d047c2856
Use a dynamic buffer to accumulate tags instead of a special-purpose data structure.
2010-09-29 14:07:14 -04:00
David F. Skoll
be86746685
Support multiple TAGs in a single REM.
2010-09-23 15:47:22 -04:00
David F. Skoll
e827516b72
Add "OMIT start THROUGH end" syntax. Also add "OMIT DEBUG"
...
Add syntactic sugar:
REM start THROUGH end is converted to REM start *1 UNTIL end
2010-08-31 12:19:08 -04:00
David F. Skoll
821d3fe783
Conform to older C spec that prohibits declaration of variables in the middle of a block.
2010-06-21 21:32:21 -04:00
David F. Skoll
2f27645dac
Handle SPECIAL COLOR correctly with -n commandline option.
2010-05-01 20:52:25 -04:00
David F. Skoll
0e827a457d
Fix YomHashoah date and bug in DoSatReminder.
2010-04-21 09:49:33 -04:00
David F. Skoll
a1faa8d804
Finish up Purge Mode:
...
o Make it recognize constant expressions (yay!)
o Make it not add a blank line to end of *.purged files.
o Make it nuke #!P comments in the source files.
2010-04-21 09:02:25 -04:00
David F. Skoll
501c04f4b6
More work on purge mode.
2010-04-20 14:01:54 -04:00
David F. Skoll
d294e62be1
More work on purge mode.
2010-04-20 11:34:07 -04:00
David F. Skoll
31f90b6c53
Add purge mode.
2010-04-20 10:59:57 -04:00
David F. Skoll
184d29c592
More work on -j ("Purge Mode") option.
2010-04-19 15:57:35 -04:00
David F. Skoll
b1063b0a9e
More purge-mode work.
2010-04-09 11:01:45 -04:00
David F. Skoll
cb2fffab92
Don't expire lines containing expressions.
2010-04-07 15:32:20 -04:00
David F. Skoll
55cca49428
Start implementing a "-j" mode to purge old reminders.
2010-04-07 15:30:29 -04:00
David F. Skoll
b66039ee24
Ignore msgprefix()/msgsuffix() on RUN-type reminders.
2010-02-26 09:48:18 -05:00
David F. Skoll
6d5ae7a258
Allow short-hand date specs after UNTIL and SCANFROM.
...
Start updating man page.
2009-05-16 10:07:57 -04:00
David F. Skoll
516c4e2c39
Allow literal dates and datetimes in REM and OMIT statements.
...
This lets us avoid cluttering up files with [trigger(expr)]; we can
use [expr] directly.
2009-05-09 16:41:15 -04:00
David F. Skoll
c96869817f
Rejigger infrastructure to detect recursive OMITFUNC calls in evaltrig()
2008-09-23 22:21:39 -04:00
David F. Skoll
50a15cf089
Make evaltrig return a DATETIME if there's an AT clause.
2008-09-20 00:03:38 -04:00
David F. Skoll
b59d4ed4a4
Add "evaltrig" function.
2008-09-19 23:49:11 -04:00
David F. Skoll
a67d9e2524
Change behaviour: OMITFUNC ignores local/global OMIT context. Only sane
...
way to solve garbage-day problem; also allows for more flexibility.
2008-08-31 10:29:28 -04:00
David F. Skoll
6845e72fd5
Communicate errors back for bad OMITFUNCs.
2008-08-30 22:10:06 -04:00
David F. Skoll
8d8d4b667d
Implement OMITFUNC clause in REM command.
2008-08-29 20:48:58 -04:00
David F. Skoll
ad5e096caa
Make '-t' take a numeric argument that sets the "DeltaOffset" to that
...
value. We trigger any reminder that will trigger between today and
today+DeltaOffset days. A bare '-t' sets InfiniteDelta as before.
2008-02-06 22:16:47 -05:00
David F. Skoll
ce3bb191c4
More code cleanups and const-correctness.
2008-01-30 21:37:19 -05:00
David F. Skoll
f055664f77
More const-correctness.
2008-01-27 11:02:03 -05:00
David F. Skoll
ba3e01f2ce
Add a bunch of const qualifiers.
2008-01-26 21:55:58 -05:00
David F. Skoll
8612bb6480
Do not evaluate SATISFY expression if reminder has expired.
2007-09-26 08:41:34 -04:00
David F. Skoll
c072698927
Handle queued SPECIAL COLOR reminders properly.
2007-08-31 11:00:49 -04:00
David F. Skoll
c656a1a169
Make SPECIAL COLOR always output color triplet in calendar mode even with %"%" escapes.
2007-08-30 15:40:25 -04:00