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
a35de17b00
Add the "catch()" built-in function.
2025-05-09 17:09:00 -04:00
Dianne Skoll
ed7c5103ff
Fold years so even 32-bit systems can handle astronomical stuff past 2038
2025-05-08 14:14:49 -04:00
Dianne Skoll
471ecff267
Report both starting and ending lines for commands spanning multiple lines because of \-line continuation.
...
This affects error and warning messages primarily. The JSON
interchange format has an additional lineno_start entry for
reminders that span multiple lines. (Historically, lineno
was the *last* line of the reminder statement and I kept
that for compatibility.)
2025-02-16 20:30:16 -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
96c11e89eb
Add the TRANSLATE GENERATE command to generate a skeleton .rem file for localization.
2025-01-14 13:27:04 -05:00
Dianne Skoll
562cec3dc8
Mass-update copyright date to 2025.
2024-12-29 13:47:07 -05:00
Dianne Skoll
34c513ba3b
Add $CalType system variable.
2024-12-24 14:45:57 -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
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
f1591140d4
- Add $DefaultDelta system variable.
...
- Make FRENAME delete definition of newname if oldname is not defined.
- Document FRENAME, $DefaultDelta and the char(8) hack.
2024-11-13 21:45:54 -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
ee1c931932
Add $SuppressImplicitWarnings system variable.
...
This suppresses warnings about missing REM or MSG tokens.
2024-09-15 09:39:15 -04:00
Dianne Skoll
fa1033db6f
Don't warn about assuming REM type if we've already warned about assuming "REM"
2024-08-21 15:09:41 -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
41859fc484
Remove some unused definitions; use symbolic value for sort initializer.
2024-07-04 16:58:41 -04:00
Dianne Skoll
7c86bc910a
Better diagnostics of unmatched IFs
2024-06-05 09:08:04 -04:00
Dianne Skoll
a8bfb41a9e
Add $ExpressionTimeLimit system variable.
2024-06-02 14:01:17 -04:00
Dianne Skoll
b49c0f52bd
Implement EXPR ON and EXPR OFF
2024-06-02 12:39:00 -04:00
Dianne Skoll
d2b43605ad
Completely revamp expression engine.
2024-06-01 08:19:12 -04:00
Dianne Skoll
51aa7aecb9
Make $Tt a synonym for trigtime()
2024-04-20 11:50:39 -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
2e56edd557
SystemTime can be int... no need for it to be long.
2024-02-03 09:26:30 -05:00
Dianne Skoll
7cfb75e3b3
Save filename when queueing reminders. Also, use original trigger structure when triggering.
...
Before, we'd lose the priority and msgprefix() would mess up.
2024-02-02 14:18:55 -05:00
Dianne Skoll
b45428df05
Add system variables: $NumFullOmits, $MaxFullOmits, $NumPartialOmits, $MaxPartialOmits
2023-12-28 19:22:48 -05:00
Dianne Skoll
ca795a352a
Add the $MaxLateMinutes system variable.
...
Don't trigger a timed reminder if it's more than $MaxLateMinutes past
the trigger time (for example, if the computer has hibernated and then
been awoken.)
2023-12-03 17:16:48 -05:00
Dianne Skoll
85b0348fa7
Add $ParseUntriggered system variable.
2023-07-20 09:21:37 -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
e3ec6565e9
Add support for -k: option --- applies command only to *queued* reminders.
2023-03-13 15:16:24 -04:00
Dianne Skoll
18f21693af
Clean up some warnings from cppcheck static analyzer.
2023-02-07 10:28:02 -05:00
Dianne Skoll
0cea410529
Add a bunch of: "SPDX-License-Identifier: GPL-2.0-only" comments.
2022-12-26 14:24:33 -05:00
Dianne Skoll
387125d983
Start fixing terminology: Julian becomes DSE
...
Remind's so-called "Julian" date is not a true Julian date.
It's really the number of days since the Remind Epoch, so rename
to DSE (Days Since Epoch)
2022-12-21 13:14:00 -05:00
Dianne Skoll
07fd975935
Add the $AddBlankLines system variable.
2022-10-10 22:49:28 -04:00
Dianne Skoll
ec72c74016
Add $Use256Colors, $UseBGVTColors, $UseTrueColors and $UseVTColors special variables.
2022-10-09 12:16:33 -04:00
Dianne Skoll
fba9f139ed
Add global OMIT of the form:
...
OMIT wkday [wkday...]
For example: OMIT Saturday Sunday
2022-10-05 14:12:53 -04:00
Dianne Skoll
b39e0eab7e
Get rid of ComputeCalWidth - it's obsolete
2022-09-24 10:39:05 -04:00
Dianne Skoll
a01e05c1db
Fix bug introduced in commit 98c5bf511e:
...
Don't print a banner when issuing a queued reminder.
2022-09-21 18:17:25 -04:00
Dianne Skoll
efecf2e1ea
Make "remind -c" optionally support the SPECIAL SHADE
2022-09-16 11:41:18 -04:00
Dianne Skoll
a5865fb5fe
Add $SuppressLRM system variable; bump version to 04.00.01.
2022-05-27 12:22:26 -04:00
Dianne Skoll
0653b9420a
Add "q" suboption to "-p" to not suppress quote markers.
2022-03-23 11:02:16 -04:00
Dianne Skoll
d30f347a0b
More language work.
2022-03-20 13:05:24 -04:00
Dianne Skoll
5e9b1e7464
Fix compilation errors for non-English languages.
2022-03-20 10:49:37 -04:00
Dianne Skoll
d38c324340
Start making language stuff dynamic.
2022-03-20 09:42:24 -04:00
Dianne Skoll
fade38d522
Add $SysInclude system variable.
2022-03-20 08:56:01 -04:00
Dianne Skoll
37e3d3d1d1
Add $Today and $Tomorrow system variables.
2022-03-19 15:17:18 -04:00
Dianne Skoll
4d17494371
Bump copyright date.
2022-03-14 21:12:20 -04:00
Dianne Skoll
00ab7b196d
Set default of $MaxSatIter to 1000 instead of 150.
...
Computers are much faster than when Remind was first written;
we can handle a much higher limit.
2022-03-04 08:18:49 -05:00
Dianne Skoll
2f1e3524df
Replace the various LAT_ and LONG_ macros with DEFAULT_LATITUDE and DEFAULT_LONGITUDE
2022-01-31 08:52:18 -05:00