Dianne Skoll
f6253d0fca
Add $TerminalHyperlinks system variable.
...
This lets you turn any reminder with an INFO "Url: ..." string
into a hyperlink on the terminal.
2026-01-08 14:13:34 -05:00
Dianne Skoll
d4ed89f5ba
Update copyright date.
2025-12-31 11:05:21 -05:00
Dianne Skoll
7ae7edcb42
Assume standard functions strcasecmp, strncasecmp and strdup are always available.
2025-12-22 15:53:37 -05:00
Dianne Skoll
8748856f5a
Don't set up inotify descriptor if we are not in server mode.
2025-10-07 20:52:22 -04:00
Dianne Skoll
96c15ef42a
Update docs; close stdin when we go to queuing mode.
2025-10-07 14:00:11 -04:00
Dianne Skoll
3083142753
Don't set up an inotify descriptor in non-daemon mode.
2025-09-30 16:41:16 -04:00
Dianne Skoll
274a2bf067
Don't unconditionally set RunDIsabled.
2025-08-15 20:53:07 -04:00
Dianne Skoll
7b7b861399
Disable RUN in callbacks to ordx and subst_xxx functions.
2025-08-15 20:27:51 -04:00
Dianne Skoll
9d6ce5b674
Implement --json - JSON mode output.
2025-08-11 20:16:22 -04:00
Dianne Skoll
0769e3e9cb
Proper trigger logic for TODOs.
2025-08-11 17:35:54 -04:00
Dianne Skoll
aa3760bc04
Make a bunch of functions static, on the recommendation of cppcheck.
2025-07-22 15:44:57 -04:00
Dianne Skoll
ea5e8c90ff
More const stuff.
2025-07-21 18:46:31 -04:00
Dianne Skoll
516b9c81b3
Get rid of ancient cruft.
2025-05-28 14:23:56 -04:00
Dianne Skoll
8d88192483
Keep a hash table of filenames we've seen so we don't need to strdup the current filename all over the place.
2025-05-24 22:51:16 -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
1641f99f97
Include the "info" element in pop-up reminders.
2025-02-01 15:02:54 -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
8d09abc363
Use snprintf in favor of sprintf almost everywhere.
Remind unit tests / tests (push) Successful in 35s
2025-01-22 11:11:08 -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
c2ec4e9d29
Don't require any translation strings to include a trailing "\n"
2025-01-14 13:46:23 -05:00
Dianne Skoll
17ccf5d2b4
Make more messages translatable.
2025-01-14 11:27:47 -05:00
Dianne Skoll
562cec3dc8
Mass-update copyright date to 2025.
2024-12-29 13:47:07 -05:00
Dianne Skoll
5b9d9a67b2
Make daemon not respond at all to a TRANSLATE for which there is no entry.
2024-12-10 17:16:25 -05:00
Dianne Skoll
d3e6c81a3a
Synthesize mixed-case translations.
2024-12-10 17:02:41 -05:00
Dianne Skoll
bffa28e258
Implement the "TRANSLATE" command to translate just one string;
...
rename "JSONTRANSLATE" to "TRANSLATE_DUMP"
2024-12-10 13:06:12 -05:00
Dianne Skoll
f5cc0ec686
Get translation table; translate moon phases in TkRemind.
2024-12-10 12:16:27 -05:00
Dianne Skoll
a2c818f96c
Fully implement JSONTRANSLATE daemon command.
2024-12-10 11:57:52 -05:00
Dianne Skoll
0bbbaaf3d9
Implement JSONTRANSLATE -zj command.
2024-12-10 11:48:01 -05:00
Dianne Skoll
8c3f7e092c
Clear dedupe table when queueing.
2024-11-12 10:35:25 -05:00
Dianne Skoll
533718b0a0
Massive whitespace cleanups: Untabify everything.
2024-11-08 20:30:13 -05:00
Dianne Skoll
e33bf4e80a
Explicitly set sa_flags in sigaction.
2024-06-06 10:42:04 -04:00
Dianne Skoll
3e9eeea8dc
Update docs; kill time-limiter when we queue.
2024-06-04 11:51:27 -04:00
Dianne Skoll
a8bfb41a9e
Add $ExpressionTimeLimit system variable.
2024-06-02 14:01:17 -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
362a02c4b8
Don't include inotify-related code if we don't have inotify.
...
Fixes bug that broke compilation on FreeBSD.
2024-04-01 14:24:00 -04:00
Dianne Skoll
d3240d711d
Rename DaemonWait to ServerWait.
2024-03-29 19:57:47 -04:00
Dianne Skoll
a8d63a4199
Use inotfy even in normal daemon mode (-zn where n>0) to detect file changes.
2024-03-29 08:28:41 -04:00
Dianne Skoll
a4807a21c3
Save the value of $DefaultColor that was in effect at the time a reminder was queued. Restore this value when triggering the reminder.
2024-03-26 11:44:42 -04:00
Dianne Skoll
a394ef53a0
Print the "passthru" field for PASSTHRU_TYPE reminders when listing the queue.
2024-03-26 11:29:37 -04:00
Dianne Skoll
eb8243743a
Prevent mishandling of SPECIAL COLOR reminders when pulling them from the queue.
...
Bug reported by Damien Tardy-Panis.
2024-03-26 11:21:17 -04:00
Dianne Skoll
e5711032bd
Keep reading inotify events until 0.2 seconds elapses between successive events.
2024-03-16 15:22:48 -04:00
Dianne Skoll
29c579a301
Refactor some code.
2024-03-16 14:01:21 -04:00
Dianne Skoll
6586fae3eb
Fix logic bug that would sometimes fail to send a queue update message to controlling process.
2024-03-16 13:36:24 -04:00
Dianne Skoll
d5a86f3e4f
Actually de-queue and free reminders that expire out of the queue.
2024-03-16 13:29:59 -04:00
Dianne Skoll
96551ccaa4
Make TkRemind use the "DEL qid" facility to ignore reminders. Fix potential use of freed memory in queue.c
2024-03-16 13:25:47 -04:00
Dianne Skoll
c83ee86d10
Implement DEL command to removed a queued reminder from the queue in -zj mode.
2024-03-16 12:54:30 -04:00
Dianne Skoll
c913306cbd
Add "qid" member to JSONQUEUE.
2024-03-16 11:17:28 -04:00
Dianne Skoll
3cdde5351f
Issue "NOTE newdate" in legacy mode in response to an inotify event.
2024-02-29 11:28:05 -05:00
Dianne Skoll
5a31bc7058
Integrate inotify support directly into Remind for server mode.
2024-02-29 11:03:28 -05:00
Dianne Skoll
9e0a74e583
Don't spit anything out to client for RUN-type reminders in server mode.
2024-02-29 09:31:37 -05:00