Commit Graph

1281 Commits

Author SHA1 Message Date
Dianne Skoll db28648d9d Better spacing 2025-08-12 22:24:17 -04:00
Dianne Skoll 1a5915bba9 Show long options in help output. 2025-08-12 22:23:00 -04:00
Dianne Skoll 94a50fa22c Refactor some code. 2025-08-12 22:13:36 -04:00
Dianne Skoll fad6076568 Convert out-of-range SPECIAL COLOR to MSG. 2025-08-12 19:31:54 -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 8523218ef2 Add %? substitution sequence and translations for "are" and "were" 2025-08-12 19:08:34 -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 0976cd64f3 If evaluating ordx(n) yields an error, then error out instead of continuing with ord(n) 2025-08-12 18:27:20 -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 39fcbb72fd %*! is not reproducible. 2025-08-12 00:03:19 -04:00
Dianne Skoll f9a6aba81d Allow ord(n) to be overridden with user-defined function ordx(n)
Lets language packs customize ord.
2025-08-11 23:29:08 -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 89f60358c6 Add "noreminders" JSON element. 2025-08-11 21:04:50 -04:00
Dianne Skoll 1b5d34e5e6 Include banner in --json output. 2025-08-11 20:47:00 -04:00
Dianne Skoll cb5fa62022 Make --json cancel -g 2025-08-11 20:18:52 -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 a7a22d20a2 Add is_todo and complete_through JSON key pairs. 2025-08-11 18:26:00 -04:00
Dianne Skoll a7696d659c Add note. 2025-08-11 18:15:08 -04:00
Dianne Skoll 865ebae6f8 Fix source code to properly generate xlat.c 2025-08-11 18:13:47 -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 9199ed5cf7 Make sure remind -ppp preserves scanfrom even if it's today. 2025-08-11 16:55:20 -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 24ed30fee0 Add RETURN command
Suggestion from Hymie! on Remind mailing list.
2025-08-06 11:08:41 -04:00
Dianne Skoll 50850134f6 Fix typom... sigh. 2025-07-25 11:29:52 -04:00
Dianne Skoll a5de77cc91 Call DBufInit. 2025-07-25 11:29:33 -04:00
Dianne Skoll 0fe1d1591e Add comment 2025-07-24 15:27:13 -04:00
Dianne Skoll dfb137085a Defensive programming. 2025-07-24 15:26:17 -04:00
Dianne Skoll 143cdecb9e Avoid memory leak; make popping more efficient. 2025-07-24 15:25:01 -04:00
Dianne Skoll f4805a443b Prevent segfault if we just say "push-funcs" 2025-07-24 14:45:52 -04:00
Dianne Skoll 9bd0055d4d Add PUSH-FUNCS and POP-FUNCS. 2025-07-24 14:31:12 -04:00
Dianne Skoll d944ceb32d Implement clone_expr_tree in preparation for supporting PUSH-FUNCS / POP-FUNCS. 2025-07-24 12:06:23 -04:00
Dianne Skoll be8a0621d1 Properly trace set-but-not-used variables interacting with PUSH-VARS / POP-VARS 2025-07-23 19:37:03 -04:00
Dianne Skoll 235f947dd1 Replace PUSH-SYSVARS / POP-SYSVARS with better PUSH-VARS / POP-VARS commands. 2025-07-23 19:27:09 -04:00
Dianne Skoll 93dddec24a Initialize pushed value to ERR_TYPE to avoid inappropriate possible free() later on. 2025-07-23 10:07:58 -04:00
Dianne Skoll c13b721550 Propagate errors. 2025-07-22 19:12:26 -04:00
Dianne Skoll 700ac85e54 Make warnings for unmatched PUSH-SYSVARS correspond to those for unmatched PUSH-OMIT-CONTEXT 2025-07-22 17:35:21 -04:00
Dianne Skoll 7325375ccd Add PUSH-SYSVARS and POP-SYSVARS commands. 2025-07-22 17:20:58 -04:00
Dianne Skoll aa3760bc04 Make a bunch of functions static, on the recommendation of cppcheck. 2025-07-22 15:44:57 -04:00