Dianne Skoll
e9ee7492f7
Check for setuid/setgid early.
2025-09-04 14:25: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
5f0f68f508
Allow '-i$foo' to be interpreted as '-i$foo=0'
2025-08-20 10:27:22 -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
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
a000a7f17e
Add MAX-OVERDUE feature.
2025-08-14 18:50:39 -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
2391ff4bc7
Add --hide-completed-todos option
2025-08-12 15:23:40 -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
ea5e8c90ff
More const stuff.
2025-07-21 18:46:31 -04:00
Dianne Skoll
c3ab2a15cf
Add some consts as recommended by make cppcheck.
2025-07-21 17:44:13 -04:00
Dianne Skoll
1fcf11a816
Change the help text for the -d flag.
2025-05-24 23:20:45 -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
Dianne Skoll
c5bc459dd9
Add "-du" debugging flag to print a list of variables that were set but never used.
2025-05-23 16:55:10 -04:00
Dianne Skoll
1e3657b728
Overhaul how IF/ELSE work so we can track "constant-ness" of variables.
...
We now keep track of whether a variable holds a "constant" value
(ie, a value that will stay the same on successive Remind runs)
so Purge Mode can be more accurate.
2025-05-20 22:11:39 -04:00
Dianne Skoll
21904e708f
Add "n" debugging flag to diagnose non-constant expressions.
2025-05-20 11:17:04 -04:00
Dianne Skoll
c004944a59
Replace '1440' with 'MINUTES_PER_DAY' in a bunch of spots.
2025-03-20 17:20:25 -04:00
Dianne Skoll
124c5c4e7e
Make test mode warning more verbose.
Remind unit tests / tests (push) Successful in 35s
2025-01-21 11:54:24 -05:00
Dianne Skoll
35c33ae915
Prevent infinite test loop.
2025-01-21 11:48:56 -05:00
Dianne Skoll
901831ff75
Add --test long option to make the test suite repeatable.
Remind unit tests / tests (push) Failing after 3h14m50s
2025-01-20 13:33:00 -05:00
Dianne Skoll
ffba7fcb03
Make queue tests work at any time of the day.
...
Remind unit tests / tests (push) Successful in 33s
If the REMIND_RUNNING_TEST environment variable is set to 1, then
SystemTime adjusts times near midnight so the queue tests pass.
Remind prints a warning if it is set so you don't accidentally
set it in normal use.
2025-01-20 10:15:19 -05:00
Dianne Skoll
4f351c089e
Add the "-dq" debugging flag, for outputing TRANSLATE commands needed by a reminder script.
Remind unit tests / tests (push) Successful in 44s
2025-01-17 08:46:29 -05:00
Dianne Skoll
c2ec4e9d29
Don't require any translation strings to include a trailing "\n"
2025-01-14 13:46:23 -05:00
Dianne Skoll
213138a7b7
Split the "-ds" debug flag into "-ds" and "-dh"
...
-ds prints parsed expressions
-dh dumps hash-table statistics on exit.
2024-12-31 12:50:15 -05:00
Dianne Skoll
562cec3dc8
Mass-update copyright date to 2025.
2024-12-29 13:47:07 -05:00
Dianne Skoll
77080ff600
Make copyright notices consistent.
Remind unit tests / tests (push) Successful in 37s
2024-12-24 20:02:08 -05:00
Dianne Skoll
34c513ba3b
Add $CalType system variable.
2024-12-24 14:45:57 -05:00
Dianne Skoll
800a4b15b2
Add support for weekly PDF calendars with "-p+n" Remind option.
2024-12-24 13:07:45 -05:00
Dianne Skoll
5a2914f6c7
Start hash tables with 7 buckets instead of 17; print more detailed hash stats with -ds; consistently use ErrFp instead of stderr
Remind unit tests / tests (push) Successful in 32s
2024-12-14 11:52:16 -05:00
Dianne Skoll
c7ca1b4baa
Get rid of the DyamicFoo hacks and make most translatable variables live in the translation table.
2024-12-12 11:43:03 -05:00
Dianne Skoll
88aacb3905
Get two-way propagation working properly.
2024-12-11 20:08:09 -05:00
Dianne Skoll
87445f639c
Don't print the "" error message for translators.
2024-12-10 14:09:02 -05:00
Dianne Skoll
585d45e4a1
Completely remove support for compile-time localization.
...
All localization is now done at run-time.
2024-12-10 10:58:09 -05:00
Dianne Skoll
4c314ff81c
Add --print-errs and localize error messages in lang/fr.rem.
2024-12-09 20:40:41 -05:00
Dianne Skoll
d9796e72e5
Allow error messages to be localized.
2024-12-09 19:55:23 -05:00
Dianne Skoll
973019c4c7
Implement TRANSLATE keyword.
2024-12-09 12:56:40 -05:00
Dianne Skoll
cb712ad7e7
Replace the individual hash table implementations with a unified one.
2024-12-09 11:54:52 -05:00
Dianne Skoll
e0fde98410
Add $DedupeReminders global variable.
2024-11-12 09:26:31 -05:00
Dianne Skoll
533718b0a0
Massive whitespace cleanups: Untabify everything.
2024-11-08 20:30:13 -05:00
Dianne Skoll
52c973509b
Add --print-config-cmd long option.
2024-10-15 10:32:01 -04:00
Dianne Skoll
97013ae89b
Return T_Illegal with a negative tok.val if we can't parse a numeric token.
2024-09-11 08:45:31 -04:00
Dianne Skoll
56e62b1b4d
More error checking of bad date specs.
2024-09-10 14:27:46 -04:00
Dianne Skoll
8a5b88338b
Add --print-tokens long option to dump Remind tokens to stdout.
2024-09-08 10:29:49 -04:00