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
Dianne Skoll
1dedb667e8
Prevent a couple of file descriptor leaks.
Remind unit tests / tests (push) Successful in 28s
2024-08-31 09:06:05 -04:00
Dianne Skoll
e3f9380fcd
Allow ONCE to be used if input is stdin, as long as $OnceFile is set.
...
Clarify documentation.
2024-07-10 09:32:05 -04:00
Dianne Skoll
ac033d75c0
Add the $OnceFile special variable.
...
This lets us specify a timestamp file that Remind
uses to track the last run for the purpose of handling
the ONCE keyword, rather than using the last access date
of the reminder file.
Keeping a timestamp file is a more reliable way to track
when Remind was last run.
2024-07-09 09:23:15 -04:00
Dianne Skoll
3e9eeea8dc
Update docs; kill time-limiter when we queue.
2024-06-04 11:51:27 -04:00
Dianne Skoll
8125b96f0b
Add --max-excution-time cmdline option.
2024-06-03 10:40:58 -04:00
Dianne Skoll
a8bfb41a9e
Add $ExpressionTimeLimit system variable.
2024-06-02 14:01:17 -04:00
Dianne Skoll
fafb30db05
Add --max-execution-time option
2024-06-02 12:56:46 -04:00
Dianne Skoll
d77d9854d2
Remove src/expr.h - everything in it is now in types.h or protos.h
2024-06-02 10:26:41 -04:00
Dianne Skoll
d2b43605ad
Completely revamp expression engine.
2024-06-01 08:19:12 -04:00
Dianne Skoll
959355b19c
Stricter parsing of '-i' option.
2024-05-25 09:36:33 -04:00
Dianne Skoll
9c3f0f1994
Allow "-ifoo" on the command-line, which is the same as "-ifoo=0"
2024-05-25 09:22:41 -04:00
Dianne Skoll
1f10ca49ad
Pass proper args to AC_INIT; include Remind home page in usage output.
2024-04-20 10:39:12 -04:00
Dianne Skoll
61fcc1b275
Add "s" debugging flag to see expression-parsing stack high-water marks.
...
Reduce default value stack size from 1000 to 100.
2024-03-13 12:06:55 -04:00
Dianne Skoll
26977a4ac0
Fix a bunch of cppcheck complaints and also update the cppcheck Makefile target.
2024-03-11 12:10:03 -04:00
Dianne Skoll
216dd03922
Start adding support for JSON-formatted daemon responses.
2024-02-27 09:54:35 -05:00
Dianne Skoll
72d10178bf
Mass-update copyright year to 2024.
2023-12-31 12:05:03 -05:00
Dianne Skoll
04b349c6c7
Check write() call for failures.
2023-12-28 18:23:13 -05:00
Dianne Skoll
7fe3eb7391
Avoid warning about ignoring return value. *SIGH*
2023-12-28 18:20:59 -05:00
Dianne Skoll
1d9e46997c
Don't attempt to obtain terminal background color at startup. Instead, only obtain it if and when it is needed.
2023-12-26 10:08:00 -05:00
Dianne Skoll
1bfd7761bc
Use EXIT_FAILURE / EXIT_SUCCESS consistently.
2023-12-10 10:42:26 -05:00
Dianne Skoll
6e53fd6924
Refactor code: Replace SystemTime(x)/60 with MinutesPastMidnight(x)
2023-12-09 10:41:03 -05:00
Dianne Skoll
d5a4b0d235
Allow specification of terminal-background mode as 't'
...
This forces Remind to try to guess the terminal background
even if stdout is not a tty.
2023-10-08 11:19:17 -04:00
Dianne Skoll
d881a26ad0
Don't attempt to guess terminal background if supplied in an -@,n option.
2023-10-05 09:52:43 -04:00
Dianne Skoll
8519edde29
Fix logic error.
2023-10-04 10:11:49 -04:00
Dianne Skoll
a30c467c48
Revert "Guess terminal background even if stdout is not a tty"
...
This reverts commit 887cd83ebe .
2023-10-04 09:36:25 -04:00
Dianne Skoll
887cd83ebe
Guess terminal background even if stdout is not a tty
2023-10-04 09:33:54 -04:00
Dianne Skoll
5efb70909d
Make -w0 obtain width from STDOUT_FILENO
2023-10-04 09:32:06 -04:00
Dianne Skoll
a60d466774
Document that Remind attempts to figure out terminal background lightness.
2023-10-03 18:59:51 -04:00
Dianne Skoll
1c01f36271
Fix typo
2023-10-03 09:25:45 -04:00
Dianne Skoll
e8f3d5ff9f
Tweak the terminal background-color guessing code.
2023-10-03 00:04:01 -04:00
Dianne Skoll
d77e27942d
Try to guess the terminal background color.
2023-10-03 00:00:59 -04:00
Dianne Skoll
44d489d3d2
Make -w0 behave the same as -wt instead of causing an infinite loop.
2023-10-02 23:03:30 -04:00
Dianne Skoll
3e36ffa9ff
Rename function.
2023-10-01 13:56:24 -04:00
Dianne Skoll
62388fb21f
Add "--version" long option.
2023-09-25 08:23:28 -04:00
Dianne Skoll
e63d4be4e8
Make "-tn" explicitly set a delta of ++n for *all* REM statements.
...
Also change the name of $DeltaOffset to $DeltaOverride.
2023-06-03 13:36:58 -04:00
Dianne Skoll
65561e7f34
Add "-tz" option to suppress all deltas. Document -tn better.
2023-05-21 20:14:07 -04:00
Dianne Skoll
ec76554d41
Treat a null -k option as no -k option
2023-03-15 09:22:44 -04:00
Dianne Skoll
ddb0817c99
Make an empty -k option the same as no -k option.
2023-03-15 09:17:02 -04:00
Dianne Skoll
e3ec6565e9
Add support for -k: option --- applies command only to *queued* reminders.
2023-03-13 15:16:24 -04:00