Commit Graph

1328 Commits

Author SHA1 Message Date
Dianne Skoll 41a3db3a37 Fix abort. 2025-09-03 23:14:58 -04:00
Dianne Skoll f12bcf3fe6 Restructure test targets. 2025-09-03 22:36:46 -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 dfabda7dee add trigtz() function 2025-09-03 14:19:31 -04:00
Dianne Skoll da146d7989 Always output time_in_tz in JSON when needed. 2025-09-03 14:08:56 -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 5f9e71f9eb More timezone fixification. 2025-09-03 13:05:54 -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 d2785d909c Remember DSEToday and SysTime in Local* variables so we can switch timezones. 2025-09-03 10:36:30 -04:00
Dianne Skoll 5d46df871f Clamp trigger() to "1 January 1990 AT 00:00" if UTC flag is used. 2025-08-28 13:30:21 -04:00
Dianne Skoll c5d661124c Never return a year < 1990 from trigger() 2025-08-28 12:53:28 -04:00
Dianne Skoll 2f239f77a5 Default $ParseUntriggered to 0 instead of 1 2025-08-27 11:34:10 -04:00
Dianne Skoll 1ef05d3f85 Slight efficiency improvement. 2025-08-21 11:50:45 -04:00
Dianne Skoll 5f0f68f508 Allow '-i$foo' to be interpreted as '-i$foo=0' 2025-08-20 10:27:22 -04:00
Dianne Skoll 71bfe31002 Make IS_INTERACTIVE() macro. 2025-08-19 21:39:31 -04:00
Dianne Skoll 4661b454c0 Don't add *everything* to history, LOL. 2025-08-19 21:32:26 -04:00
Dianne Skoll 0206e538e0 Avoid -Wunused-result warning. 2025-08-19 15:22:05 -04:00
Dianne Skoll ac3ee7e22b Use constant-time DBufLen instead of O(n) strlen() 2025-08-19 10:21:01 -04:00
Dianne Skoll f366037b8d Truncate over-long variable name in DUMP. 2025-08-19 10:13:09 -04:00
Dianne Skoll a46488a50d Remove incorrect assignment that could cause a segfault. 2025-08-19 09:58:04 -04:00
Dianne Skoll f91a1a2d65 If we don't have readline, don't declare unused variable. 2025-08-18 21:05:56 -04:00
Dianne Skoll 2ac8fb50e1 Fix typos. 2025-08-18 21:01:48 -04:00
Dianne Skoll 7df826f635 Add whole line at a time to history buffer. 2025-08-18 20:35:10 -04:00
Dianne Skoll f8ce7b51da Change prompt depending on whether or not we're ignoring lines. 2025-08-18 16:26:58 -04:00
Dianne Skoll 35ee94ca6b If stdin and stdout are TTYs, use readline() where possible. 2025-08-18 16:20:45 -04:00
Dianne Skoll 8e00bd5acc Fix typo in comment. 2025-08-16 18:32:08 -04:00
Dianne Skoll 0c9ec11fce Add clarifying comment. 2025-08-16 10:09:44 -04:00
Dianne Skoll e87849256b Make --flush simply set standard I/O streams to unbuffered. 2025-08-15 22:41:18 -04:00
Dianne Skoll fd8ecd88a8 Add --flush option; use it in tests.
Should help with weird systems whose C libraries have different flushing rules.
2025-08-15 22:36:20 -04:00
Dianne Skoll 5e36a6563a Format improvement. 2025-08-15 22:26:18 -04:00
Dianne Skoll 274a2bf067 Don't unconditionally set RunDIsabled. 2025-08-15 20:53:07 -04:00
Dianne Skoll 7b7b861399 Disable RUN in callbacks to ordx and subst_xxx functions. 2025-08-15 20:27:51 -04:00
Dianne Skoll 5ee415c2fb Add trigistodo(), trigcompletethrough() and trigmaxoverdue() introspection functions. 2025-08-15 15:20:57 -04:00
Dianne Skoll 6c2d65c08e Allow non-alphanumeric substitution sequences to be overridden. 2025-08-15 14:55:03 -04:00
Dianne Skoll b1b80316ab Implement %: substitution sequence. 2025-08-15 11:54:31 -04:00
Dianne Skoll de2ec1aa7b In --json mode, redirect any RUN ... command stdout to stderr
We really don't want to mess up the JSON we produce on stdout!!
2025-08-14 21:47:40 -04:00
Dianne Skoll a62ed0e0c5 Always output well-formed JSON in --json mode. 2025-08-14 20:43:35 -04:00
Dianne Skoll eceb5e3f82 Suppress some output in --json mode. 2025-08-14 20:35:07 -04:00
Dianne Skoll af69f54bff Add max_overdue to JSON. 2025-08-14 18:54:15 -04:00
Dianne Skoll a000a7f17e Add MAX-OVERDUE feature. 2025-08-14 18:50:39 -04:00
Dianne Skoll 7762f4f2d6 Add $HideCompletedTodos, $JSONMode and $TodoFilter system variables. 2025-08-14 13:56:02 -04:00
Dianne Skoll 8331ea2991 Fix TODO-issuing logic 2025-08-13 11:19:41 -04:00
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