Dianne Skoll
ab69fee895
No need for timetis64bit guards (I hope...)
2025-05-08 14:33:33 -04:00
Dianne Skoll
4590e746c5
Force year-folding on 32-bit time_t machines.
2025-05-08 12:10:15 -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
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
59f978a9db
Add $TimetIs64bit system variable.
2025-05-06 12:14:18 -04:00
Dianne Skoll
44b920e080
Make "remind -s" respect $DefaultColor
...
https://dianne.skoll.ca/pipermail/remind-fans/2025/005051.html
2025-04-23 10:15:20 -04:00
Dianne Skoll
2c8fa39af0
Add tests for astronomical functions.
2025-03-20 11:38:18 -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
5acbb907b4
Issue warning if a substitution sequence related to time is used without an AT clause.
Remind unit tests / tests (push) Successful in 31s
2025-02-10 09:23:43 -05:00
Dianne Skoll
3b43222585
Add the triginfo("header") function and corresponding %<...> substitution sequence.
2025-02-01 14:39:06 -05:00
Dianne Skoll
51b831fb6a
Check for proper escaping in JSON and TRANSLATE DUMP.
2025-02-01 11:15:25 -05:00
Dianne Skoll
0ebaaa4097
Add optional add_quote argument to escape()
2025-02-01 10:58:55 -05:00
Dianne Skoll
930bab0fde
Add more tests.
2025-02-01 10:45:34 -05:00
Dianne Skoll
694c4099d1
Add \xAA sequence for parsing quoted strings; add the escape() built-in function; update docs.
2025-02-01 10:36:38 -05:00
Dianne Skoll
e832eb868c
Make INFO require "Header: Value" strings; make the "info" element in the JSON output a hash instead of an array.
Remind unit tests / tests (push) Successful in 36s
2025-01-30 16:58:56 -05:00
Dianne Skoll
e6ceeee2ec
Add the "INFO" clause to the REM command.
...
Remind unit tests / tests (push) Successful in 33s
Intended to pass additional information to a back-end to use as it wishes.
One example is to add extra info such as locaiton, description, etc. to ical
files.
2025-01-28 15:51:28 -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
e0c5e878a8
Explicitly unset REMIND_RUNNING_TEST at the start.
2025-01-20 11:35:32 -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
b3f3cb9ce0
Add test for previous change
Remind unit tests / tests (push) Successful in 31s
2025-01-19 22:05:25 -05:00
Dianne Skoll
6b31778973
Better error message.
Remind unit tests / tests (push) Successful in 32s
2025-01-16 19:24:57 -05:00
Dianne Skoll
dcf8b46beb
Skip queueing tests between 23:55 and 00:00 UTC.
2025-01-16 19:23:49 -05:00
Dianne Skoll
0f582ccb60
Sleep until midnight if test starts after 23:55 UTC
Remind unit tests / tests (push) Successful in 35s
2025-01-16 13:52:34 -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
788a09b2cd
Properly fix printing of ^-- here in error diagnosis.
Remind unit tests / tests (push) Successful in 1m36s
2025-01-13 12:55:14 -05:00
Dianne Skoll
562cec3dc8
Mass-update copyright date to 2025.
2024-12-29 13:47:07 -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
5a80d63060
Add localization tests.
2024-12-12 11:55:07 -05:00
Dianne Skoll
6c0e7b4ff5
Add a second torture test to test hash-table resizing.
Remind unit tests / tests (push) Successful in 31s
2024-12-10 15:12:24 -05:00
Dianne Skoll
877aaed1a1
Fix spelling error in comment.
2024-11-18 11:20:13 -05:00
Dianne Skoll
57fa1a6099
Make it clearer what went wrong if we use "remind" rather than "../src/remind"
Remind unit tests / tests (push) Successful in 1m44s
2024-11-18 11:05:21 -05:00
Dianne Skoll
6cdb12b5a8
Instead of searching test-rem for "remind" without "../src/remind", simply alias remind to false.
...
Trick suggested by Jochen Sprickerhof.
2024-11-18 11:00:10 -05:00
Dianne Skoll
c73e1b6f97
Make test-rem test itself to ensure it always invokes remind as ../src/remind.
2024-11-18 10:50:43 -05:00
Jochen Sprickerhof
ed6d35e418
Fix remind call in test
2024-11-18 16:28:18 +01:00
Dianne Skoll
ae39eb1d6e
Suppress LRM in tests for ease of 'diff'ing output.
Remind unit tests / tests (push) Failing after 30s
2024-11-12 23:31:25 -05:00
Dianne Skoll
e0fde98410
Add $DedupeReminders global variable.
2024-11-12 09:26:31 -05:00
Dianne Skoll
3e8c40990d
Make sure all *.rem files under include/ have no errors.
2024-11-10 13:05:01 -05:00
Dianne Skoll
723aba9b7c
Document and test --print-tokens
Remind unit tests / tests (push) Successful in 30s
2024-09-08 10:33:24 -04:00
Dianne Skoll
01cb028532
Fix up tests to pass in September 2024.
2024-09-01 11:09:32 -04:00
Dianne Skoll
abd54b016b
Add tests for newlines in calendars.
2024-08-28 12:56:53 -04:00
Dianne Skoll
4591c2b181
Bump version number; fix a bunch of man page warnings; make "make test" fail if there are any man page warnings iff the "man" command accepts --warning
Remind unit tests / tests (push) Successful in 6m7s
2024-07-26 09:59:46 -04:00
Dianne Skoll
1d8cb9749e
Add a test to ensure ONCE works even when taking input from STDIN if $OnceFile is set.
2024-07-10 13:55: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
7c86bc910a
Better diagnostics of unmatched IFs
2024-06-05 09:08:04 -04:00
Dianne Skoll
a6a638e0e6
Add test for UNMATCHED PUSH
2024-06-04 16:27:23 -04:00
Dianne Skoll
7a40260f0d
Add some expression evaluation tests.
2024-06-04 08:37:19 -04:00
Dianne Skoll
691185f22c
Update test file so tests pass.
2024-06-02 20:50:34 -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
c913306cbd
Add "qid" member to JSONQUEUE.
2024-03-16 11:17:28 -04:00