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 |
|
Dianne Skoll
|
34dab68805
|
Finish implementing "-zj" mode - Daemon mode with JSON responses.
|
2024-02-27 10:18:18 -05:00 |
|
Dianne Skoll
|
216dd03922
|
Start adding support for JSON-formatted daemon responses.
|
2024-02-27 09:54:35 -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
|
8e99ed27e7
|
Take is_queued into account when deciding to issue banner.
|
2024-02-24 09:33:59 -05:00 |
|
Dianne Skoll
|
9455ec48d7
|
Include lineno element in JSONQUEUE
|
2024-02-03 11:06:33 -05:00 |
|
Dianne Skoll
|
167631451d
|
Don't alloc/free FileName unnecessarily.
|
2024-02-02 18:45:31 -05:00 |
|
Dianne Skoll
|
fa5180b94d
|
Refactor JSON output routines.
|
2024-02-02 16:08:17 -05:00 |
|
Dianne Skoll
|
a043dfe8b9
|
Optimize the search for a queued filename by assuming we're still in the same file as before.
This is very likely to be true and should avoid traversing the list of
filenames in most cases.
|
2024-02-02 14:25:34 -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
|
72d10178bf
|
Mass-update copyright year to 2024.
|
2023-12-31 12:05:03 -05:00 |
|
Dianne Skoll
|
861ce34022
|
Clarify logic.
|
2023-12-25 10:16:59 -05:00 |
|
Dianne Skoll
|
3df2b72175
|
Simplify logic for updating of number of queued reminders.
|
2023-12-18 14:48:49 -05:00 |
|
Dianne Skoll
|
e7ac4f95be
|
Issue a spontaneous NOTE queued response only if we actually de-queue a reminder.
|
2023-12-18 14:44:41 -05:00 |
|
Dianne Skoll
|
bb516946be
|
If we de-queue a reminder without issuing it, send a NOTE queued %d message in server mode.
|
2023-12-15 14:16:26 -05:00 |
|
Dianne Skoll
|
1bfd7761bc
|
Use EXIT_FAILURE / EXIT_SUCCESS consistently.
|
2023-12-10 10:42:26 -05:00 |
|
Dianne Skoll
|
de9cb1d0a3
|
Use symbols STDIN_FILENO, etc.
|
2023-12-10 10:38:42 -05:00 |
|
Dianne Skoll
|
b2d32b514a
|
Catch SIGCONT to force it to interrupt the select() system call.
|
2023-12-09 19:12:27 -05:00 |
|
Dianne Skoll
|
6e53fd6924
|
Refactor code: Replace SystemTime(x)/60 with MinutesPastMidnight(x)
|
2023-12-09 10:41:03 -05:00 |
|