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
18c4ed1c6d
Allow use of Hebrew month spellings in hebdate()
2025-12-22 10:55:46 -05:00
Dianne Skoll
62e1a467f5
Make <wchar.t> and mbstowcs mandatory. Get rid of some conditional compilation.
2025-12-18 15:21:18 -05:00
Dianne Skoll
f726b09fc6
Suppress some spurious debugging output when we use "-dt" with a TZ reminder.
2025-10-11 11:56:48 -04:00
Dianne Skoll
a19b79951e
Fix more TZ bugs; warn if TZ name looks suspicious.
2025-10-08 23:07:37 -04:00
Dianne Skoll
0ecca26da8
Define a useful macro.
2025-10-07 09:01:14 -04:00
Dianne Skoll
2f86920842
Add $WarningLevel special variable.
2025-09-25 17:55:16 -04:00
Dianne Skoll
5a3840759a
Make PrintValue truncate long strings on a multibyte-character boundary instead of potentially splitting a UTF-8 sequence.
2025-09-12 11:12:19 -04:00
Dianne Skoll
703907c94d
Update JSON output.
2025-09-03 13:57:25 -04:00
Dianne Skoll
32f4b125b5
Seemingly (?) working time zone support!!
2025-09-03 12:35:51 -04:00
Dianne Skoll
7979a69cb9
First semi-sorta-working time zone adjustment.
2025-09-03 12:22:09 -04:00
Dianne Skoll
fe002557cf
New approach to handling time zone specs in REM command.
2025-09-03 11:02:01 -04:00
Dianne Skoll
0206e538e0
Avoid -Wunused-result warning.
2025-08-19 15:22:05 -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
de2ec1aa7b
In --json mode, redirect any RUN ... command stdout to stderr
...
We really don't want to mess up the JSON we produce on stdout!!
2025-08-14 21:47:40 -04:00
Dianne Skoll
fdaaf2b57a
Add comment; fix cppcheck warning.
2025-08-12 18:37:14 -04:00
Dianne Skoll
46a80da0e1
Preserve relative scanfroms in t->scanfrom; compute when needed.
2025-08-12 14:44:47 -04:00
Dianne Skoll
a66ca7cce7
In --json mode, try to always emit a banner.
2025-08-11 21:40:38 -04:00
Dianne Skoll
9d6ce5b674
Implement --json - JSON mode output.
2025-08-11 20:16:22 -04:00
Dianne Skoll
1cdd9531a5
Add --only-todos and --only-events args. Still have to implement JSON output.
2025-08-11 19:36:23 -04:00
Dianne Skoll
0769e3e9cb
Proper trigger logic for TODOs.
2025-08-11 17:35:54 -04:00
Dianne Skoll
68a4b23b6f
Rework scanfrom so it's computed as needed.
2025-08-11 16:52:41 -04:00
Dianne Skoll
24ed30fee0
Add RETURN command
...
Suggestion from Hymie! on Remind mailing list.
2025-08-06 11:08:41 -04:00
Dianne Skoll
9bd0055d4d
Add PUSH-FUNCS and POP-FUNCS.
2025-07-24 14:31:12 -04:00
Dianne Skoll
d944ceb32d
Implement clone_expr_tree in preparation for supporting PUSH-FUNCS / POP-FUNCS.
2025-07-24 12:06:23 -04:00
Dianne Skoll
235f947dd1
Replace PUSH-SYSVARS / POP-SYSVARS with better PUSH-VARS / POP-VARS commands.
2025-07-23 19:27:09 -04:00
Dianne Skoll
700ac85e54
Make warnings for unmatched PUSH-SYSVARS correspond to those for unmatched PUSH-OMIT-CONTEXT
2025-07-22 17:35:21 -04:00
Dianne Skoll
7325375ccd
Add PUSH-SYSVARS and POP-SYSVARS commands.
2025-07-22 17:20:58 -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
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
c5bc459dd9
Add "-du" debugging flag to print a list of variables that were set but never used.
2025-05-23 16:55:10 -04:00
Dianne Skoll
633812d961
Add "-c" option to "dump" to show constness when dumping variables.
2025-05-21 23:43:40 -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
21904e708f
Add "n" debugging flag to diagnose non-constant expressions.
2025-05-20 11:17:04 -04:00
Dianne Skoll
3fb1db0880
Add catcherr() built-in function.
2025-05-10 09:33:24 -04:00
Dianne Skoll
190dfa3a8f
Add moonrisedir and moonsetdir functions.
2025-03-19 11:57:01 -04:00
Dianne Skoll
a22c674846
Add moonrise and moonset functions.
2025-03-19 11:45:34 -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
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
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
ac3dd1ec7c
Better translation template
2025-01-14 14:54:26 -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
562cec3dc8
Mass-update copyright date to 2025.
2024-12-29 13:47:07 -05:00
Dianne Skoll
c4aa21ff51
Remove unused functions.
2024-12-24 15:05:15 -05:00
Dianne Skoll
5a2914f6c7
Start hash tables with 7 buckets instead of 17; print more detailed hash stats with -ds; consistently use ErrFp instead of stderr
Remind unit tests / tests (push) Successful in 32s
2024-12-14 11:52:16 -05:00