David F. Skoll
3bc1b5bd46
Clean up tests; add test for non-parseable line in purge mode.
2010-04-21 13:30:10 -04:00
David F. Skoll
b266b399ba
Test for fix of parse error.
...
Try REALLY hard to detect constant expressions...
2010-04-21 13:23:26 -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
70adbf90c2
Add tests for purge mode.
2010-04-20 15:20:49 -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
bd9a3761a6
Sort PSFILE and PS reminders with same priority (Ticket #17581 )
2010-04-19 13:17:00 -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
3375aff3a7
Add $U, $Um, $Ud, $Uy and $Uw special variables. Just like the $T.. versions,
...
but using today() instead of trigdate().
2009-12-29 08:47:07 -05:00
David F. Skoll
41e9cb5ca3
Clean up handling of SPECIAL_TYPE variales. Make
...
$T return 1990-01-01 if last trigger date was not valid.
2009-12-26 13:06:50 -05:00
David F. Skoll
4e9d401002
Add $T, $Td, $Tm, $Tw and $Ty system variables as shorthands for
...
trigdate(), day(tridate()), month(trigdate()), wkdayno(trigdate()) and
year(trigdate())
2009-12-26 00:26:14 -05:00
David F. Skoll
3db2fc7d0f
Make "$t" a synonym for "trigdate()"
2009-12-22 18:25:01 -05:00
David F. Skoll
0101d76113
Better -df output.
2009-11-16 00:09:40 -05:00
David F. Skoll
8529f8b843
Fix bugs in Makefile.in
2009-10-15 15:19:56 -04:00
David F. Skoll
08be7c43cf
Don't make SHADE specials obliterate MOON specials. Fixes ticket 15068.
2009-10-05 14:33:51 -04:00
David F. Skoll
aae76207ec
Fix bug in SCHED function calculation (RT #15644 )
2009-09-06 18:36:34 -04:00
David F. Skoll
5434f8330e
Sort specials.
2009-09-06 18:36:27 -04:00
David F. Skoll
e18b4ed119
Update copyright.
2009-05-31 13:06:05 -04:00
David F. Skoll
72de7c6b14
Make CallFunc and built-in functions re-entrant.
2009-05-26 22:35:57 -04:00
David F. Skoll
d3fe045a39
Make slide function diagnose "Can't OMIT every weekday"
2009-05-16 10:42:43 -04: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
2e69e140eb
Accept a T_Date or T_DateTime on cmdline to set now() and today().
2009-05-12 22:46:01 -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
b58ed62000
Simplify.
2009-05-09 00:17:11 -04:00
David F. Skoll
c685818783
Use macro to refer to RetVal.v.val
2009-05-09 00:10:45 -04:00
David F. Skoll
3e20ce56c9
Add the slide(date, amt [,localomits]) built-in function.
2009-05-09 00:07:59 -04:00
David F. Skoll
5ef4061819
Let Remind accept a date of the form YYYY-MM-DD on cmdline.
2009-02-03 23:08:27 -05:00
David F. Skoll
93ac1aebf7
Document WEEK special. Clean up rem2ps handling of WEEK.
2008-11-15 09:20:54 -05:00
David F. Skoll
56ebedb9de
Proper implementation of WEEK special.
2008-11-14 17:02:51 -05:00
David F. Skoll
e87d33de50
Handle the WEEK special.
2008-11-14 16:56:08 -05:00
David F. Skoll
30a385a7bb
Fix bug in IsTopLevel.
2008-10-05 14:29:03 -04:00
David F. Skoll
f470297958
Make max. string length controllable with $MaxStringLen system variable.
2008-10-05 13:49:45 -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
1bffa0e00b
Allow any of the args to date() function to be a date,
...
in which case we just extract the appropriate part.
2008-09-20 11:07:33 -04:00
David F. Skoll
36035dda01
Issue a warning if we detect a SCANFROM used in two-arg evaltrig().
2008-09-20 00:14:13 -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
4c53710279
Set maximum string length to 65535 to minimize chances of self-DOS.
2008-09-19 23:28:19 -04:00
David F. Skoll
2274e88485
Remove extraneous semicolon
2008-09-19 23:10:57 -04:00
David F. Skoll
984a4677f2
Clean up funcs.c; add weekno function for ISO week number.
2008-09-19 23:08:15 -04:00
David F. Skoll
5e3dc54725
Document sorting of timed vs. untimed reminders.
...
Add an $UntimedFirst system variable.
2008-09-18 17:30:31 -04:00
David F. Skoll
53a7bf9773
Make tests pass.
2008-09-18 17:20:09 -04:00
David F. Skoll
1dcc3897d6
Allow sorting of untimed before timed.
2008-09-18 17:17:38 -04:00
David F. Skoll
fbc0375739
Fix bug if MON DAY WKDAY crosses year boundary.
2008-09-16 22:10:09 -04:00