Dianne Skoll
af5854d0c6
Improve diagnostic message.
2025-05-21 12:27:08 -04:00
Dianne Skoll
43d0066780
Add test for additional non-constant debugging message.
2025-05-21 12:24:44 -04:00
Dianne Skoll
de2d15009f
Document all the non-constant tracking machinery.
2025-05-21 12:23:08 -04:00
Dianne Skoll
8ca5c7e56e
Add test for "hush mode" in conjunction with "purge mode"
2025-05-21 11:21:24 -04:00
Dianne Skoll
bd6218d7e2
Update man page.
2025-05-21 11:21:04 -04:00
Dianne Skoll
5d822e294d
Make "Hush Mode" suppress all purge-mode diagnostics.
...
We only get the "#!P: Expired" lines in that case.
2025-05-21 11:15:56 -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
a309af731f
Minor code-formatting improvement.
2025-05-20 16:42:50 -04:00
Dianne Skoll
31c8893a2a
Add tests for non-const-expression debugging output.
2025-05-20 12:03:53 -04:00
Dianne Skoll
e3a6c65983
Fix silly typo
2025-05-20 11:57:20 -04:00
Dianne Skoll
1355b99560
Document non-constant expressions.
2025-05-20 11:55:19 -04:00
Dianne Skoll
21904e708f
Add "n" debugging flag to diagnose non-constant expressions.
2025-05-20 11:17:04 -04:00
Dianne Skoll
e4a6a5cf01
Properly parse unary '+' operator. It's ignored, essentially.
2025-05-17 11:33:27 -04:00
Dianne Skoll
098cf4707a
Do not use obsolete "tail +2" syntax. Instead use "tail -n+2"
...
Fix courtesy of Dick Marinus.
2025-05-17 10:59:28 -04:00
Dianne Skoll
1be6ff23fb
Optimmize away ! INT_CONSTANT.
2025-05-16 10:48:02 -04:00
Dianne Skoll
4db201945c
Optimize "- INT_CONSTANT" to be simply -INT_CONSTANT rather than (- INT_CONSTANT)
2025-05-16 08:30:44 -04:00
Dianne Skoll
6aa217044b
Implement wkdaynum("dayname")
2025-05-14 18:30:47 -04:00
Dianne Skoll
c64d939237
Allow argument to monnum to be a string, in which case it's parsed as a month name.
2025-05-14 09:57:16 -04:00
Dianne Skoll
398100c6e3
Put anchor <a name="dN"></a> for day N's day box.
2025-05-12 09:22:49 -04:00
Dianne Skoll
3fb1db0880
Add catcherr() built-in function.
2025-05-10 09:33:24 -04:00
Dianne Skoll
76bf57af60
Tweak "catch()" documentation.
2025-05-09 23:32:03 -04:00
Dianne Skoll
a8fc88be17
Clarify that catch() doesn't catch errors when evaluating its second argument.
2025-05-09 17:21:34 -04:00
Dianne Skoll
a50f40d652
Don't use repeated DBG() macros. Instead, wrap everything in a conditional
2025-05-09 17:17:37 -04:00
Dianne Skoll
71b3564c03
Add catch to list of built-in functions.
2025-05-09 17:10:46 -04:00
Dianne Skoll
a35de17b00
Add the "catch()" built-in function.
2025-05-09 17:09:00 -04:00
Dianne Skoll
ab44f93f37
Update man page with info about how Remind folds years.
2025-05-08 14:47:48 -04:00
Dianne Skoll
ab69fee895
No need for timetis64bit guards (I hope...)
2025-05-08 14:33:33 -04:00
Dianne Skoll
db31214060
Fix up year-folding logic.
2025-05-08 14:30:07 -04:00
Dianne Skoll
758e2c1a9d
Add some more year-folding tests.
2025-05-08 14:22:01 -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
4590e746c5
Force year-folding on 32-bit time_t machines.
2025-05-08 12:10:15 -04:00
Dianne Skoll
bc8ce3e2cc
Change FoldArray to use years as close as possible to (but less than) 2038.
2025-05-08 11:56:53 -04:00
Dianne Skoll
3e82fe8712
Update WHATSNEW
05.03.07
2025-05-06 12:52:37 -04:00
Dianne Skoll
ea3126645c
Prevent eclipse files from barfing on systems with 32-bit time_t
2025-05-06 12:43:38 -04:00
Dianne Skoll
e107ed5482
Bump version to 05.03.07.
2025-05-06 12:37:43 -04:00
Dianne Skoll
66523b1b3b
Use llabs instead of labs for systems that normally have 32-bit time_t
...
but are configured to use 64-bit time_t.
2025-05-06 12:36:43 -04:00
Dianne Skoll
8590cf6207
Add more verbiage
2025-05-06 12:33:21 -04:00
Dianne Skoll
c85a8a7614
Make tests pass on systems with 32-bit time_t.
2025-05-06 12:32:03 -04:00
Dianne Skoll
416ee87dd0
Try to make tests pass on systems with 32-bit time_t.
2025-05-06 12:20:59 -04:00
Dianne Skoll
7705278575
Update remind-conf-mode with $TimetIs64bit
2025-05-06 12:14:55 -04:00
Dianne Skoll
59f978a9db
Add $TimetIs64bit system variable.
2025-05-06 12:14:18 -04:00
Dianne Skoll
4515291720
Move moonrise/moonset after sunrise/sunset.
2025-05-06 12:02:16 -04:00
Dianne Skoll
65eaf67a06
Add license text for lunar and solar eclipse files.
2025-05-06 11:41:51 -04:00
Dianne Skoll
3f4f00890a
Add solar and lunar eclipses in the 21st century.
2025-05-06 11:34:37 -04:00
Dianne Skoll
e96875c698
Fix typo.
2025-05-01 10:29:04 -04:00
Dianne Skoll
d65348bf83
Fix Bevrijdingsdag
2025-04-28 17:15:54 -04:00
Dianne Skoll
c1704b9d52
Fix up rules for Bevrijdingsdag courtesy of Adrian P. van Bloois
2025-04-28 10:00:53 -04:00
Dianne Skoll
e87d285170
Remove unbalanced .RE from man page source.
2025-04-27 12:15:03 -04:00
Dianne Skoll
c6b00b616e
Change the comment from:
...
also include [$SysInclude]/holidays/...
to:
also SYSINCLUDE holidays/...
2025-04-27 10:04:48 -04:00
Dianne Skoll
084dbd71b1
Move Koningsdag to Saturday instead of Monday if 27 April is a Sunday.
...
Bug pointed out by Adri P. van Bloois.
2025-04-26 10:23:51 -04:00