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
|
1d44577ce9
|
Exit rather than return if we forked in System().
|
2024-03-01 09:00:36 -05:00 |
|
Dianne Skoll
|
b274ac635c
|
Clarify comment.
|
2024-02-29 09:46:56 -05:00 |
|
Dianne Skoll
|
0f782f7697
|
Set CLOEXEC flag on files we open.
When running programs in server mode, connect stdin and stdout to /dev/null
|
2024-02-29 09:22:15 -05:00 |
|
Dianne Skoll
|
22ccce0934
|
Lay groundwork for having TriggerReminder put the results in a DynamicBuffer rather than sending to stdout
Eventually should allow us to make a JSON-based daemon mode.
|
2024-02-25 09:17:54 -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
|
72d10178bf
|
Mass-update copyright year to 2024.
|
2023-12-31 12:05:03 -05:00 |
|
Dianne Skoll
|
2551e98d11
|
Use "now = time(NULL)" rather than (void) time(&now)"
|
2023-12-11 15:56:42 -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
|
e268bbf31d
|
Bump version to 04.02.06
|
2023-09-12 14:38:14 -04:00 |
|
Dianne Skoll
|
18f21693af
|
Clean up some warnings from cppcheck static analyzer.
|
2023-02-07 10:28:02 -05:00 |
|
Dianne Skoll
|
13df3d96e5
|
Add JulianToGregorianOffset function.
|
2023-01-09 14:18:10 -05:00 |
|
Dianne Skoll
|
2f196e3c9f
|
Update copyright year. :)
|
2022-12-30 13:43:28 -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
|
1596d9c76a
|
Better comments.
|
2022-12-21 13:41:25 -05:00 |
|
Dianne Skoll
|
4aacf74e25
|
More renaming of jul -> dse
|
2022-12-21 13:35:12 -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
|
f3d969f658
|
Make sure we print the banner on each iteration of a command-line '*rep'
|
2022-10-20 18:21:57 -04:00 |
|
Dianne Skoll
|
dbe4c662c1
|
Add the "FUNSET" command to delete user-defined functions.
|
2022-10-12 14:12:13 -04:00 |
|
Dianne Skoll
|
8ada68ce54
|
Add the "columns(str)" variant.
|
2022-10-11 13:18:44 -04:00 |
|
Dianne Skoll
|
3c120bf561
|
Avoid compiler warning.
|
2022-10-10 17:04:51 -04:00 |
|
Dianne Skoll
|
b9839421f2
|
make "MSF" correctly wrap UTF-8 text.
|
2022-10-10 11:05:38 -04:00 |
|
Dianne Skoll
|
67601507fa
|
More robust handling of ANSI color escape sequences.
|
2022-10-09 22:00:06 -04:00 |
|
Dianne Skoll
|
c2e5534462
|
Make "REM ... MSF ..." handle ANSI color escape sequences correctly.
|
2022-10-09 21:55:09 -04:00 |
|
Dianne Skoll
|
e0998a3991
|
Implement trigtags()
|
2022-10-09 21:31:24 -04:00 |
|
Dianne Skoll
|
805c2e0c69
|
Implement the utctolocal and localtoutc functions.
|
2022-10-04 16:23:45 -04:00 |
|
Dianne Skoll
|
f8ea124b1f
|
Add OS error message if we can't open file.
|
2022-09-24 10:57:32 -04:00 |
|
Dianne Skoll
|
740bb44956
|
Don't consider IFTRIG true if we could not compute a trigger date.
Bug noted by Gunther Reißig
|
2022-09-22 08:48:19 -04:00 |
|
Dianne Skoll
|
fc93ae890a
|
Allow NULL pointers to be supplied to FromJulian if we are not interested in specific values
|
2022-09-17 23:04:34 -04:00 |
|
Dianne Skoll
|
4e80ce1159
|
Don't make SIGINT kill a background process; don't call printf from a signal-handler; use sigaction instead of signal
|
2022-08-05 22:04:44 -04:00 |
|
Dianne Skoll
|
98a20ae058
|
Better call-stack printing.
|
2022-03-25 14:17:43 -04:00 |
|
Dianne Skoll
|
df9ef6e13a
|
Print call stack if an error occurs in a user-defined function.
|
2022-03-25 14:03:06 -04:00 |
|
Dianne Skoll
|
878ab1a8bc
|
Fix a bunch of spelling mistakes found by Jens Schleusener
|
2022-03-15 14:40:46 -04:00 |
|
Dianne Skoll
|
4d17494371
|
Bump copyright date.
|
2022-03-14 21:12:20 -04:00 |
|
Dianne Skoll
|
61d665ef7d
|
Turn a bunch of Eprint calls into Wprint calls to indicate warnings instead of errors.
|
2022-03-12 10:27:58 -05:00 |
|
Dianne Skoll
|
cd68041312
|
Get rid of obsolete PutChar and Putc macros.
|
2022-02-01 16:05:06 -05:00 |
|
Dianne Skoll
|
f6f201085c
|
Start adding support for dynamic month and day names.
|
2022-01-25 18:47:25 -05:00 |
|
Dianne Skoll
|
e51d7f3c6d
|
Add "DO file" command which is equivalent to "INCLUDE [filedir()]/file"
|
2022-01-20 19:30:10 -05:00 |
|
Dianne Skoll
|
a163a0c446
|
Add INCLUDECMD command
Executes a shell command and reads the resulting output as a Remind script.
|
2021-09-04 23:00:03 -04:00 |
|
Dianne Skoll
|
34409f7a7d
|
Update copyright year.
|
2021-04-02 10:43:54 -04:00 |
|
Dianne Skoll
|
498a429b2c
|
Add MAYBE-UNCOMPUTABLE modifier to trigger.
|
2020-09-25 22:08:49 -04:00 |
|
Dianne Skoll
|
8ab78fd8be
|
Suppress compile warnings on Ubuntu 18.04
|
2020-03-19 20:27:45 -04:00 |
|
Dianne Skoll
|
6b991cdf9c
|
Refactor saving of trigger info.
|
2020-02-23 11:38:17 -05:00 |
|
Dianne Skoll
|
8b2a69cf8d
|
Do a small bit of refactoring to get rid of some copy/paste code.
|
2020-01-15 09:18:32 -05:00 |
|
Dianne Skoll
|
3f876e792c
|
Reset $DefaultColor each time we iterate.
|
2020-01-14 21:15:27 -05:00 |
|
Dianne Skoll
|
9f0aedb608
|
Don't suppress errors in trigger computation.
|
2019-12-31 22:13:53 -05:00 |
|
Dianne Skoll
|
e5519a8498
|
Handle events that span >1 day.
|
2019-12-31 17:39:26 -05:00 |
|
Dianne Skoll
|
fbbffb4672
|
Bump version to 3.1.18 and copyright year to 2020.
|
2019-12-30 11:15:00 -05:00 |
|