Commit Graph

224 Commits

Author SHA1 Message Date
Dianne Skoll f6253d0fca Add $TerminalHyperlinks system variable.
This lets you turn any reminder with an INFO "Url: ..." string
into a hyperlink on the terminal.
2026-01-08 14:13:34 -05:00
Dianne Skoll 3e6233b6f0 Fix edge-cases where a WARN REM might not trigger on the trigger date. 2026-01-05 12:38:54 -05:00
Dianne Skoll d4ed89f5ba Update copyright date. 2025-12-31 11:05:21 -05:00
Dianne Skoll 7ae7edcb42 Assume standard functions strcasecmp, strncasecmp and strdup are always available. 2025-12-22 15:53:37 -05:00
Dianne Skoll a22b0b8daf Silence cppcheck warning. 2025-10-12 22:49:16 -04:00
Dianne Skoll 2723875a18 Only check the trigger portion of a REM for expressions in purge mode, not body. 2025-10-12 13:38:47 -04:00
Dianne Skoll 5534bf8272 Don't set nonconst_expr on a reminder if the non-constant expression is only in the *BODY* of the reminder.
Only set it if it affects the trigger specification.
2025-10-12 11:22:13 -04:00
Dianne Skoll f726b09fc6 Suppress some spurious debugging output when we use "-dt" with a TZ reminder. 2025-10-11 11:56:48 -04:00
Dianne Skoll a19b79951e Fix more TZ bugs; warn if TZ name looks suspicious. 2025-10-08 23:07:37 -04:00
Dianne Skoll 21f5462657 On systems that have /usr/share/zoneinfo (Linux and FreeBSD, for example) attempt to validate TZ time zone names. 2025-10-08 22:05:49 -04:00
Dianne Skoll 561245a5e8 Fix timezone bug reported by Jin Chen. 2025-10-08 04:09:33 +11:00
Dianne Skoll 26ec92675c Give more specific ADDOMIT advice. 2025-09-29 14:22:10 -04:00
Dianne Skoll 5092d5bc16 More warning_level annotations. 2025-09-25 18:08:29 -04:00
Dianne Skoll 2f86920842 Add $WarningLevel special variable. 2025-09-25 17:55:16 -04:00
Dianne Skoll 604e1b049c Add a warning to use SCANFROM with a moveable ADDOMIT. 2025-09-24 13:02:12 -04:00
Dianne Skoll ef7021972e Add trigimetz and trigeventstarttz functions. 2025-09-04 15:36:27 -04:00
Dianne Skoll 9ec1006804 Make an empty TZ (ie, TZ "") the same as no TZ. 2025-09-03 19:10:26 -04:00
Dianne Skoll 703907c94d Update JSON output. 2025-09-03 13:57:25 -04:00
Dianne Skoll bcfee04cae Handle another time zone edge case. 2025-09-03 13:21:16 -04:00
Dianne Skoll 272336226e Add timezone support to evaltrig. 2025-09-03 12:42:59 -04:00
Dianne Skoll 32f4b125b5 Seemingly (?) working time zone support!! 2025-09-03 12:35:51 -04:00
Dianne Skoll 7979a69cb9 First semi-sorta-working time zone adjustment. 2025-09-03 12:22:09 -04:00
Dianne Skoll 651368fedc More work on timezone support. 2025-09-03 11:35:21 -04:00
Dianne Skoll fe002557cf New approach to handling time zone specs in REM command. 2025-09-03 11:02:01 -04:00
Dianne Skoll a000a7f17e Add MAX-OVERDUE feature. 2025-08-14 18:50:39 -04:00
Dianne Skoll 8331ea2991 Fix TODO-issuing logic 2025-08-13 11:19:41 -04:00
Dianne Skoll 94a50fa22c Refactor some code. 2025-08-12 22:13:36 -04:00
Dianne Skoll 287039ac40 Convert color with components out of range to normal MSG-type reminders. 2025-08-12 19:26:23 -04:00
Dianne Skoll fdaaf2b57a Add comment; fix cppcheck warning. 2025-08-12 18:37:14 -04:00
Dianne Skoll cda4877229 Fix "make cppcheck" warning. 2025-08-12 18:30:36 -04:00
Dianne Skoll 2391ff4bc7 Add --hide-completed-todos option 2025-08-12 15:23:40 -04:00
Dianne Skoll d21ae56deb Sort out from/scanfrom and how todos work in calendar mode. 2025-08-12 15:12:54 -04:00
Dianne Skoll 773980afa6 Preserve "from" and "scanfrom" 2025-08-12 14:50:19 -04:00
Dianne Skoll 46a80da0e1 Preserve relative scanfroms in t->scanfrom; compute when needed. 2025-08-12 14:44:47 -04:00
Dianne Skoll c7c58e20f3 Fix silly typo 2025-08-11 22:26:48 -04:00
Dianne Skoll a66ca7cce7 In --json mode, try to always emit a banner. 2025-08-11 21:40:38 -04:00
Dianne Skoll 1b5d34e5e6 Include banner in --json output. 2025-08-11 20:47:00 -04:00
Dianne Skoll 9d6ce5b674 Implement --json - JSON mode output. 2025-08-11 20:16:22 -04:00
Dianne Skoll 1cdd9531a5 Add --only-todos and --only-events args. Still have to implement JSON output. 2025-08-11 19:36:23 -04:00
Dianne Skoll da4633fab3 Add "-nt" option to only show todos. 2025-08-11 19:00:20 -04:00
Dianne Skoll aeff3606d2 Handle interaction between complete-through and from. 2025-08-11 18:44:28 -04:00
Dianne Skoll 2af36b7241 Add comments detailing TODO-handling logic. 2025-08-11 18:36:22 -04:00
Dianne Skoll 76b7736266 More TODO logic. 2025-08-11 17:39:53 -04:00
Dianne Skoll 0769e3e9cb Proper trigger logic for TODOs. 2025-08-11 17:35:54 -04:00
Dianne Skoll d9ab9e91b5 Trigger TODOs that are in the past if they haven't yet been completed. 2025-08-11 17:09:45 -04:00
Dianne Skoll 68a4b23b6f Rework scanfrom so it's computed as needed. 2025-08-11 16:52:41 -04:00
Dianne Skoll 814dd51270 Start working on TODO and COMPLETE-THROUGH. Still a WIP!!! 2025-08-11 16:29:34 -04:00
Dianne Skoll ea5e8c90ff More const stuff. 2025-07-21 18:46:31 -04:00
Dianne Skoll 9b98e65e01 Don't set trigvalid() for a reminder whose SATISFY clause is never satisfied. 2025-07-01 16:49:06 -04:00
Dianne Skoll 8d88192483 Keep a hash table of filenames we've seen so we don't need to strdup the current filename all over the place. 2025-05-24 22:51:16 -04:00