Dianne Skoll
695a2a3c2d
Add "dp" to hunspell dictionary.
2026-02-15 16:46:51 -05:00
Dianne Skoll
47aa542d4f
Update WHATSNEW
2026-02-15 16:45:28 -05:00
Dianne Skoll
5b4d1ae264
Bump version to 06.02.04
2026-02-15 11:09:26 -05:00
Dianne Skoll
721ccb9af9
Add explicit dates to most Remind invocations in test-rem
2026-02-15 11:03:28 -05:00
Dianne Skoll
ab1a6c412a
Add tests for push/pop in different files warnings.
2026-02-15 10:57:31 -05:00
Dianne Skoll
c3a555942b
Don't warn if a POP... is in a different file from a PUSH... unless the -dp flag is used.
2026-02-15 10:53:08 -05:00
Dianne Skoll
0d15977875
Tweak man pages.
2026-02-05 22:47:28 -05:00
Dianne Skoll
0a7e6ee219
Fix wording.
2026-02-05 22:42:15 -05:00
Dianne Skoll
baf049662f
Fix typo
2026-02-05 22:40:16 -05:00
Dianne Skoll
fd5d9a479d
*sigh* don't put an extra period after the version in "rem2html --version"
2026-02-05 22:33:43 -05:00
Dianne Skoll
01d3081f19
Make TkRemind support --version
2026-02-05 22:29:53 -05:00
Dianne Skoll
7841077fc6
Make all programs support --version
2026-02-05 22:25:10 -05:00
Dianne Skoll
2003c7a703
Add --version option to rem2pdf.
2026-02-05 22:18:17 -05:00
Dianne Skoll
4a603ce60d
Tweak the CSS.
2026-02-05 19:25:39 -05:00
Dianne Skoll
caad7f5aa3
Add the $Shaded system variable.
2026-02-05 13:14:22 -05:00
Dianne Skoll
ea2312c0b2
Add mblower and mbupper functions.
...
These are Unicode-safe versions of lower() and upper()
2026-02-05 12:41:36 -05:00
Dianne Skoll
c0c49be0b5
Bump to version 06.02.03
2026-02-05 10:08:21 -05:00
Dianne Skoll
c0594811bf
Integrate some CSS from Robert Black.
2026-02-04 17:49:58 -05:00
Dianne Skoll
b7e13845b6
Move yaag CSS to one place
2026-02-04 17:33:53 -05:00
Dianne Skoll
94b340305c
Make year-at-a-glance CSS classes all start with rem-yaag-
2026-02-02 11:12:27 -05:00
Dianne Skoll
f477757ac0
Update tests for correct trigbase output format.
2026-02-02 11:09:02 -05:00
Dianne Skoll
a8017c6fc7
Fix JSON format of trigbase
...
Reported by Georg Simon.
2026-02-02 11:05:29 -05:00
Dianne Skoll
aad746bca3
Improve --yaag CSS
2026-01-30 14:31:34 -05:00
Dianne Skoll
953ff8c49e
Add "--yaag" option to rem2html to create a "year-at-a-glance" formatted calendar.
2026-01-30 12:00:41 -05:00
Dianne Skoll
b5258b1eb5
Refactor.
2026-01-22 18:09:09 -05:00
Dianne Skoll
82733e817b
Increase default value of $MaxSatIter from 1000 to 10000.
2026-01-20 15:19:23 -05:00
Dianne Skoll
86e94009a4
Better error than "type mismatch" if we assign a bad value to a system variable.
2026-01-19 18:49:03 -05:00
Dianne Skoll
04ea056820
Add MOON, SHADE, WEEK, COLOR and COLOUR to keyword list even though they are not really keywords.
2026-01-18 14:24:40 -05:00
Dianne Skoll
d6ee16cc13
Avoid "use of uninitialized variable"
2026-01-13 17:02:43 -05:00
Dianne Skoll
ead660fe41
Document default setting of $TerminalHyperlinks.
2026-01-11 17:52:38 -05:00
Dianne Skoll
58e5ae15b0
Fix URL.
2026-01-11 15:22:07 -05:00
Dianne Skoll
85a8a4b016
Only set default for TerminalHyperlinks if it hasn't explicitly been set
...
(for example, with '-i$TerminalHyperlinks=n')
2026-01-11 10:58:30 -05:00
Dianne Skoll
c43eaec274
Default $TerminalHyperlinks to 1 if stdout is a TTY.
2026-01-11 10:56:19 -05:00
Dianne Skoll
13fd54b990
Add URLs for sunrise and sunset.
2026-01-11 10:54:34 -05:00
Dianne Skoll
a48b2ec02e
Fix typo
2026-01-10 20:11:18 -05:00
Dianne Skoll
4e3562e2e4
Prep release date.
2026-01-10 11:07:26 -05:00
Dianne Skoll
2020ae35c1
Add another bugfix doc.
2026-01-10 11:03:29 -05:00
Dianne Skoll
9418043bb6
When printing weekly calendars, start from the right date.
2026-01-10 10:54:50 -05:00
Dianne Skoll
e2f786580c
Make the 'z' flag of the "-c" command-line option work as it did in 06.00.00.
2026-01-10 10:35:52 -05:00
Dianne Skoll
5aabb20630
Fix typo
2026-01-09 21:50:23 -05:00
Dianne Skoll
a3c9ac2457
Add missing variable.
2026-01-09 21:49:28 -05:00
Dianne Skoll
80e3671f9b
Add incompatibility note.
2026-01-09 21:46:30 -05:00
Dianne Skoll
e8e4362839
Add missing blank line
2026-01-09 21:42:37 -05:00
Dianne Skoll
61ac3ca6ed
Update WHATSNEW.
2026-01-09 21:40:47 -05:00
Dianne Skoll
eaf982e1cc
Bump version number to 06.02.02.
2026-01-09 21:29:10 -05:00
Dianne Skoll
0c27503a83
Make popup windows obey color scheme.
2026-01-09 21:25:17 -05:00
Dianne Skoll
5878c2a714
Cache $Ud, $Um, $Uy
2026-01-09 21:06:10 -05:00
Dianne Skoll
6aa4d681e8
Refactor code.
2026-01-09 17:07:55 -05:00
Dianne Skoll
790a9ee384
Add option to suppress blank lines between reminders in Calendar Mode.
2026-01-09 16:56:44 -05:00
Dianne Skoll
d091af6e5b
Fixify wording.
2026-01-09 15:45:15 -05:00
Dianne Skoll
3ca9a69100
Document that now() in Calendar Mode always returns 00:00.
2026-01-09 15:44:05 -05:00
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
3e6233b6f0
Fix edge-cases where a WARN REM might not trigger on the trigger date.
2026-01-05 12:38:54 -05:00
Dianne Skoll
0ee5efa4df
Keep track of dynamic buffer allocations.
2025-12-31 17:28:25 -05:00
Dianne Skoll
d4ed89f5ba
Update copyright date.
2025-12-31 11:05:21 -05:00
Dianne Skoll
34c864a38c
Allow "COMPLETED-THROUGH" as a synonym for COMPLETE-THROUGH.
2025-12-30 11:52:25 -05:00
Dianne Skoll
6d4c38126e
Try stderr if we're asking for terminal size if stdout is not connected to a tty.
2025-12-29 17:30:56 -05:00
Dianne Skoll
59c434ce34
Reorganize man page.
2025-12-29 15:06:11 -05:00
Dianne Skoll
a550af8fa6
Fix typo.
2025-12-29 15:03:34 -05:00
Dianne Skoll
3399646896
Correct the spelling of Sivan - should be סיון and not סיוון
2025-12-29 14:59:43 -05:00
Dianne Skoll
00e85e5ca2
Document Iyyar alternate.
2025-12-27 15:48:52 -05:00
Dianne Skoll
9867d3cf34
Format code a bit better.
2025-12-27 15:46:50 -05:00
Dianne Skoll
0f4326726a
Allow alternate transliterations of Hebrew months.
2025-12-27 15:44:21 -05:00
Dianne Skoll
1d208400cd
Add tests for invalid multibyte sequences and mbpad
2025-12-24 16:17:21 -05:00
Dianne Skoll
b9b7e0d42a
Fix typo
2025-12-24 16:15:35 -05:00
Dianne Skoll
93316d754c
Add the mbpad function.
2025-12-24 16:05:25 -05:00
Dianne Skoll
14b6e23eaa
Remove unnecessary #ifndef...#endif pair
2025-12-23 11:22:08 -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
20a558f817
Add some words to hunspell dictionary.
2025-12-22 11:16:04 -05:00
Dianne Skoll
5118ccd120
Add ivritmon built-in function.
2025-12-22 11:11:18 -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
0933cd83b1
Colors.
2025-12-11 15:41:24 -05:00
Dianne Skoll
1ed7c83b24
Minor tidying.
2025-12-08 15:27:29 -05:00
Dianne Skoll
3bae02f27d
Fix up localizations.
2025-12-08 15:23:54 -05:00
Dianne Skoll
3b485f0632
Move localizations.
2025-12-08 15:14:19 -05:00
Dianne Skoll
a023d9dc5d
Move translations around.
2025-12-07 23:48:12 -05:00
Dianne Skoll
4ccdfac8b8
Finalize "make uninstall-script" command.
2025-12-07 23:37:28 -05:00
Dianne Skoll
1c52718ef0
Add "make uninstall" target.
2025-12-07 23:28:31 -05:00
Dianne Skoll
4dde2a4b9d
Fix logic.
2025-12-04 12:39:15 -05:00
Dianne Skoll
24f923ecfc
Start moving specific localizations into their own files.
2025-12-04 12:35:59 -05:00
Dianne Skoll
45c0ba5e8f
Split Chanukah into separate reminders.
2025-11-30 19:54:30 -05:00
Dianne Skoll
bccfe94921
Better Hunspell detection.
2025-11-30 16:43:43 -05:00
Dianne Skoll
f7e83ed082
Stricter test for hunspell
2025-11-30 10:37:43 -05:00
Dianne Skoll
40b87eff60
Fix man page formatting.
2025-11-28 11:30:07 -05:00
Dianne Skoll
a8607cb012
Add some terms to hunspell dictionary.
2025-11-10 12:15:34 -05:00
Dianne Skoll
6caa404e59
Prep for 06.02.01 release.
2025-11-10 12:14:28 -05:00
Dianne Skoll
13e1e19855
Add some tests; make tess pass on MUSL.
2025-11-10 12:08:58 -05:00
Dianne Skoll
96d40b81df
Make early exit contingent upon ParseUntriggered.
2025-11-10 12:02:47 -05:00
Dianne Skoll
30e4a9fc50
Catch possible error
2025-11-06 21:42:57 -05:00
Dianne Skoll
6d0fbeed20
Hide font chooser if we kill .opts
2025-11-06 21:40:58 -05:00
Dianne Skoll
3f1aaeefd2
Raise .opts when font chooser is dismissed.
2025-11-06 21:39:42 -05:00
Dianne Skoll
326604fe18
Free trigger resources if we exit early because of expired reminder.
2025-11-04 17:07:09 -05:00
Dianne Skoll
57e93553bf
Exit early if a reminder has expired.
2025-11-04 17:05:02 -05:00
Dianne Skoll
a5aa5d901b
Prevent test failures.
2025-11-03 10:33:10 -05:00
Dianne Skoll
1e0d43b63c
Tweak WHATSNEW.
2025-11-03 10:16:37 -05:00
Dianne Skoll
188efaebba
Update test file.
2025-11-03 10:14:15 -05:00
Dianne Skoll
b701dc575f
Prep for 06.02.00 release.
2025-11-03 10:13:16 -05:00
Dianne Skoll
c9ae1c82f0
Make all weekly boxes the same height.
2025-11-02 21:44:31 -05:00
Dianne Skoll
13cea56cce
Draw moon phases left-aligned on weekly calendars.
2025-11-02 21:32:36 -05:00
Dianne Skoll
6661f32faf
In weekly calendars, draw moon phases smaller and in days without moon
...
phases, don't leave a big gap at the top.
2025-11-02 21:28:44 -05:00
Dianne Skoll
f6ab660c5e
Correct positioning of WEEK special.
2025-11-02 21:18:17 -05:00
Dianne Skoll
523cfb7bf5
Document common INFO strings.
2025-11-02 20:15:30 -05:00
Dianne Skoll
82a4ba777d
Update WHATSNEW
2025-11-02 14:07:43 -05:00
Dianne Skoll
8f02868486
Refactor code.
2025-11-02 14:00:59 -05:00
Dianne Skoll
12d8e8e948
Add support for turning reminders with "URL" info strings into hyperlinks if your terminal supports it.
...
Use the "z" flag with -c.
2025-11-02 13:29:41 -05:00
Dianne Skoll
f5f364507b
Add not about Jochen Sprickerhof's work on test-rem.
2025-11-02 12:33:36 -05:00
Dianne Skoll
d514389c39
Sort the dictionary. :)
2025-11-02 12:31:44 -05:00
Dianne Skoll
52c615ff61
Revert warning if BANNER is used after a banner has already been issued.
...
https://dianne.skoll.ca/pipermail/remind-fans/2025/005268.html
2025-11-02 12:21:12 -05:00
Dianne Skoll
7d3e6b3a72
Warn if we see a BANNER command when the banner has already been issued.
2025-11-02 11:28:48 -05:00
Dianne Skoll
c4e5190ec2
Add missing key bindings.
2025-11-02 10:59:39 -05:00
Dianne Skoll
f197f5ef9d
Document keyboard shortcuts
2025-11-02 10:55:58 -05:00
Dianne Skoll
153cbfe276
A bunch more key bindings.
2025-11-02 10:52:39 -05:00
Dianne Skoll
2d9bea444b
Add a bunch more key bindings.
2025-11-02 10:48:40 -05:00
Dianne Skoll
2ae8e51bec
Style fix.
2025-11-02 09:43:13 -05:00
Dianne Skoll
05d1608081
Update man page.
2025-11-02 09:32:52 -05:00
Dianne Skoll
d093e8dea3
Make "Esc" close agenda-mode window.
2025-11-02 09:31:21 -05:00
Dianne Skoll
f9fac22bbf
Bind "KeyPress-t" to ShowTodaysReminders.
2025-11-02 09:28:16 -05:00
Dianne Skoll
9ecbfbb314
Make details popup work again.
2025-11-02 09:25:29 -05:00
Dianne Skoll
612f3e7f16
Make sure .balloonhelp doesn't exist if we try to create it.
2025-11-02 09:20:07 -05:00
Dianne Skoll
d22f9979a5
Make sure .balloonhelp doesn't exist if we try to create it.
2025-11-02 09:16:23 -05:00
Dianne Skoll
291f648d2e
Update WHATSNEW
2025-11-02 09:00:07 -05:00
Dianne Skoll
351088fd4b
Proper key names.
2025-11-02 08:49:11 -05:00
Dianne Skoll
ed57f62911
Add navigation to the Agenda Mode window.
2025-11-02 08:48:16 -05:00
Dianne Skoll
53dcce6a91
Use a macro instead of repeating myself.
2025-11-01 21:15:24 -04:00
Dianne Skoll
d12d327e35
Include ')' in non-illegal char set.
2025-11-01 21:09:19 -04:00
Dianne Skoll
a2f760fb91
Better diagnostics for errors like: SET a 3 * * 4
2025-11-01 21:07:39 -04:00
Dianne Skoll
4a9b4ff6e4
Show errors in weekly view too; use fixd-width font for error window.
2025-11-01 20:10:22 -04:00
Dianne Skoll
ce6061a29b
Add test for bug fixed in commit 878a5d9bed
2025-11-01 20:00:14 -04:00
Dianne Skoll
878a5d9bed
Avoid spurious parse error if there's trailing space after the end of an expression.
2025-11-01 19:58:46 -04:00
Dianne Skoll
d1b55bae8d
Add keyboard shortcuts to change view.
2025-11-01 18:46:51 -04:00
Dianne Skoll
c13817015f
Allow editing and the subsequent running of (possibly edited) print command.
2025-11-01 15:46:46 -04:00
Dianne Skoll
bf74ad1eb7
Reword error message.
2025-11-01 13:07:38 -04:00
Dianne Skoll
f2eb06c752
Refresh view on date rollover.
2025-11-01 00:01:34 -04:00
Dianne Skoll
8172acf102
Tidy up print dialog to get rid of rem2ps artifacts.
2025-10-31 17:00:29 -04:00
Dianne Skoll
949e00219d
Update man page to remove references to rem2ps
2025-10-31 16:54:36 -04:00
Dianne Skoll
1fd19b89e2
Remove support for rem2ps - we use rem2pdf to print.
2025-10-31 16:51:59 -04:00
Dianne Skoll
22d6c0583a
Make PANGO @x,y positioning consistent between monthly and weekly calendars.
2025-10-31 16:40:07 -04:00
Dianne Skoll
12fac555b6
When printing, print the same view as what we're viewing.
2025-10-31 16:10:53 -04:00
Dianne Skoll
085b781114
Prevent segfault.
2025-10-31 12:51:05 -04:00
Dianne Skoll
c9d7fbf479
Trim reminders so we don't inadvertantly think they've been changed.
2025-10-31 12:45:42 -04:00
Dianne Skoll
42f868db07
Prep for 06.01.09 release.
2025-10-31 11:02:16 -04:00
Dianne Skoll
2996275ec4
Update man page
2025-10-31 10:56:30 -04:00
Dianne Skoll
5586198a0e
Save the view in Options so if you switch views, it is remembered.
2025-10-31 10:52:29 -04:00
Dianne Skoll
d17c48e751
Implement 1-, 2- and 4-week displays in addition to monthly.
2025-10-30 22:00:28 -04:00
Dianne Skoll
e08a6370ef
Proper error propagation.
2025-10-30 20:24:23 -04:00
Dianne Skoll
7a319466cf
Fix error output
2025-10-30 18:00:34 -04:00
Dianne Skoll
4158ad5977
More work towards supporting weekly calendars.
2025-10-30 17:17:11 -04:00
Dianne Skoll
9b07eed26f
More work towards supporting weekly calendars.
2025-10-30 16:37:02 -04:00
Dianne Skoll
05ead8c40d
More helpful errors when parsing expressions.
2025-10-30 14:30:29 -04:00
Dianne Skoll
35e222967c
More work on supporting weekly calendar views.
2025-10-30 13:03:40 -04:00
Dianne Skoll
83ca07d34f
Start laying the groundwork for supporting weekly views in tkremind.
2025-10-30 12:25:57 -04:00
Dianne Skoll
36f4bb852b
Avoid warnings on FreeBSD.
2025-10-29 13:46:41 -04:00
Dianne Skoll
9642303d05
Proper test for link-time optimizations.
2025-10-29 13:44:55 -04:00
Dianne Skoll
a6144baff7
Add -Werror so we don't enable -ffat-lto-objects on FreeBSD.
2025-10-29 13:41:34 -04:00
Dianne Skoll
17985c59c3
Bind the KP_* variations of Home, Left, Right, Prior and Next.
...
Start adding support for window properties.
2025-10-29 13:35:21 -04:00
Dianne Skoll
719295ccd7
Update man page to reflect new reality of hand-edited reminders.
2025-10-29 12:33:23 -04:00
Dianne Skoll
3d74389713
Remove dead code; if a reminder is hand-edited, make it non-modifiable via TkRemind.
2025-10-29 12:29:24 -04:00
Dianne Skoll
80c7244d64
Merge branch 'test_support_env' into 'master'
...
test-rem: support for $REMIND_CMD and $REM2PS
See merge request dskoll/remind!10
2025-10-28 09:39:24 -04:00
Jochen Sprickerhof
db27be1469
test-rem: support for $REMIND_CMD and $REM2PS
2025-10-28 09:39:24 -04:00
Dianne Skoll
d59fe832fd
Update version number.
2025-10-27 10:24:11 -04:00
Dianne Skoll
88ebdf275e
Avoid test failure.
2025-10-27 10:23:38 -04:00
Dianne Skoll
a7a6f8b5f0
Prep for 06.01.08 release.
2025-10-27 10:22:29 -04:00
Dianne Skoll
3e248c069e
Change button color.
2025-10-26 16:46:14 -04:00
Dianne Skoll
65cca1fd8f
Remove useless test.
2025-10-25 12:45:59 -04:00
Dianne Skoll
5a889043ba
Remove misleading wording.
2025-10-25 12:42:58 -04:00
Dianne Skoll
6d1fcdf246
Change button color.
2025-10-25 11:04:52 -04:00
Dianne Skoll
3476b965ef
Add "Show Command" option to Print dialog.
2025-10-24 16:31:27 -04:00
Dianne Skoll
0bba2dc3b3
Fix modal file browser.
2025-10-24 10:27:48 -04:00
Dianne Skoll
e5c27f19f5
Handle window raising better.
2025-10-24 08:52:59 -04:00
Dianne Skoll
f9aa53433e
Raise .edit on button press.
2025-10-24 08:51:06 -04:00
Dianne Skoll
5323245529
Use wm protocol WM_DELETE_WINDOW on the .edit modal as well.
2025-10-24 08:49:14 -04:00
Dianne Skoll
deb12ac7cd
Fix all modal dialogs.
2025-10-24 08:12:20 -04:00
Dianne Skoll
a1488d93ad
Finally fix all the race conditions.
2025-10-23 22:00:06 -04:00
Dianne Skoll
65add3d32e
Reset EditingReminder to 0 if edit window is destroyed.
2025-10-23 21:23:39 -04:00
Dianne Skoll
8d6f5efa7b
Fix race conditions seen on slow computers if you double-click a day number or tagged reminder.
2025-10-23 17:54:40 -04:00
Dianne Skoll
eb996a8146
Avoid error if you click too fast on a tagged reminder.
2025-10-23 17:12:18 -04:00
Dianne Skoll
1cd6205cdd
Make TkRemind work on dumb systems that use "poor-man's" bold and italic.
2025-10-23 12:08:02 -04:00
Dianne Skoll
6d9ccc1522
Make bold and italic work on stupid systems.
2025-10-23 11:49:58 -04:00
Dianne Skoll
0268020579
Bump version to 06.01.07
2025-10-23 11:23:10 -04:00
Dianne Skoll
5803d1dd7e
Update changelog
2025-10-23 11:22:40 -04:00
Dianne Skoll
5dfce21af6
Add ?tkr=1
2025-10-23 11:18:37 -04:00
Dianne Skoll
8ddb956f9a
Change cursor inside links
2025-10-22 23:36:58 -04:00
Dianne Skoll
32421815cd
Make the version numbers in WHATSNEW match the ones in Remind.
2025-10-22 22:51:00 -04:00
Dianne Skoll
dbe3bc13fa
Make links blue.
2025-10-22 16:48:05 -04:00
Dianne Skoll
c68c716585
Make URLs in man pages clickable.
2025-10-22 16:09:30 -04:00
Dianne Skoll
7a1a5abc0f
Give the window an appropriate title.
2025-10-22 13:05:14 -04:00
Dianne Skoll
53a1318306
Tweak man pages to remove "4th Berkeley Distribution"
2025-10-22 12:59:23 -04:00
Dianne Skoll
78fecf28c4
More info
2025-10-22 12:40:20 -04:00
Dianne Skoll
6081d29b11
Reduce flicker.
2025-10-22 12:33:51 -04:00
Dianne Skoll
e0a5125ee0
Set focus to man page window so PgUp, etc work as expected.
2025-10-22 12:30:50 -04:00
Dianne Skoll
c3f790a99b
Allow for browsing of other man pages in the "SEE ALSO" section.
2025-10-22 12:27:15 -04:00
Dianne Skoll
3eb507451e
Nicely format the man page.
2025-10-22 11:33:20 -04:00
Dianne Skoll
e9e0368418
six => seven
2025-10-22 10:28:49 -04:00
Dianne Skoll
759ae1ab80
Add a "help" button that shows TkRemind's man page, positioned to a useful place.
2025-10-22 10:25:42 -04:00
Dianne Skoll
e8602824a0
Add helpful message.
2025-10-22 09:47:57 -04:00
Dianne Skoll
62301a88cc
We don't use _chan any more.
2025-10-20 14:17:52 -04:00
Dianne Skoll
6b163092c7
Check spelling of Perl man pages too.
2025-10-20 13:55:33 -04:00
Dianne Skoll
f8ac99d22e
Tighten up display
2025-10-20 13:43:04 -04:00
Dianne Skoll
4b7870f6b1
Fix docs/WHATSNEW
2025-10-20 12:11:09 -04:00
Dianne Skoll
e11b899f7e
Prep for 06.01.06 release
2025-10-20 11:51:30 -04:00
Dianne Skoll
8e4987eeba
Don't enable LTO on Solaris.
2025-10-20 11:40:18 -04:00
Dianne Skoll
aa56d27aea
Better checking for -flto flags.
2025-10-20 11:32:25 -04:00
Dianne Skoll
b3278cd9d5
Adjust order of items in man page.
2025-10-20 11:16:38 -04:00
Dianne Skoll
09814eac68
Add --title-url=URL option to rem2pdf.
2025-10-20 11:12:25 -04:00
Dianne Skoll
0e8889441d
Defensive programming... check bounds.
2025-10-19 21:29:29 -04:00
Dianne Skoll
d9503bd14d
Default --bg-color to no color at all (transparent).
2025-10-19 20:34:14 -04:00
Dianne Skoll
a5c18f8825
Fix positioning of week number and PANGO @... reminders.
2025-10-19 18:43:59 -04:00
Dianne Skoll
f7fc9f57bd
Fix punctuation.
2025-10-19 18:24:06 -04:00
Dianne Skoll
6931c81716
Document the new rem2pdf color options.
2025-10-19 18:22:45 -04:00
Dianne Skoll
2eb80c4ba1
Add new color command-line options to rem2pdf. Also make "SHADE" fill the entire rectangle.
...
New color options are:
--line-color=RRGGBB Set line color
--title-color=RRGGBB Set title color
--header-color=RRGGBB Set header color
--daynum-color=RRGGBB Set day number color
--smallcal-color=RRGGBB Set small calendar color
--bg-color=RRGGBB Set background color
2025-10-19 18:16:27 -04:00
Dianne Skoll
f5dbba3864
Use our StrDup function.
2025-10-18 14:23:14 -04:00
Dianne Skoll
3fc57fb76e
Don't leak variables.
2025-10-18 11:31:36 -04:00
Dianne Skoll
ff9d27a6ca
Fix a few potential memory leaks.
2025-10-18 11:26:40 -04:00
Dianne Skoll
e82767f821
Guard definition of __EXTENSIONS__ so it happens only on Sun boxes.
2025-10-18 10:54:10 -04:00
Dianne Skoll
772daaa877
Don't pass "grep" the -a flag if it's not supported.
2025-10-14 14:02:06 -04:00
Dianne Skoll
941cb0f63e
Make it compile on OpenIndiana.
2025-10-14 13:57:39 -04:00
Dianne Skoll
15960f7e4a
Try to get it to compile on openindiana
2025-10-14 13:42:22 -04:00
Dianne Skoll
f05ef363fc
Use built-in nonconst() function instead of contortions to get a nonconst value.
2025-10-13 11:05:58 -04:00
Dianne Skoll
a22b0b8daf
Silence cppcheck warning.
2025-10-12 22:49:16 -04:00
Dianne Skoll
382ff47369
NL translation
2025-10-12 21:25:18 -04:00
Dianne Skoll
cab749b651
Look for sys/termios.h - needed for TIOCGWINSZ on some systtems.
2025-10-12 20:43:41 -04:00
Dianne Skoll
2dc5a7776d
Use cp /dev/null instead of echo -n "" to truncate output file.
2025-10-12 14:13:32 -04:00
Dianne Skoll
2723875a18
Only check the trigger portion of a REM for expressions in purge mode, not body.
2025-10-12 13:38:47 -04:00
Dianne Skoll
81a186607b
Add test for improved nonconst-expr tracking.
2025-10-12 11:25:55 -04:00
Dianne Skoll
5534bf8272
Don't set nonconst_expr on a reminder if the non-constant expression is only in the *BODY* of the reminder.
...
Only set it if it affects the trigger specification.
2025-10-12 11:22:13 -04: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
f07a6d1bed
Add a warning_level guard.
2025-10-10 16:41:43 -04:00
Dianne Skoll
a0a362c418
Explicitly use en_US dictionary for spell-checking.
2025-10-09 18:35:17 -04:00
Dianne Skoll
0b45bc818b
More spell-checking.
2025-10-09 18:31:30 -04:00
Dianne Skoll
b6ad32749b
A tad more verbosity.
2025-10-09 18:24:24 -04:00
Dianne Skoll
ec36fc8cf8
Also spellcheck README.md.
2025-10-09 18:18:06 -04:00
Dianne Skoll
2afb71b233
If "hunspell" is installed, spell-check WHATSNEW and man pages.
2025-10-09 18:14:36 -04:00
Dianne Skoll
4bf9abc791
Fix spelling errors.
2025-10-09 18:14:30 -04:00
Dianne Skoll
51d895dbb1
If "spellintian" is installed, run it against the man pages.
2025-10-09 17:38:36 -04:00
Dianne Skoll
517251dd05
Document that tzconvert() attempts to validate time zone names.
2025-10-09 12:45:12 -04:00
Dianne Skoll
834741f91b
Don't warn if timezone "" is specified.
2025-10-09 12:45:01 -04:00
Dianne Skoll
19b33bb9bc
Make "tzconvert" warn about bad time zones.
2025-10-09 12:40:42 -04:00
Dianne Skoll
1acb343cf3
Use UTC instead of Universal. Apparently, "Universal" is not...er... universally installed.
2025-10-09 11:41:15 -04:00
Dianne Skoll
b5b00468cc
Update WHATSNEW.
2025-10-09 11:25:15 -04:00
Dianne Skoll
5042621073
Bump version to 06.01.05
2025-10-09 11:04:03 -04:00
Dianne Skoll
e2152b1e82
Add semi-exhaustive TZ tests.
2025-10-09 10:23:59 -04:00
Dianne Skoll
4adfc4b20e
Clarify man page.
2025-10-09 09:30:49 -04:00
Dianne Skoll
6a4a1ab2d5
Add more TZ tests.
2025-10-08 23:17:10 -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
21f5462657
On systems that have /usr/share/zoneinfo (Linux and FreeBSD, for example) attempt to validate TZ time zone names.
2025-10-08 22:05:49 -04:00
Dianne Skoll
b3f03e3e0c
Fix a few problems found by spellintian.
2025-10-08 13:16:41 -04:00
Dianne Skoll
593d367eaa
Fix spelling errors.
2025-10-08 12:45:00 -04:00
Dianne Skoll
8b34e556a0
Update docs/WHATSNEW.
2025-10-08 09:42:42 -04:00
Dianne Skoll
dfe1834c75
Nicer readline prompts.
2025-10-07 23:38:12 -04:00
Dianne Skoll
54cbd87a7e
Silence unused variable warning.
2025-10-07 23:23:10 -04:00
Dianne Skoll
775e0a85ec
Fix logic so you can set IncludeOmer and IncludeOmerCal independently.
2025-10-07 23:21:37 -04:00
Dianne Skoll
9c580b74d4
Update release notes.
2025-10-07 23:14:15 -04:00
Dianne Skoll
4e9befaf80
Mass replacement of %(is) with %!
2025-10-07 23:12:26 -04:00
Dianne Skoll
996e9ee212
Colorize test PASS/FAIL indicators iff stdout is a tty.
2025-10-07 21:43:23 -04: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
41306bfad5
Use "sleep 0.2" on systems that support it.
2025-10-07 20:46:34 -04:00
Dianne Skoll
d084a48da7
Add test to verify that INCLUDECMD cmd connects cmd's standard input to /dev/null.
2025-10-07 20:38:21 -04:00
Dianne Skoll
18c3e0fe2e
Handle failure path better.
2025-10-07 20:33:46 -04:00
Dianne Skoll
e038f74b28
Document that INCLUDECMD's cmd has stdin < /dev/null
...
Make testing yet a bit more verbose.
2025-10-07 20:31:21 -04:00
Dianne Skoll
303e42f344
Arrange it so an INCLUDECMD cmd redirect's "cmd's" standard input to /dev/null
2025-10-07 20:27:07 -04:00
Dianne Skoll
453bba5172
Pluralize.
2025-10-07 16:24:39 -04:00
Dianne Skoll
8ce56acc7a
Make tests ever so slightly more verbose.
2025-10-07 16:23:22 -04:00
Dianne Skoll
90648e4091
Refactor filename into a shell variable.
2025-10-07 15:46:27 -04:00
Dianne Skoll
6c67dfeb72
Use a cppcheck-build-dir
2025-10-07 15:44:37 -04:00
Dianne Skoll
690d5bd429
Fix cppcheck warnings.
2025-10-07 15:36:26 -04:00
Dianne Skoll
1ee2c32374
Don't use the "SubstB" hack.
2025-10-07 15:28:32 -04:00
Dianne Skoll
7d2ec6767c
Add some missing %"..%"
2025-10-07 15:22:06 -04:00
Dianne Skoll
8c4ad9c6b5
Add %"...%" %(is) %b. to all holiday files.
2025-10-07 15:13:37 -04:00
Dianne Skoll
7f3764fe2d
Add %"%" and %(is) %b to Chinese New Year file.
2025-10-07 14:57:04 -04:00
Dianne Skoll
6f3b0526cf
Update WHATSNEW.
2025-10-07 14:36:56 -04:00
Dianne Skoll
074feffaab
Make sure we redirect stdin from /dev/null for RUN and shell()
2025-10-07 14:34:19 -04:00
Dianne Skoll
44dd57e6e3
When RUNning a command (REM RUN ...) arrange for command's stdin to be connected to /dev/null
2025-10-07 14:12:39 -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
5876663f1b
Put suffixes directly in holiday files.
2025-10-07 13:42:20 -04:00
Dianne Skoll
a11a80304a
Bump version to 06.01.04.
2025-10-08 04:11:46 +11:00
Dianne Skoll
561245a5e8
Fix timezone bug reported by Jin Chen.
2025-10-08 04:09:33 +11:00
Dianne Skoll
0ecca26da8
Define a useful macro.
2025-10-07 09:01:14 -04:00
Dianne Skoll
7729d61adc
Suppress redefined function warning.
2025-10-02 12:48:24 -04:00
Dianne Skoll
e58d168836
Use $Is rather than hard-coded "is"
2025-10-02 12:44:51 -04:00
Dianne Skoll
3d918ce8ad
No need for HebAdvanceWarning... just use $DefaultDelta.
2025-10-02 12:42:31 -04:00
Dianne Skoll
468663103d
Add a HebAdvanceWarning variable that sets the number of advance warning days.
2025-10-02 11:47:39 -04:00
Dianne Skoll
1cb2c6aa23
Simplify test script.
2025-10-01 21:16:04 -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
26de9d84f5
Update WHATSNEW in preparation for release.
2025-09-30 14:36:07 -04:00
Dianne Skoll
ba092fb781
Avoid warning in "make test"
2025-09-30 14:27:48 -04:00
Dianne Skoll
5fe1536b3b
Add updated "holidays/jewish.rem" courtesy of Nimrod Levy.
2025-09-30 13:24:51 -04:00
Dianne Skoll
9e3797d5ed
Simplify all calculations of dates relative to trigger date.
...
Also fixes off-by-one errors for New Year's Day in many files.
2025-09-29 19:41:40 -04:00
Dianne Skoll
26ec92675c
Give more specific ADDOMIT advice.
2025-09-29 14:22:10 -04:00
Dianne Skoll
01461929d7
Fix line-counting logic that made entirely-empty weeks one row too short.
2025-09-29 09:48:15 -04:00
Dianne Skoll
b3a2c0e7c7
Don't add a spurious blank line if there are no entries at all for a given calendar row.
2025-09-28 22:52:44 -04:00
Dianne Skoll
a614383521
Fix off-by-one error pointed out by Nimrod Levy.
2025-09-27 19:40:30 -04:00
Dianne Skoll
9f139b0d02
More readable code.
2025-09-27 10:03:59 -04:00
Dianne Skoll
7decbed3ff
In the tests/ directory, make "make test" the default make target.
2025-09-27 09:39:20 -04:00
Dianne Skoll
5610590fa8
Be pickier about $WarningLevel. Make sure it matches the Perl regex: ^\d\d\.\d\d\.\d\d$
2025-09-27 09:38:00 -04:00
Dianne Skoll
be04097fbc
Document $WarningLevel
2025-09-25 18:14:56 -04:00
Dianne Skoll
5092d5bc16
More warning_level annotations.
2025-09-25 18:08:29 -04:00
Dianne Skoll
2f86920842
Add $WarningLevel special variable.
2025-09-25 17:55:16 -04:00
Dianne Skoll
604e1b049c
Add a warning to use SCANFROM with a moveable ADDOMIT.
2025-09-24 13:02:12 -04:00
Dianne Skoll
23081b556f
Update WHATSNEW
2025-09-19 13:42:50 -04:00
Dianne Skoll
e2cfa46289
Update version to 06.01.02
2025-09-19 13:41:03 -04:00
Dianne Skoll
71384da875
Document default --max-expr-limit.
2025-09-19 13:39:55 -04:00
Dianne Skoll
af69f8779d
Don't loop forever if a reminder moves backwards because of a time zone difference.
...
If we are not making progress, it's because the reminder has expired.
2025-09-19 13:33:23 -04:00
Dianne Skoll
131e77fa18
Use "unsigned long" to track expresison node evaluations.
2025-09-13 11:38:55 -04:00
Dianne Skoll
f153acf7ce
Default max-expr-complexity to 10,000,000
2025-09-12 12:56:14 -04:00
Dianne Skoll
d75587fa7b
Update change log.
2025-09-12 11:43:15 -04:00
Dianne Skoll
d9a2b15814
Bump version number to 06.01.01.
2025-09-12 11:33:15 -04:00
Dianne Skoll
aa090bf319
Add tests for PrintValue string truncation.
2025-09-12 11:22:51 -04:00
Dianne Skoll
dc6a229f5f
Add some const qualifiers, as recommended by cppcheck.
2025-09-12 11:15:10 -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
779174ae32
Proper font formatting.
2025-09-11 17:26:43 -04:00
Dianne Skoll
2f70b37d4c
Be stricter about parsing hex constants.
2025-09-11 17:22:24 -04:00
Dianne Skoll
d15c8f106b
Support hexadecimal integer constants in expressions; add hex() function.
2025-09-11 17:02:22 -04:00
Dianne Skoll
9d999a0074
Support hexacdecimal integer constants in expressions.
2025-09-11 16:50:13 -04:00
Dianne Skoll
097dda1750
Make asc() always return a number between 0 and 255.
2025-09-11 16:42:32 -04:00
Dianne Skoll
565bca4380
Add statistic for max expr node evaluations per line.
2025-09-11 12:04:32 -04:00
Dianne Skoll
adb38fe82e
Fix off-by-one error.
2025-09-11 11:25:20 -04:00
Dianne Skoll
57545ddc3f
Add test for --max-expr-complexity
2025-09-11 11:20:29 -04:00
Dianne Skoll
804cf14a78
Implement --max-expr-complexity
2025-09-11 11:11:11 -04:00
Dianne Skoll
641b5cec57
Mode docs on columns() vs mbstrlen()
2025-09-10 23:07:23 -04:00
Dianne Skoll
df53db19c4
Fix typo
2025-09-10 23:02:15 -04:00
Dianne Skoll
d9bf902153
Put #ifdef guards around wide char code.
2025-09-10 17:56:32 -04:00
Dianne Skoll
53a12de2f9
Fix typo
2025-09-10 17:54:26 -04:00
Dianne Skoll
fe2b34da68
Avoid memory leak.
2025-09-10 17:54:06 -04:00
Dianne Skoll
7e70ffe7f5
Fix typo
2025-09-10 17:43:59 -04:00
Dianne Skoll
55975154b1
Add codepoint() and mbchar() functions.
2025-09-10 17:33:57 -04:00
Dianne Skoll
3c6191ba61
Add tests where index() does not find the needle.
2025-09-10 13:48:28 -04:00
Dianne Skoll
b00cf9c5b7
Remove some unnecessary assignments.
2025-09-10 13:48:18 -04:00
Dianne Skoll
a6838802ad
Use mbsubstr and mbstrlen.
2025-09-10 13:27:57 -04:00
Dianne Skoll
375576fcc5
Add better support for multi-byte character set.
...
The functions mbindex, mbstrlen and mbsubstr are just like
index, strlen and substr, but they use and return 1-based
character indexes rather than 1-based byte indexes.
2025-09-10 13:25:27 -04:00
Dianne Skoll
2c9087aa79
Update WHATSNEW and prep for 06.01.00 release.
2025-09-08 12:27:27 -04:00
Dianne Skoll
928f65ae47
Add a few more time zone tests.
2025-09-08 12:26:34 -04:00
Dianne Skoll
ed7b4f5ecc
Nicer output.
2025-09-06 21:17:36 -04:00
Dianne Skoll
9aad9401ea
Fix man page wording.
2025-09-06 18:15:47 -04:00
Dianne Skoll
4574b552b6
Update WHATSNEW.
2025-09-06 12:05:46 -04:00
Dianne Skoll
21e0940257
Add distro-beta target.
2025-09-06 12:02:20 -04:00
Dianne Skoll
7064893ff2
Reorder man page; add explanation of how omit interacts with time zone.
2025-09-06 11:08:34 -04:00
Dianne Skoll
f8781276e2
Clarify that OMITFUNC also sees dates in the TZ timezone.
2025-09-06 11:00:50 -04:00
Dianne Skoll
b02f61ea05
Make alignment.rem executable.
2025-09-05 18:33:59 -04:00
Dianne Skoll
60447d530d
Add a small example.
2025-09-05 18:32:05 -04:00
Dianne Skoll
2835176ad3
Make "make test" run all tests by default. Add individual test-basic and test-tz makefile targets.
2025-09-05 17:46:25 -04:00
Dianne Skoll
b0784feb1a
Bump version to 06.01.00.
2025-09-04 15:58:07 -04:00
Dianne Skoll
ef7021972e
Add trigimetz and trigeventstarttz functions.
2025-09-04 15:36:27 -04:00
Dianne Skoll
e449fcdfcf
Add tests for trigtz
2025-09-04 14:29:00 -04:00
Dianne Skoll
47a4456c20
Explicitly initialize LastTrigger.tz to NULL.
2025-09-04 14:26:35 -04:00
Dianne Skoll
e9ee7492f7
Check for setuid/setgid early.
2025-09-04 14:25:09 -04:00
Dianne Skoll
2baa0405f3
Document new JSON key pairs.
2025-09-04 13:54:34 -04:00
Dianne Skoll
3425530c1c
Add Makefile for running tests from tests/ with "make test"
2025-09-04 11:00:03 -04:00
Dianne Skoll
eeae3298ef
Nicer formatting.
2025-09-04 10:59:58 -04:00
Dianne Skoll
4237dc4a3f
Allow empty string to be used in tzconvert to designate system default time zone.
2025-09-04 10:09:46 -04:00
Dianne Skoll
faf8947dda
Properly cache stdin in interactive mode.
2025-09-04 00:15:21 -04:00
Dianne Skoll
41a3db3a37
Fix abort.
2025-09-03 23:14:58 -04:00
Dianne Skoll
f12bcf3fe6
Restructure test targets.
2025-09-03 22:36:46 -04:00
Dianne Skoll
f9261bb24f
Better target name
2025-09-03 19:35:28 -04:00
Dianne Skoll
2ff9aedba5
Add test.
2025-09-03 19:34:48 -04:00
Dianne Skoll
1b793eff2e
Hard-code datetimes so slight astronomical function variations don't mess up test.
2025-09-03 19:33:18 -04:00
Dianne Skoll
e4c41e0f45
More TZ tests.
2025-09-03 19:13:55 -04:00
Dianne Skoll
9ec1006804
Make an empty TZ (ie, TZ "") the same as no TZ.
2025-09-03 19:10:26 -04:00
Dianne Skoll
dd048c0557
Formatting.
2025-09-03 19:06:23 -04:00
Dianne Skoll
dce1f282f4
Improve Makefile.
2025-09-03 19:05:41 -04:00
Dianne Skoll
7120d07d84
Add testtz and test-all targets.
2025-09-03 19:03:59 -04:00
Dianne Skoll
127358db02
The official IANA name of UTC is "Universal".
2025-09-03 18:55:43 -04:00
Dianne Skoll
a89aaf18b6
Add another distclean target
2025-09-03 18:37:33 -04:00
Dianne Skoll
5734bd7524
Start adding TZ tests.
2025-09-03 18:36:13 -04:00
Dianne Skoll
dfabda7dee
add trigtz() function
2025-09-03 14:19:31 -04:00
Dianne Skoll
da146d7989
Always output time_in_tz in JSON when needed.
2025-09-03 14:08:56 -04:00
Dianne Skoll
e147925462
Make tests pass; update remind conf mode.
2025-09-03 13:58:09 -04:00
Dianne Skoll
703907c94d
Update JSON output.
2025-09-03 13:57:25 -04:00
Dianne Skoll
bcfee04cae
Handle another time zone edge case.
2025-09-03 13:21:16 -04:00
Dianne Skoll
5f9e71f9eb
More timezone fixification.
2025-09-03 13:05:54 -04:00
Dianne Skoll
272336226e
Add timezone support to evaltrig.
2025-09-03 12:42:59 -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
651368fedc
More work on timezone support.
2025-09-03 11:35:21 -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
d2785d909c
Remember DSEToday and SysTime in Local* variables so we can switch timezones.
2025-09-03 10:36:30 -04:00
Dianne Skoll
c2345a240b
Update docs to reflect multi-type system variables.
2025-09-02 09:39:32 -04:00
Dianne Skoll
5b6bf25a20
Document readline support.
2025-09-01 10:14:22 -04:00
Dianne Skoll
44f9f0f0d4
Better quotes.
2025-09-01 10:09:27 -04:00
Dianne Skoll
0416d6da9c
Update to version 06.00.02.
2025-09-01 10:02:14 -04:00
Dianne Skoll
5d46df871f
Clamp trigger() to "1 January 1990 AT 00:00" if UTC flag is used.
2025-08-28 13:30:21 -04:00
Dianne Skoll
c5d661124c
Never return a year < 1990 from trigger()
2025-08-28 12:53:28 -04:00
Dianne Skoll
2f239f77a5
Default $ParseUntriggered to 0 instead of 1
2025-08-27 11:34:10 -04:00
Dianne Skoll
1ef05d3f85
Slight efficiency improvement.
2025-08-21 11:50:45 -04:00
Dianne Skoll
7c56aad791
FIx tests.
2025-08-21 11:49:16 -04:00
Dianne Skoll
5f0f68f508
Allow '-i$foo' to be interpreted as '-i$foo=0'
2025-08-20 10:27:22 -04:00
Dianne Skoll
71bfe31002
Make IS_INTERACTIVE() macro.
2025-08-19 21:39:31 -04:00
Dianne Skoll
4661b454c0
Don't add *everything* to history, LOL.
2025-08-19 21:32:26 -04:00
Dianne Skoll
d41520a04f
Better example.
2025-08-19 15:54:03 -04:00
Dianne Skoll
0206e538e0
Avoid -Wunused-result warning.
2025-08-19 15:22:05 -04:00
Dianne Skoll
6689cbfda3
Explicitly set latitude and longitude in test files.
2025-08-19 15:04:03 -04:00
Dianne Skoll
5baf102bfe
Update WHATSNEW.
2025-08-19 12:43:00 -04:00
Dianne Skoll
c9002d5b54
Bump version to 06.00.01
2025-08-19 12:38:38 -04:00
Dianne Skoll
ac3ee7e22b
Use constant-time DBufLen instead of O(n) strlen()
2025-08-19 10:21:01 -04:00
Dianne Skoll
f366037b8d
Truncate over-long variable name in DUMP.
2025-08-19 10:13:09 -04:00
Dianne Skoll
a46488a50d
Remove incorrect assignment that could cause a segfault.
2025-08-19 09:58:04 -04:00
Dianne Skoll
f91a1a2d65
If we don't have readline, don't declare unused variable.
2025-08-18 21:05:56 -04:00
Dianne Skoll
2ac8fb50e1
Fix typos.
2025-08-18 21:01:48 -04:00
Dianne Skoll
7df826f635
Add whole line at a time to history buffer.
2025-08-18 20:35:10 -04:00
Dianne Skoll
f8ce7b51da
Change prompt depending on whether or not we're ignoring lines.
2025-08-18 16:26:58 -04:00
Dianne Skoll
35ee94ca6b
If stdin and stdout are TTYs, use readline() where possible.
2025-08-18 16:20:45 -04:00
Dianne Skoll
c2a3468e04
Prep for 6.0.0 RELEASE.
2025-08-18 10:56:18 -04:00
Dianne Skoll
4ff2064452
Fix typos.
2025-08-18 10:50:52 -04:00
Dianne Skoll
8e00bd5acc
Fix typo in comment.
2025-08-16 18:32:08 -04:00
Dianne Skoll
86f65e11bb
Use keypress-slash to auto-fill COMPLETE-THROUGH field instead of double-click.
2025-08-16 11:54:19 -04:00
Dianne Skoll
0c9ec11fce
Add clarifying comment.
2025-08-16 10:09:44 -04:00
Dianne Skoll
07dcaec176
Fix typos.
2025-08-15 22:57:13 -04:00
Dianne Skoll
e87849256b
Make --flush simply set standard I/O streams to unbuffered.
2025-08-15 22:41:18 -04:00
Dianne Skoll
fd8ecd88a8
Add --flush option; use it in tests.
...
Should help with weird systems whose C libraries have different flushing rules.
2025-08-15 22:36:20 -04:00
Dianne Skoll
5e36a6563a
Format improvement.
2025-08-15 22:26:18 -04:00
Dianne Skoll
274a2bf067
Don't unconditionally set RunDIsabled.
2025-08-15 20:53:07 -04:00
Dianne Skoll
4aa737e542
Tweak man page
2025-08-15 20:46:05 -04:00
Dianne Skoll
6474f4e0b6
Note that user-defined functions defined in a RUN-OFF context will have RUN OFF during evaluation.
2025-08-15 20:43:59 -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
5cb0e82be2
Remove stray ^G.
2025-08-15 20:10:50 -04:00
Dianne Skoll
d9a4bd19f2
Remove extraneous semicolons.
2025-08-15 19:12:14 -04:00
Dianne Skoll
1004946d26
Add a couple of missing .PPs
2025-08-15 18:15:37 -04:00
Dianne Skoll
d877a6cb48
Fix a couple of typos.
2025-08-15 18:05:48 -04:00
Dianne Skoll
3eea329b32
Add some missing .fi directives.
2025-08-15 18:04:42 -04:00
Dianne Skoll
7bf23912ae
Improve man page slightly.
2025-08-15 15:46:08 -04:00
Dianne Skoll
6ae0340137
Document tkremind bug fix.
2025-08-15 15:36:59 -04:00
Dianne Skoll
0e48ace855
Update WHATSNEW.
2025-08-15 15:35:57 -04:00
Dianne Skoll
d1f1ddf5b7
Document the TODO introspection functions.
2025-08-15 15:33:04 -04:00
Dianne Skoll
5f9e227dc8
Document and test overriding of %: %! %? %@ %#
2025-08-15 15:28:23 -04:00
Dianne Skoll
b770676cb6
Add tests for trigistodo, trigcompletethrough, trigmaxoverdue
2025-08-15 15:22:39 -04:00
Dianne Skoll
5ee415c2fb
Add trigistodo(), trigcompletethrough() and trigmaxoverdue() introspection functions.
2025-08-15 15:20:57 -04:00
Dianne Skoll
6c2a4b66fd
Add tests and translations for %:
2025-08-15 15:07:32 -04:00
Dianne Skoll
6c2d65c08e
Allow non-alphanumeric substitution sequences to be overridden.
2025-08-15 14:55:03 -04:00
Dianne Skoll
cd2dc3bea3
Add test for %:
2025-08-15 14:35:31 -04:00
Dianne Skoll
b1b80316ab
Implement %: substitution sequence.
2025-08-15 11:54:31 -04:00
Dianne Skoll
f04835cf6f
Another eval that should be a catch.
2025-08-15 08:34:41 -04:00
Dianne Skoll
fb19ea6b7e
Use "catch" instead of "eval". What was I thinking??
2025-08-15 08:33:49 -04:00
Dianne Skoll
e2d7796d4a
Clarify wording.
2025-08-14 21:53:06 -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
b9fb215d9d
Don't try to process stderr output as JSON. :)
2025-08-14 20:52:38 -04:00
Dianne Skoll
a62ed0e0c5
Always output well-formed JSON in --json mode.
2025-08-14 20:43:35 -04:00
Dianne Skoll
eceb5e3f82
Suppress some output in --json mode.
2025-08-14 20:35:07 -04:00
Dianne Skoll
d5aa93ae57
Document TkRemind support for max-overdue.
2025-08-14 19:05:17 -04:00
Dianne Skoll
a66da78b4a
Add support for MAX-OVERDUE to TkRemind.
2025-08-14 19:03:32 -04:00
Dianne Skoll
af69f54bff
Add max_overdue to JSON.
2025-08-14 18:54:15 -04:00
Dianne Skoll
a000a7f17e
Add MAX-OVERDUE feature.
2025-08-14 18:50:39 -04:00
Dianne Skoll
582f388500
Disable ANSI colors in JSON mode.
2025-08-14 13:57:23 -04:00
Dianne Skoll
7762f4f2d6
Add $HideCompletedTodos, $JSONMode and $TodoFilter system variables.
2025-08-14 13:56:02 -04:00
Dianne Skoll
31c9b2afb7
Disable ANSI color sequences in -p mode.
2025-08-14 13:43:32 -04:00
Dianne Skoll
119e954e9e
Update WHATSNEW
2025-08-14 12:38:52 -04:00
Dianne Skoll
6aa07edffd
Document "ordx" override of "ord"
2025-08-13 21:05:46 -04:00
Dianne Skoll
bdb9ad1a5d
Document new TkRemind features.
2025-08-13 20:33:15 -04:00
Dianne Skoll
05384fe7cf
Document --json.
2025-08-13 20:25:30 -04:00
Dianne Skoll
6125001e55
Make file not modify global function/variable context.
2025-08-13 19:02:37 -04:00
Dianne Skoll
78b307e387
Proper way of defaulting a variable.
2025-08-13 19:00:27 -04:00
Dianne Skoll
460d0a8d88
Separate out actual Jewish religious holidays from Israeli holidays.
2025-08-13 18:57:37 -04:00
Dianne Skoll
add35377ad
Boldification.
2025-08-13 17:37:39 -04:00
Dianne Skoll
fccd9ed42e
More word tweakage.
2025-08-13 17:36:12 -04:00
Dianne Skoll
a49ecccb34
Update README
2025-08-13 17:34:19 -04:00
Dianne Skoll
ae9fe78817
Proper horizontal resizing too.
2025-08-13 17:30:10 -04:00
Dianne Skoll
dbc5576312
Make today's reminders window properly resizable.
2025-08-13 17:27:35 -04:00
Dianne Skoll
6cbbebceaf
Pass all command-line options to Remind.
2025-08-13 16:57:29 -04:00
Dianne Skoll
4dc27ca7f5
Better error message.
2025-08-13 15:02:53 -04:00
Dianne Skoll
d8f97ce0f1
Tweak wording.
2025-08-13 15:01:26 -04:00
Dianne Skoll
0e1a80f2bd
Properly populate complete_through for existing reminders.
2025-08-13 14:58:49 -04:00
Dianne Skoll
4a7f703ab5
Update %! documentation; add %? documentation.
2025-08-13 14:39:36 -04:00
Dianne Skoll
101de948b2
Add support for TODO-style reminders in TkRemind.
2025-08-13 14:09:03 -04:00
Dianne Skoll
0e2d382b33
Proper calculation of --margin-bottom in -e mode
2025-08-13 13:06:48 -04:00
Dianne Skoll
a6c5c3cb90
Update docs on JSON trigger dump and SCANFROM changes.
2025-08-13 12:39:35 -04:00
Dianne Skoll
da573929ee
Document purge rules for TODOs.
2025-08-13 12:06:59 -04:00
Dianne Skoll
5217d9b675
Start adding TODO tests.
2025-08-13 11:53:56 -04:00
Dianne Skoll
79a87c6f1a
TkRemind now requires Remind 06.00.00
2025-08-13 11:36:01 -04:00
Dianne Skoll
cde5ffc84a
Bump version to 06.00.00
2025-08-13 11:34:41 -04:00
Dianne Skoll
6ef323a4f0
Document TODOs.
2025-08-13 11:28:04 -04:00
Dianne Skoll
8331ea2991
Fix TODO-issuing logic
2025-08-13 11:19:41 -04:00
Dianne Skoll
db28648d9d
Better spacing
2025-08-12 22:24:17 -04:00
Dianne Skoll
1a5915bba9
Show long options in help output.
2025-08-12 22:23:00 -04:00
Dianne Skoll
94a50fa22c
Refactor some code.
2025-08-12 22:13:36 -04:00
Dianne Skoll
fad6076568
Convert out-of-range SPECIAL COLOR to MSG.
2025-08-12 19:31:54 -04:00
Dianne Skoll
287039ac40
Convert color with components out of range to normal MSG-type reminders.
2025-08-12 19:26:23 -04:00
Dianne Skoll
8523218ef2
Add %? substitution sequence and translations for "are" and "were"
2025-08-12 19:08:34 -04:00
Dianne Skoll
fdaaf2b57a
Add comment; fix cppcheck warning.
2025-08-12 18:37:14 -04:00
Dianne Skoll
19eac9b8d5
nl - use "eergisteren" and "overmorgen"
2025-08-12 18:34:07 -04:00
Dianne Skoll
cda4877229
Fix "make cppcheck" warning.
2025-08-12 18:30:36 -04:00
Dianne Skoll
0976cd64f3
If evaluating ordx(n) yields an error, then error out instead of continuing with ord(n)
2025-08-12 18:27:20 -04:00
Dianne Skoll
10f7889ef2
Add balloon help and URL support to daily reminders view.
2025-08-12 15:49:04 -04:00
Dianne Skoll
2391ff4bc7
Add --hide-completed-todos option
2025-08-12 15:23:40 -04:00
Dianne Skoll
d21ae56deb
Sort out from/scanfrom and how todos work in calendar mode.
2025-08-12 15:12:54 -04:00
Dianne Skoll
773980afa6
Preserve "from" and "scanfrom"
2025-08-12 14:50:19 -04:00
Dianne Skoll
46a80da0e1
Preserve relative scanfroms in t->scanfrom; compute when needed.
2025-08-12 14:44:47 -04:00
Dianne Skoll
23516aebcb
Make the "x reminders queued" message clickable to show queue.
2025-08-12 00:16:17 -04:00
Dianne Skoll
b48ce0b245
Better queue display
2025-08-12 00:08:18 -04:00
Dianne Skoll
e4c090374d
Ugh, proper test reference.
2025-08-12 00:05:03 -04:00
Dianne Skoll
39fcbb72fd
%*! is not reproducible.
2025-08-12 00:03:19 -04:00
Dianne Skoll
5f2bf48752
Add ordinal number tests.
2025-08-11 23:51:37 -04:00
Dianne Skoll
9e5354fcb8
Add ordx definitions.
2025-08-11 23:44:21 -04:00
Dianne Skoll
49bdd135f7
Define ordx(n) for Dutch and French.
2025-08-11 23:34:08 -04:00
Dianne Skoll
f9a6aba81d
Allow ord(n) to be overridden with user-defined function ordx(n)
...
Lets language packs customize ord.
2025-08-11 23:29:08 -04:00
Dianne Skoll
175772d959
Make it work with Wish 9.0
2025-08-11 23:15:07 -04:00
Dianne Skoll
2f03c75826
Nicer today's reminders formatting.
2025-08-11 23:06:42 -04:00
Dianne Skoll
d617000e95
Show banner in bold.
2025-08-11 22:54:58 -04:00
Dianne Skoll
04dee13996
Hyperlink reminders in "show today's reminders"
2025-08-11 22:39:53 -04:00
Dianne Skoll
ebcf6fd534
Respect color settings in more dialogs.
...
Use --json to give better display of today's reminders.
2025-08-11 22:32:06 -04:00
Dianne Skoll
c7c58e20f3
Fix silly typo
2025-08-11 22:26:48 -04:00
Dianne Skoll
a66ca7cce7
In --json mode, try to always emit a banner.
2025-08-11 21:40:38 -04:00
Dianne Skoll
35cae5f97c
Make right-button on a day number show reminders for that day.
2025-08-11 21:40:25 -04:00
Dianne Skoll
6d86d88037
Make Show Queue and Show Today's Reminders respect color scheme.
2025-08-11 21:22:32 -04:00
Dianne Skoll
89f60358c6
Add "noreminders" JSON element.
2025-08-11 21:04:50 -04:00
Dianne Skoll
781e5a6acd
Take out ms windows check.
2025-08-11 20:57:28 -04:00
Dianne Skoll
1b5d34e5e6
Include banner in --json output.
2025-08-11 20:47:00 -04:00
Dianne Skoll
cb5fa62022
Make --json cancel -g
2025-08-11 20:18:52 -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
da4633fab3
Add "-nt" option to only show todos.
2025-08-11 19:00:20 -04:00
Dianne Skoll
aeff3606d2
Handle interaction between complete-through and from.
2025-08-11 18:44:28 -04:00
Dianne Skoll
2af36b7241
Add comments detailing TODO-handling logic.
2025-08-11 18:36:22 -04:00
Dianne Skoll
a7a22d20a2
Add is_todo and complete_through JSON key pairs.
2025-08-11 18:26:00 -04:00
Dianne Skoll
3fdbf8b3bc
Add language tests for yesterda, etc.
2025-08-11 18:20:34 -04:00
Dianne Skoll
a7696d659c
Add note.
2025-08-11 18:15:08 -04:00
Dianne Skoll
865ebae6f8
Fix source code to properly generate xlat.c
2025-08-11 18:13:47 -04:00
Dianne Skoll
f21f8ee8d0
Add translations for "yesterday"; update subst_bx to handle negative differences.
2025-08-11 18:05:07 -04:00
Dianne Skoll
76b7736266
More TODO logic.
2025-08-11 17:39:53 -04:00
Dianne Skoll
0769e3e9cb
Proper trigger logic for TODOs.
2025-08-11 17:35:54 -04:00
Dianne Skoll
d9ab9e91b5
Trigger TODOs that are in the past if they haven't yet been completed.
2025-08-11 17:09:45 -04:00
Dianne Skoll
9199ed5cf7
Make sure remind -ppp preserves scanfrom even if it's today.
2025-08-11 16:55:20 -04:00
Dianne Skoll
68a4b23b6f
Rework scanfrom so it's computed as needed.
2025-08-11 16:52:41 -04:00
Dianne Skoll
814dd51270
Start working on TODO and COMPLETE-THROUGH. Still a WIP!!!
2025-08-11 16:29:34 -04:00
Dianne Skoll
59fdf70732
Fix spelling error.
2025-08-10 09:14:57 -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
86dcd9ce89
Set release date.
2025-07-28 10:21:26 -04:00
Dianne Skoll
4915dc1e8d
Make torture tests even worse!!! :)
2025-07-25 16:50:49 -04:00
Dianne Skoll
8c4cff22a5
Update WHATSNEW.
2025-07-25 12:07:50 -04:00
Dianne Skoll
50850134f6
Fix typom... sigh.
2025-07-25 11:29:52 -04:00
Dianne Skoll
a5de77cc91
Call DBufInit.
2025-07-25 11:29:33 -04:00
Dianne Skoll
87e4ed23bf
Bump version to 05.05.00.
2025-07-25 11:02:30 -04:00
Dianne Skoll
0fe1d1591e
Add comment
2025-07-24 15:27:13 -04:00
Dianne Skoll
dfb137085a
Defensive programming.
2025-07-24 15:26:17 -04:00
Dianne Skoll
143cdecb9e
Avoid memory leak; make popping more efficient.
2025-07-24 15:25:01 -04:00
Dianne Skoll
183ccf9d1c
Add torture test for PUSH-VARS / POP-VARS
2025-07-24 14:59:00 -04:00
Dianne Skoll
56ad4efb1a
Use PUSH-VARS/POP-VARS to preserve state.
2025-07-24 14:54:53 -04:00
Dianne Skoll
f4805a443b
Prevent segfault if we just say "push-funcs"
2025-07-24 14:45:52 -04:00
Dianne Skoll
977aa3d6cf
More torture-testing.
2025-07-24 14:38:47 -04:00
Dianne Skoll
fe7ac980e5
Add a torture test for PUSH-FUNCS / POP-FUNCS
2025-07-24 14:37:39 -04:00
Dianne Skoll
aebab73dfa
Update docs to user PUSH-FUNCS/POP-FUNCS rather than FRENAME.
2025-07-24 14:33:32 -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
3eadb3f767
Tweak man page wording.
2025-07-23 19:39:29 -04:00
Dianne Skoll
be8a0621d1
Properly trace set-but-not-used variables interacting with PUSH-VARS / POP-VARS
2025-07-23 19:37:03 -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
93dddec24a
Initialize pushed value to ERR_TYPE to avoid inappropriate possible free() later on.
2025-07-23 10:07:58 -04:00
Dianne Skoll
c13b721550
Propagate errors.
2025-07-22 19:12:26 -04:00
Dianne Skoll
1c961dca83
One more test.
2025-07-22 17:37:05 -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
e20a14109a
Use PUSH-SYSVARS / POP-SYSVARS in example.
2025-07-22 17:30:15 -04:00
Dianne Skoll
a3703173e2
Clarify documentation of PUSH-/POP-SYSVARS.
2025-07-22 17:24:27 -04:00
Dianne Skoll
7325375ccd
Add PUSH-SYSVARS and POP-SYSVARS commands.
2025-07-22 17:20:58 -04:00
Dianne Skoll
4b898b2ba1
Add cppcheck top-level makefile target.
2025-07-22 16:18:10 -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
609b68ab21
Add const-correctness to various hash table functions.
2025-07-21 18:28:24 -04:00
Dianne Skoll
c3ab2a15cf
Add some consts as recommended by make cppcheck.
2025-07-21 17:44:13 -04:00
Dianne Skoll
418b050b1c
Fix typo
2025-07-16 11:20:33 -04:00
Dianne Skoll
4ab8897577
Update WHATSNEW.
2025-07-16 11:07:43 -04:00
Dianne Skoll
9613417a2e
Bump version to 05.04.02
2025-07-16 11:03:25 -04:00
Dianne Skoll
f808a2963d
When using -dt, print the trigger date for a fully-specified but expired trigger.
2025-07-09 12:11:38 -04:00
Dianne Skoll
96a4dc3189
Make macro safer.
2025-07-07 22:21:53 -04:00
Dianne Skoll
3c60285466
Add Chinese new year dates 2051 through 2100.
2025-07-05 17:50:53 -04:00
Dianne Skoll
6fed350e1f
Give better error messages thant "Type mismatch" for bad month or weekday names.
2025-07-05 09:52:30 -04:00
Dianne Skoll
9f220555af
Exit early from FromDSE if all we need is the year.
2025-07-02 14:39:15 -04:00
Dianne Skoll
005ccef953
Pass NULLs in a bunch of places where FromDSE result is not needed.
2025-07-02 14:21:32 -04:00
Dianne Skoll
578c98c865
Pass NULLs to FromDSE for info we don't need.
2025-07-02 14:10:42 -04:00
Dianne Skoll
64bf3381c6
Document mon(STRING)
2025-07-02 14:02:42 -04:00
Dianne Skoll
02ade6fc58
Add tests.
2025-07-02 11:42:03 -04:00
Dianne Skoll
2954fca8d8
Allow month to be specified by name in all places where it can be specified by number.
2025-07-02 11:40:02 -04:00
Dianne Skoll
8356dacf2a
Allow first argument of daysinmon to be a string.
2025-07-02 11:20:15 -04:00
Dianne Skoll
4fd145cf4e
Allow daysinmon() to take a single DATE or DATETIME argument.
2025-07-02 10:14:48 -04:00
Dianne Skoll
1af2bdf8f1
Add test to ensure "unsatisfied" SATISFY clears trigvalid()
2025-07-01 16:51:16 -04:00
Dianne Skoll
9b98e65e01
Don't set trigvalid() for a reminder whose SATISFY clause is never satisfied.
2025-07-01 16:49:06 -04:00
Dianne Skoll
0f83b98698
Fix bug that didn't save trigger date for a fully-specified REM in the past.
2025-06-30 19:23:45 -04:00
Dianne Skoll
4fd62f9894
Move contents of NOTE-ABOUT-AI.txt into README.md
2025-06-26 10:51:34 -04:00
Dianne Skoll
cc06592fe0
Update documentation to reflect reality.
2025-06-18 11:02:37 -04:00
Dianne Skoll
21d28ebfc3
Bump version to 05.04.01.
2025-06-15 09:29:36 -04:00
Dianne Skoll
b300422cdb
Update release notes.
2025-06-15 09:27:57 -04:00
Dianne Skoll
37e09f4671
Fix bug in processing UNTIL clause.
...
Bug found by Ian! D. Allen.
2025-06-15 09:15:48 -04:00
Dianne Skoll
b6e53341c8
Add utils/add-html-anchors.rem standard file.
2025-06-10 14:26:51 -04:00
Dianne Skoll
896fcf1d7f
Yet more wording.
2025-06-07 23:05:34 -04:00
Dianne Skoll
72155329f2
Tweak wording, again.
2025-06-07 23:04:47 -04:00
Dianne Skoll
36c7db510a
Tweak wording.
2025-06-07 23:03:46 -04:00
Dianne Skoll
d4aa73747d
Add some comments.
2025-06-07 22:45:02 -04:00
Dianne Skoll
3ed657b708
Add a couple more SPECIALs to test.
2025-06-07 22:40:55 -04:00
Dianne Skoll
0441c0263b
Make rem2pdf *ACTUALLY* support "special colour"
2025-06-07 22:38:19 -04:00
Dianne Skoll
c40d4ee672
Fix misleading comment.
2025-06-07 22:13:08 -04:00
Dianne Skoll
96f2d6537a
Update the main README.md file.
2025-06-06 21:54:49 -04:00
Dianne Skoll
dc777c95df
Fix cppcheck warning.
2025-06-03 16:54:47 -04:00
Dianne Skoll
3090d77346
Update WHATSNEW.
2025-06-03 12:34:08 -04:00
Dianne Skoll
157d2821f3
Don't Eprint errors if we're supposed to be ignoring lines.
2025-05-28 14:52:12 -04:00
Dianne Skoll
71d2da19a8
Introduce "FSET - f(args) expr" syntax to define a function and suppress any "redefined function" warnings.
2025-05-28 14:40:46 -04:00
Dianne Skoll
516b9c81b3
Get rid of ancient cruft.
2025-05-28 14:23:56 -04:00
Dianne Skoll
58d0e38f1a
Remove superfluous assignments.
2025-05-28 14:17:21 -04:00
Dianne Skoll
68d487ade9
Make a macro DBGX to avoid typo-ing '&' as '&&' in future. :)
2025-05-26 22:44:28 -04:00
Dianne Skoll
9d42879170
Make "value" constant iff variable exists and is constant.
...
Otherwise, it's non-constant.
2025-05-26 22:22:49 -04:00
Dianne Skoll
db70aabc97
Use ParseIdentifier instead of ParseToken with "PRESERVE"
...
to avoid creating illegal variable names.
2025-05-26 22:09:21 -04:00
Dianne Skoll
c8f55ef60b
Note that value evaluates its second argument lazily.
2025-05-26 21:59:24 -04:00
Dianne Skoll
44b50fc6be
Make "value()" evaluate its second argument lazily.
...
If the variable whose name is the first argument exists, don't
bother evaluating the second argument.
2025-05-26 21:56:04 -04:00
Dianne Skoll
a69a96529b
Update WHATSNEW.
2025-05-26 10:49:41 -04:00
Dianne Skoll
f4e5cc63a6
Dedup
2025-05-25 14:56:37 -04:00
Dianne Skoll
136122b1db
Fix a couple of minor problems found by "remind -du"
2025-05-25 14:54:49 -04:00
Dianne Skoll
4cc63b1548
Add some details about nuances of "u" debugging flag.
2025-05-25 13:38:21 -04:00
Dianne Skoll
9390b4335b
Make another string translatable.
2025-05-24 23:35:16 -04:00
Dianne Skoll
1fcf11a816
Change the help text for the -d flag.
2025-05-24 23:20:45 -04:00
Dianne Skoll
c4107e6a6f
Fix up Bevrijdingsdag
2025-05-24 23:19:13 -04:00
Dianne Skoll
ab03232341
Minor tweak
2025-05-24 23:15:51 -04:00
Dianne Skoll
51a65841cd
Warn if a variable is UNSET without having been used (if -du is in effect)
2025-05-24 23:13:39 -04:00
Dianne Skoll
5035deaff1
Tweak warning wording; add tests.
2025-05-24 23:09:57 -04:00
Dianne Skoll
09caa8988a
Add warning if we SET a variable that has already been set, but not used (if -du debug flag is set)
2025-05-24 23:06:50 -04:00
Dianne Skoll
9624b1045c
Track filename and line number where variables are defined.
2025-05-24 22:58:28 -04:00
Dianne Skoll
102748397f
Remove a couple of inappropriate "free" calls.
2025-05-24 22:58:16 -04:00
Dianne Skoll
f852f7e7e5
Refactor conversion of "-" to "-stdin-"
2025-05-24 22:55:02 -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
a6ca571fe5
Fix indentation.
2025-05-24 22:13:47 -04:00
Dianne Skoll
2af783a58d
Use isany() in preference to || operator.
2025-05-24 10:36:03 -04:00
Dianne Skoll
af2daa7a87
Use "is_constant" attribute for Var to be consistent with UserFunc.
2025-05-24 10:10:44 -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
edf26eaa14
Add more "const" debugging messages.
2025-05-23 13:38:38 -04:00
Dianne Skoll
7e5dc26ee5
*PROPERLY* disable RUN in eval. :)
2025-05-23 12:03:09 -04:00
Dianne Skoll
4c2b6031cd
Disable shell() inside an eval("...") for safety.
...
Based on email from Tim Chase.
2025-05-23 11:48:06 -04:00
Dianne Skoll
af8c1630c3
Add more clarification.
2025-05-23 08:56:01 -04:00
Dianne Skoll
0ec43d570c
Add "const" function, which is the inverse of "nonconst"
2025-05-23 08:47:12 -04:00
Dianne Skoll
1df8b12e71
Clarification.
2025-05-23 08:42:00 -04:00
Dianne Skoll
3fb10fe946
Don't put anchors in HTML output.
...
Can be achieved with a REM statement:
REM SPECIAL HTML <a id="[$T]"></a>
2025-05-23 07:36:45 -04:00
Dianne Skoll
e11dbcf52a
Revert "Put anchor <a name="dN"></a> for day N's day box."
...
This reverts commit 398100c6e3 .
2025-05-23 07:34:57 -04:00
Dianne Skoll
88cc25e53f
Update release notes.
2025-05-22 21:57:14 -04:00
Dianne Skoll
0c93e045bd
Bump version to 05.04.00.
2025-05-22 21:40:38 -04:00
Dianne Skoll
99e5b3f43d
Document "trigbase" entry in JSON output.
2025-05-22 18:05:31 -04:00
Dianne Skoll
f0f0cec2d3
Add $Tu == triguntil() system variable.
2025-05-22 18:00:24 -04:00
Dianne Skoll
70a97a8fe5
Add trigbase() built-in function.
2025-05-22 17:44:42 -04:00
Dianne Skoll
8a6857b787
Add test to ensure recursive eval() yields error rather than segfault.
2025-05-22 15:00:46 -04:00
Dianne Skoll
95b82a4457
"eval" can itself now be recursive, so we need to guard built-in functions against recursion.
2025-05-22 14:59:08 -04:00
Dianne Skoll
8fd39e477f
A bit more non-const documentation.
2025-05-22 14:44:17 -04:00
Dianne Skoll
3118f8d2a4
Add "eval()" built-in function.
2025-05-22 13:52:07 -04:00
Dianne Skoll
acf570512d
Correct documentation for maximum IF nest level.
2025-05-22 10:08:34 -04:00
Dianne Skoll
cf2114e2ef
Update tests.
2025-05-22 10:04:32 -04:00
Dianne Skoll
357f7105bd
Better coerce error messages.
2025-05-22 10:03:32 -04:00
Dianne Skoll
e7094b71c2
Clarify FSET syntax.
2025-05-22 09:51:05 -04:00
Dianne Skoll
8a3db4cba1
Document "DUMP -c ..."
2025-05-22 09:45:04 -04:00
Dianne Skoll
b33a3191f5
Better nonconst diagnostic messages.
2025-05-22 09:38:06 -04:00
Dianne Skoll
caa900d38d
Fix tests.
2025-05-22 09:35:52 -04:00
Dianne Skoll
1d3c1f006f
Take care of some corner-cases of non-const tracking.
2025-05-22 09:35:18 -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
ec8cae6d4b
Mark a few functions as non-const that were incorrectly marked const before.
2025-05-21 23:43:26 -04:00
Dianne Skoll
5019d54379
Document a practical use of nonconst.
2025-05-21 15:50:05 -04:00
Dianne Skoll
56e4f14a2f
Don't use bitfields. They don't save space and are slower.
2025-05-21 13:42:06 -04:00
Dianne Skoll
af5854d0c6
Improve diagnostic message.
2025-05-21 12:27:08 -04:00
Dianne Skoll
43d0066780
Add test for additional non-constant debugging message.
2025-05-21 12:24:44 -04:00
Dianne Skoll
de2d15009f
Document all the non-constant tracking machinery.
2025-05-21 12:23:08 -04:00
Dianne Skoll
8ca5c7e56e
Add test for "hush mode" in conjunction with "purge mode"
2025-05-21 11:21:24 -04:00
Dianne Skoll
bd6218d7e2
Update man page.
2025-05-21 11:21:04 -04:00
Dianne Skoll
5d822e294d
Make "Hush Mode" suppress all purge-mode diagnostics.
...
We only get the "#!P: Expired" lines in that case.
2025-05-21 11:15:56 -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
a309af731f
Minor code-formatting improvement.
2025-05-20 16:42:50 -04:00
Dianne Skoll
31c8893a2a
Add tests for non-const-expression debugging output.
2025-05-20 12:03:53 -04:00
Dianne Skoll
e3a6c65983
Fix silly typo
2025-05-20 11:57:20 -04:00
Dianne Skoll
1355b99560
Document non-constant expressions.
2025-05-20 11:55:19 -04:00
Dianne Skoll
21904e708f
Add "n" debugging flag to diagnose non-constant expressions.
2025-05-20 11:17:04 -04:00
Dianne Skoll
e4a6a5cf01
Properly parse unary '+' operator. It's ignored, essentially.
2025-05-17 11:33:27 -04:00
Dianne Skoll
098cf4707a
Do not use obsolete "tail +2" syntax. Instead use "tail -n+2"
...
Fix courtesy of Dick Marinus.
2025-05-17 10:59:28 -04:00
Dianne Skoll
1be6ff23fb
Optimmize away ! INT_CONSTANT.
2025-05-16 10:48:02 -04:00
Dianne Skoll
4db201945c
Optimize "- INT_CONSTANT" to be simply -INT_CONSTANT rather than (- INT_CONSTANT)
2025-05-16 08:30:44 -04:00
Dianne Skoll
6aa217044b
Implement wkdaynum("dayname")
2025-05-14 18:30:47 -04:00
Dianne Skoll
c64d939237
Allow argument to monnum to be a string, in which case it's parsed as a month name.
2025-05-14 09:57:16 -04:00
Dianne Skoll
398100c6e3
Put anchor <a name="dN"></a> for day N's day box.
2025-05-12 09:22:49 -04:00
Dianne Skoll
3fb1db0880
Add catcherr() built-in function.
2025-05-10 09:33:24 -04:00
Dianne Skoll
76bf57af60
Tweak "catch()" documentation.
2025-05-09 23:32:03 -04:00
Dianne Skoll
a8fc88be17
Clarify that catch() doesn't catch errors when evaluating its second argument.
2025-05-09 17:21:34 -04:00
Dianne Skoll
a50f40d652
Don't use repeated DBG() macros. Instead, wrap everything in a conditional
2025-05-09 17:17:37 -04:00
Dianne Skoll
71b3564c03
Add catch to list of built-in functions.
2025-05-09 17:10:46 -04:00
Dianne Skoll
a35de17b00
Add the "catch()" built-in function.
2025-05-09 17:09:00 -04:00
Dianne Skoll
ab44f93f37
Update man page with info about how Remind folds years.
2025-05-08 14:47:48 -04:00
Dianne Skoll
ab69fee895
No need for timetis64bit guards (I hope...)
2025-05-08 14:33:33 -04:00
Dianne Skoll
db31214060
Fix up year-folding logic.
2025-05-08 14:30:07 -04:00
Dianne Skoll
758e2c1a9d
Add some more year-folding tests.
2025-05-08 14:22:01 -04:00
Dianne Skoll
ed7c5103ff
Fold years so even 32-bit systems can handle astronomical stuff past 2038
2025-05-08 14:14:49 -04:00
Dianne Skoll
4590e746c5
Force year-folding on 32-bit time_t machines.
2025-05-08 12:10:15 -04:00
Dianne Skoll
bc8ce3e2cc
Change FoldArray to use years as close as possible to (but less than) 2038.
2025-05-08 11:56:53 -04:00
Dianne Skoll
3e82fe8712
Update WHATSNEW
2025-05-06 12:52:37 -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
e107ed5482
Bump version to 05.03.07.
2025-05-06 12:37:43 -04:00
Dianne Skoll
66523b1b3b
Use llabs instead of labs for systems that normally have 32-bit time_t
...
but are configured to use 64-bit time_t.
2025-05-06 12:36:43 -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
416ee87dd0
Try to make tests pass on systems with 32-bit time_t.
2025-05-06 12:20:59 -04:00
Dianne Skoll
7705278575
Update remind-conf-mode with $TimetIs64bit
2025-05-06 12:14:55 -04:00
Dianne Skoll
59f978a9db
Add $TimetIs64bit system variable.
2025-05-06 12:14:18 -04:00
Dianne Skoll
4515291720
Move moonrise/moonset after sunrise/sunset.
2025-05-06 12:02:16 -04:00
Dianne Skoll
65eaf67a06
Add license text for lunar and solar eclipse files.
2025-05-06 11:41:51 -04:00
Dianne Skoll
3f4f00890a
Add solar and lunar eclipses in the 21st century.
2025-05-06 11:34:37 -04:00
Dianne Skoll
e96875c698
Fix typo.
2025-05-01 10:29:04 -04:00
Dianne Skoll
d65348bf83
Fix Bevrijdingsdag
2025-04-28 17:15:54 -04:00
Dianne Skoll
c1704b9d52
Fix up rules for Bevrijdingsdag courtesy of Adrian P. van Bloois
2025-04-28 10:00:53 -04:00
Dianne Skoll
e87d285170
Remove unbalanced .RE from man page source.
2025-04-27 12:15:03 -04:00
Dianne Skoll
c6b00b616e
Change the comment from:
...
also include [$SysInclude]/holidays/...
to:
also SYSINCLUDE holidays/...
2025-04-27 10:04:48 -04:00
Dianne Skoll
084dbd71b1
Move Koningsdag to Saturday instead of Monday if 27 April is a Sunday.
...
Bug pointed out by Adri P. van Bloois.
2025-04-26 10:23:51 -04:00
Dianne Skoll
ce123d1b41
Bump to version 05.03.06.
2025-04-25 11:02:22 -04:00
Dianne Skoll
4ed8331369
Add a note about $SuppressLRM right under the "-c" option documentation.
2025-04-24 16:11:32 -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
dc75c8f49b
Tweak astro output.
2025-03-25 15:22:49 -04:00
Dianne Skoll
cef6e6717c
Convert C++-style comments to C-style comments.
2025-03-24 11:42:54 -04:00
Dianne Skoll
5ec78739cd
Add moonrise, moonset, etc. to remind-conf-mode.
2025-03-23 17:03:56 -04:00
Dianne Skoll
79f45169c8
Set release date.
2025-03-23 13:37:51 -04:00
Dianne Skoll
b9f09b9a2d
Fix some cppcheck warnings.
2025-03-23 13:24:38 -04:00
Dianne Skoll
f53a174d65
Update WHATSNEW
2025-03-23 13:15:14 -04:00
Dianne Skoll
ed15b7deb5
Update JSON parser to latest version from https://github.com/udp/json-parser
2025-03-22 12:09:30 -04:00
Dianne Skoll
caf5f81eb0
Add a few more removals to "make distclean"
2025-03-22 11:18:56 -04:00
Dianne Skoll
d48910eca9
Update "make distclean" target; remove obsolete unconfigure script.
2025-03-22 11:16:54 -04:00
Dianne Skoll
c004944a59
Replace '1440' with 'MINUTES_PER_DAY' in a bunch of spots.
2025-03-20 17:20:25 -04:00
Dianne Skoll
f2d1a21a4e
Update docs.
2025-03-20 15:40:33 -04:00
Dianne Skoll
81a5241097
Add tests for soleq.
2025-03-20 11:53:11 -04:00
Dianne Skoll
eced4de4a2
Explicitly supply date.
2025-03-20 11:45:11 -04:00
Dianne Skoll
2c8fa39af0
Add tests for astronomical functions.
2025-03-20 11:38:18 -04:00
Dianne Skoll
6ac5e96260
Fix logic bug in astro.
2025-03-20 10:20:08 -04:00
Dianne Skoll
deda94a69e
Comment and code cleanups.
2025-03-19 18:08:28 -04:00
Dianne Skoll
abb8cbb1bf
Update docs
2025-03-19 17:43:38 -04:00
Dianne Skoll
ee4e3e9073
Bump version to 05.03.05.
2025-03-19 17:38:33 -04:00
Dianne Skoll
220014e60f
Document moonrise and moonset functions.
2025-03-19 17:31:29 -04:00
Dianne Skoll
3d0d07ce29
Remove note about OS/2.
2025-03-19 15:41:15 -04:00
Dianne Skoll
38615adb41
Update tests for fixes to 12:XXam
2025-03-19 12:38:36 -04:00
Dianne Skoll
3d8f0e3907
Code cleanup; fix astro example.
2025-03-19 12:35:51 -04:00
Dianne Skoll
160f85a1f8
Fix %2 and %@ formatters to print "12:XXam" instead of "0:XXam"
2025-03-19 12:35:25 -04:00
Dianne Skoll
5cb062166c
Add moonrise/moonset to astro example.
2025-03-19 12:18:19 -04:00
Dianne Skoll
81fa6c667f
Update unit test.
2025-03-19 11:57:23 -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
ba224445b1
Allocate 256 expr_nodes in a chunk instead of 64.
2025-03-16 10:55:42 -04:00
Dianne Skoll
6aeee47bfa
Remove unused code.
2025-03-16 10:47:54 -04:00
Dianne Skoll
c506fa4613
Refactor code.
2025-03-13 23:51:22 -04:00
Dianne Skoll
04404a252e
Remove check for '%' in parse_atom.
2025-03-13 23:45:21 -04:00
Dianne Skoll
be746f9fa7
Print placeholder args when printing error message for user function invoked with incorrect number of arguments.
2025-03-13 23:33:19 -04:00
Dianne Skoll
2393a86970
Fix typo that broke opening reminder file from queue listing.
2025-03-10 17:52:59 -04:00
Dianne Skoll
143ad08b3f
Update release notes.
2025-03-09 10:51:13 -04:00
Dianne Skoll
44afdfcb44
Update version to 05.03.04
2025-03-09 10:48:43 -04:00
Dianne Skoll
4b905dbc02
Set LC_ALL and LANG right before sort.
2025-03-08 23:09:30 -05:00
Dianne Skoll
0f76750e05
Set locale for sorting.
2025-03-08 23:04:38 -05:00
Dianne Skoll
b32f56134e
Don't redirect stderr to /dev/null on failure to use a required Perl module.
2025-03-04 11:11:34 -05:00
Dianne Skoll
60b0b468df
Fix typo
2025-03-03 19:55:52 -05:00
Dianne Skoll
52ce99af80
Document changes since 05.03.02.
2025-03-03 11:27:29 -05:00
Dianne Skoll
5915eb4973
Bump version to 05.03.03.
2025-03-03 11:23:10 -05:00
Dianne Skoll
aa8d23fd87
Add a couple of Dutch translations.
2025-03-01 13:34:37 -05:00
Dianne Skoll
917d943953
Avoid memory leak.
2025-03-01 12:01:15 -05:00
Dianne Skoll
9ade3876b2
Make TkRemind open editor at first line of reminder.
2025-02-16 20:36:50 -05: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
762bf97473
Add some URLs and a couple of miscellaneous days.
2025-02-13 17:43:02 -05:00
Dianne Skoll
563f3ea088
Remove obsolete files.
2025-02-12 14:39:55 -05:00
Dianne Skoll
939078428f
Add some miscellaneous holidays not found in other files.
2025-02-12 13:13:08 -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
21ecc28ea4
Prep for 05.03.02 release.
Remind unit tests / tests (push) Successful in 34s
2025-02-09 09:56:45 -05:00
Dianne Skoll
b37a7cd993
Revert change to how -y generates tags.
...
Remind unit tests / tests (push) Successful in 48s
Commit e7ec975ff0 changed how the
MD5 sum was calculated to include the filename and line number.
This commit reverts that change; the tag is generated purely
on the REM command line.
2025-02-08 22:25:09 -05:00
Dianne Skoll
64679817ae
Update WHATSNEW in preparation for release.
Remind unit tests / tests (push) Successful in 52s
2025-02-07 13:08:20 -05:00
Dianne Skoll
1ef1033379
Add dependencies to Makefile.PL.in
Remind unit tests / tests (push) Successful in 45s
2025-02-05 10:58:47 -05:00
Dianne Skoll
7d42750043
Better checks for Perl modules.
2025-02-05 10:57:28 -05:00
Dianne Skoll
1dc0afc0ca
Improve small calendar display.
Remind unit tests / tests (push) Successful in 26s
2025-02-04 22:27:32 -05:00
Dianne Skoll
a0aede4069
Add clickable URL in popup reminder if we have an INFO "Url: ..." string.
2025-02-04 13:58:23 -05:00
Dianne Skoll
a5a7637696
Bump version in preparation for next release.
2025-02-04 13:49:00 -05:00
Dianne Skoll
38a597a374
We're releasing today!
Remind unit tests / tests (push) Successful in 53s
2025-02-04 10:28:25 -05:00
Dianne Skoll
66ba9257a5
Add INFO strings for Jewish holidays.
2025-02-04 10:23:13 -05:00
Dianne Skoll
c5374c09fb
Yet more INFO strings.
2025-02-04 10:11:36 -05:00
Dianne Skoll
9c93e7e6a1
Better error message.
Remind unit tests / tests (push) Successful in 1m17s
2025-02-03 23:09:17 -05:00
Dianne Skoll
3487f6f46a
Document that it takes at least -pp to pass info strings to a back-end.
2025-02-03 23:05:18 -05:00
Dianne Skoll
da8a72d7cd
Add info strings.
2025-02-03 22:59:43 -05:00
Dianne Skoll
f391b6221f
Add INFO strings.
2025-02-03 22:54:10 -05:00
Dianne Skoll
a8c0b20f9e
Line things up better.
2025-02-03 22:47:40 -05:00
Dianne Skoll
5684a86df9
Add INFO strings.
2025-02-03 22:45:26 -05:00
Dianne Skoll
3abaaacd98
Add some more INFO strings.
2025-02-03 22:38:50 -05:00
Dianne Skoll
7eae7a9157
Add some INFO strings.
2025-02-03 22:36:09 -05:00
Dianne Skoll
a0d8c93a34
Make tkremind handle "Url:" info strings.
Remind unit tests / tests (push) Successful in 39s
2025-02-03 15:18:44 -05:00
Dianne Skoll
8bf22dbb36
Document support for "Url:" info string.
2025-02-03 14:52:42 -05:00
Dianne Skoll
6b2622f3d3
Document "Url" INFO string support.
2025-02-03 14:38:23 -05:00
Dianne Skoll
8abdf6d988
Make rem2html respect "Url:" INFO string for moon phases and week numbers.
2025-02-03 14:32:52 -05:00
Dianne Skoll
991e409739
Make rem2pdf obey the "Url:" INFO string.
2025-02-03 14:20:45 -05:00
Dianne Skoll
3c2bb76523
Turn reminders with a "Url:" info string into hyper-links.
2025-02-03 13:56:21 -05:00
Dianne Skoll
8555352c18
Add popup for location and description in HTML calendar.
2025-02-03 11:36:19 -05:00
Dianne Skoll
34f8486c10
Update docs.
Remind unit tests / tests (push) Successful in 42s
2025-02-02 11:21:38 -05:00
Dianne Skoll
5adb5d893e
Final (??) tweaks of popup appearance. :)
Remind unit tests / tests (push) Successful in 34s
2025-02-01 15:58:51 -05:00
Dianne Skoll
2f11b6fdc8
Tweak appearance of popups and background reminders.
2025-02-01 15:52:13 -05:00
Dianne Skoll
49d46c1397
Improve reminder popups.
2025-02-01 15:38:13 -05:00
Dianne Skoll
1641f99f97
Include the "info" element in pop-up reminders.
2025-02-01 15:02:54 -05:00
Dianne Skoll
f9f9552850
Avoid segfault if we call dosubst("%<foo>")
2025-02-01 14:50:49 -05:00
Dianne Skoll
3b43222585
Add the triginfo("header") function and corresponding %<...> substitution sequence.
2025-02-01 14:39:06 -05:00
Dianne Skoll
231d9d77e7
Save the info chain when saving the last trigger.
2025-02-01 14:16:17 -05:00
Dianne Skoll
6140221bf3
Make a function static.
2025-02-01 11:15:52 -05:00
Dianne Skoll
51b831fb6a
Check for proper escaping in JSON and TRANSLATE DUMP.
2025-02-01 11:15:25 -05:00
Dianne Skoll
35a4994b3e
Document changes.
2025-02-01 10:59:04 -05:00
Dianne Skoll
0ebaaa4097
Add optional add_quote argument to escape()
2025-02-01 10:58:55 -05:00
Dianne Skoll
2f43aca21c
Update version to 05.03.00
2025-02-01 10:58:34 -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
ca56b4c90e
Disallow "\x00"
2025-02-01 10:12:51 -05:00
Dianne Skoll
5c965e2083
Add "\xAB" escapes to string parser.
...
\x followed by one or two hex digits gets converted to that character.
2025-02-01 10:08:12 -05:00
Dianne Skoll
d58ccbef69
Improve how add/edit reminder dialog resizes.
Remind unit tests / tests (push) Successful in 37s
2025-01-31 21:31:47 -05:00
Dianne Skoll
17ad03be69
Add a bit of space after labels.
2025-01-31 21:22:48 -05:00
Dianne Skoll
75a4e98de2
Call the reminder body the "Summary" rather than "Subject" to be consistent with ical.
2025-01-31 21:21:30 -05:00
Dianne Skoll
1408f77303
Use concat instead of list to flatten lists.
...
Bug report: https://dianne.skoll.ca/pipermail/remind-fans/2025/004986.html
2025-01-31 19:36:41 -05:00
Dianne Skoll
af76dd67fb
Remove dead code; count lines better.
2025-01-31 17:02:03 -05:00
Dianne Skoll
f7a19d1570
Change "Body:" to "Subject:" and update man page.
2025-01-31 16:48:48 -05:00
Dianne Skoll
e7ec975ff0
Support location and description fields in tkremind.
2025-01-31 16:30:07 -05:00
Dianne Skoll
8c4ca12ca7
When creating the "info" JSON hash, make the keys lower-case instead of upper-case.
Remind unit tests / tests (push) Successful in 46s
2025-01-31 08:07:53 -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
cb0acb3077
Document INFO
Remind unit tests / tests (push) Successful in 54s
2025-01-29 19:07:26 -05:00
Dianne Skoll
9376c7a36d
Add INFO keyword.
2025-01-29 18:55:22 -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
bbeece644e
Use "custom.h" rather than <custom.h> for our header file.
2025-01-24 08:10:06 -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
3dcd353fb5
Update release notes.
2025-01-22 10:56:05 -05:00
Dianne Skoll
124c5c4e7e
Make test mode warning more verbose.
Remind unit tests / tests (push) Successful in 35s
2025-01-21 11:54:24 -05:00
Dianne Skoll
77024562b3
Fix SystemDate to always return 2025-01-06 in --test mode.
Remind unit tests / tests (push) Successful in 38s
2025-01-21 11:52:20 -05:00
Dianne Skoll
35c33ae915
Prevent infinite test loop.
2025-01-21 11:48:56 -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
6f11e727f8
Truncate any absurdly-long translations of "am" or "pm" rather than letting a buffer overflow.
2025-01-19 22:01:45 -05:00
Dianne Skoll
9f7ea96e87
Make it a bit easier to read
Remind unit tests / tests (push) Successful in 41s
2025-01-18 10:45:35 -05:00
Dianne Skoll
d650b8564c
Update release notes
Remind unit tests / tests (push) Successful in 33s
2025-01-17 13:26:06 -05:00
Dianne Skoll
4f2e4030eb
Bump version go 05.02.03.
2025-01-17 13:21:11 -05:00
Dianne Skoll
447bda5c91
Warn if given a bad debug flag.
2025-01-17 10:22:22 -05:00
Dianne Skoll
4f351c089e
Add the "-dq" debugging flag, for outputing TRANSLATE commands needed by a reminder script.
Remind unit tests / tests (push) Successful in 44s
2025-01-17 08:46:29 -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
8d0743dd3e
Don't allow a translation entry if printf-style formatters differ.
2025-01-16 12:53:23 -05:00
Dianne Skoll
436526c27d
Fix -Wformat-security warnings.
2025-01-16 12:37:13 -05:00
Dianne Skoll
5f3f3b410f
Fix tests for previous commit.
Remind unit tests / tests (push) Successful in 52s
2025-01-15 11:02:30 -05:00
Dianne Skoll
4f79b0d42a
Remove leading space from translatable.
2025-01-15 11:02:06 -05:00
Dianne Skoll
c96f9f21ed
Properly print already-translated TRANS-type system variables in TRANSLATE GENERATE output.
Remind unit tests / tests (push) Successful in 36s
2025-01-14 15:02:08 -05:00
Dianne Skoll
dc192f2a69
Final good version of TRANSLATE GENERATE.
2025-01-14 14:59:01 -05:00
Dianne Skoll
ac3dd1ec7c
Better translation template
2025-01-14 14:54:26 -05:00
Dianne Skoll
b5717828f0
Make "TRANSLATE GENERATE" emit a BANNER command.
2025-01-14 14:08:46 -05:00
Dianne Skoll
c0d73fb9d1
Use @ to suppress echoing, not -.
2025-01-14 13:55:47 -05:00
Dianne Skoll
3a2ac067b0
Fix tests.
2025-01-14 13:49:13 -05:00
Dianne Skoll
1d467ab9ed
Remove trailing \n from translation strings.
2025-01-14 13:48:45 -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
96c11e89eb
Add the TRANSLATE GENERATE command to generate a skeleton .rem file for localization.
2025-01-14 13:27:04 -05:00
Dianne Skoll
a35920f28e
Put quotes around function name when issuing "redefined" warning.
2025-01-14 11:30:06 -05:00
Dianne Skoll
17ccf5d2b4
Make more messages translatable.
2025-01-14 11:27:47 -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
9f0e23a307
More localization.
2025-01-13 11:58:42 -05:00
Dianne Skoll
542620c188
Allow "did you mean" to be localized.
2025-01-13 11:56:43 -05:00
Dianne Skoll
50419bd83a
Translate "here" to French.
2025-01-13 11:55:32 -05:00
Dianne Skoll
2b7c582392
Let "here" be localized.
2025-01-13 11:54:14 -05:00
Dianne Skoll
812a2af64b
Better location of the ^-- here marker.
2025-01-13 11:52:55 -05:00
Dianne Skoll
17d7abd4a4
Add country-specific LGBTQ holidays.
Remind unit tests / tests (push) Successful in 34s
2025-01-11 14:12:56 -05:00
Dianne Skoll
098e98c59e
Add holidays/lgbtq.rem
Remind unit tests / tests (push) Successful in 37s
2025-01-10 20:34:37 -05:00
Dianne Skoll
c5e0dbf2e5
Add license identifier.
2025-01-10 20:34:29 -05:00
Dianne Skoll
18c8bc719f
Update tests to match commit 195ed15167
Remind unit tests / tests (push) Successful in 35s
2025-01-07 17:59:06 -05:00
Dianne Skoll
195ed15167
Print ^-- here for a few more error types.
2025-01-07 17:58:03 -05:00
Dianne Skoll
51677cd7b5
Use "info patchlevel" to display detailed Tcl/Tk version.
2025-01-07 15:57:07 -05:00
Dianne Skoll
aef5b353cd
Add a missing update.
Remind unit tests / tests (push) Successful in 28s
2025-01-06 10:40:25 -05:00
Dianne Skoll
8a99c29533
Update WHATSNEW in preparation for release.
Remind unit tests / tests (push) Successful in 33s
2025-01-05 12:14:04 -05:00
Dianne Skoll
0bf2b0772a
Bump version to 05.02.02.
Remind unit tests / tests (push) Successful in 1m41s
2025-01-05 10:34:28 -05:00
Dianne Skoll
a033a48acd
Make rem2html support weekly calendars.
...
Remind unit tests / tests (push) Successful in 1m29s
rem2html is a mess and needs refactoring, but oh well... it works.
2025-01-04 18:10:34 -05:00
Dianne Skoll
0feb81c8cc
Make "rem2html" accept "remind -ppp" as input (as well as -p and -pp)
2025-01-04 17:07:06 -05:00
Dianne Skoll
1850607542
Use hex constants for flags that are bitmasks.
Remind unit tests / tests (push) Successful in 37s
2024-12-31 15:26:18 -05:00
Dianne Skoll
213138a7b7
Split the "-ds" debug flag into "-ds" and "-dh"
...
-ds prints parsed expressions
-dh dumps hash-table statistics on exit.
2024-12-31 12:50:15 -05:00
Dianne Skoll
562cec3dc8
Mass-update copyright date to 2025.
2024-12-29 13:47:07 -05:00
Dianne Skoll
18b57d26b4
Properly detect and handle requests for multi-page --svg or --eps output.
Remind unit tests / tests (push) Successful in 42s
2024-12-26 09:38:05 -05:00
Dianne Skoll
c80d72f623
Add --weeks-per-page option.
Remind unit tests / tests (push) Successful in 44s
2024-12-25 13:29:51 -05:00
Dianne Skoll
2739a41651
If we ask for multiple weekly calendars, render then two weeks to a page.
2024-12-25 10:37:18 -05:00
Dianne Skoll
5a56f4c61b
Pass in index and total number of calendars to "render".
2024-12-25 10:00:21 -05:00
Dianne Skoll
77080ff600
Make copyright notices consistent.
Remind unit tests / tests (push) Successful in 37s
2024-12-24 20:02:08 -05:00
Dianne Skoll
c4aa21ff51
Remove unused functions.
2024-12-24 15:05:15 -05:00
Dianne Skoll
34c513ba3b
Add $CalType system variable.
2024-12-24 14:45:57 -05:00
Dianne Skoll
35c16a060a
Fix typo again.
Remind unit tests / tests (push) Successful in 1m26s
2024-12-24 13:20:19 -05:00
Dianne Skoll
69dedc577f
Fix typo
2024-12-24 13:19:28 -05:00
Dianne Skoll
a7d8f3c887
Support --verbose in weekly calendars
2024-12-24 13:18:19 -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
3e981fd8be
Convert README file to Markdown. That is what all the cool kids use.
Remind unit tests / tests (push) Successful in 33s
2024-12-19 10:20:35 -05:00
Dianne Skoll
7c530d3068
Remove unnecesary .gitignore entry
Remind unit tests / tests (push) Successful in 1m27s
2024-12-18 11:19:45 -05:00
Dianne Skoll
58f9cf641b
Remove some truly ancient docs.
2024-12-18 11:19:04 -05:00
Dianne Skoll
53906035fe
Warn if a POP-OMIT-CONTEXT matches a PUSH-OMIT-CONTEXT in a different file.
Remind unit tests / tests (push) Successful in 37s
2024-12-17 17:26:51 -05:00
Dianne Skoll
4804325863
Merge branch 'fix_typo' into 'master'
...
Fix typo
See merge request dskoll/remind!9
2024-12-17 15:29:09 +00:00
Jochen Sprickerhof
5f5e7054f4
Fix typo
2024-12-17 09:22:42 +01:00
Dianne Skoll
078dba1e98
Prepare for 05.02.01 release.
Remind unit tests / tests (push) Successful in 28s
2024-12-16 19:37:31 -05:00
Dianne Skoll
8ebec9584c
Fix incorrect comparison code.
2024-12-16 19:33:41 -05:00
Dianne Skoll
2504b39be2
Remove const qualifier.
Remind unit tests / tests (push) Successful in 32s
2024-12-16 17:10:45 -05:00
Dianne Skoll
e394f402f8
Set release date.
Remind unit tests / tests (push) Successful in 32s
2024-12-16 09:31:02 -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
Dianne Skoll
a19b009f7c
Fix man page typo and cppcheck warnings.
Remind unit tests / tests (push) Successful in 32s
2024-12-13 15:22:46 -05:00
Dianne Skoll
6373ae8ca5
Update release notes.
2024-12-13 15:08:54 -05:00
Dianne Skoll
b8c4786b33
Allow INCLUDE/DO/SYSINCLUDE to take a QuotedString argument. This allows for filenames with spaces in them.
2024-12-13 10:38:34 -05:00
Dianne Skoll
4e7cfc20ce
Make use of SYSINCLUDE.
Remind unit tests / tests (push) Successful in 32s
2024-12-13 08:28:14 -05:00
Dianne Skoll
0c9a35a584
Add SYSINCLUDE to release notes.
2024-12-13 08:22:43 -05:00
Dianne Skoll
5e333f6162
Add the SYSINCLUDE directive.
2024-12-13 08:18:22 -05:00
Dianne Skoll
af8b4e6df1
Add const qualifier on Sysvar.value.
Remind unit tests / tests (push) Successful in 44s
2024-12-12 20:27:54 -05:00
Dianne Skoll
3fa798523a
Document the difference between %(foo) and [_("foo")]
2024-12-12 16:56:38 -05:00
Dianne Skoll
53001f9fbc
Update WHATSNEW
2024-12-12 16:48:53 -05:00
Dianne Skoll
9cd76eae84
Fix typo
2024-12-12 16:47:34 -05:00
Dianne Skoll
c8295b6251
Convert files we ship to use %(foo) in place of [_("foo")]
2024-12-12 16:43:30 -05:00
Dianne Skoll
3c95245407
In the substitution filter, make %(foo) equivalent to [_("foo")]
2024-12-12 16:35:31 -05:00
Dianne Skoll
3362c7226c
Add regression test for commit 356b562d75
Remind unit tests / tests (push) Successful in 31s
2024-12-12 12:17:15 -05:00
Dianne Skoll
356b562d75
Fix logic error in resetting IF flags and Popfile interaction.
2024-12-12 12:14:29 -05:00
Dianne Skoll
6eebcdc39d
Handle error return from GetSysVar.
2024-12-12 11:58:27 -05:00
Dianne Skoll
5a80d63060
Add localization tests.
2024-12-12 11:55:07 -05:00
Dianne Skoll
c7ca1b4baa
Get rid of the DyamicFoo hacks and make most translatable variables live in the translation table.
2024-12-12 11:43:03 -05:00
Dianne Skoll
dc89a6fba9
Eliminate unnecessary test.
2024-12-12 10:12:50 -05:00
Dianne Skoll
f83fec5563
Add missing three Chinese New Year animals.
2024-12-12 09:55:30 -05:00
Dianne Skoll
9c38161430
Merge branch 'translation_de' into 'master'
...
Add German translations
See merge request dskoll/remind!8
2024-12-12 14:53:21 +00:00
Jochen Sprickerhof
68f5fe1d10
Add German translations
...
Based on nl.rem
2024-12-12 12:51:38 +01:00
Dianne Skoll
bc7c57e53b
Add another translation-propagation test.
Remind unit tests / tests (push) Successful in 27s
2024-12-11 20:10:11 -05:00
Dianne Skoll
88aacb3905
Get two-way propagation working properly.
2024-12-11 20:08:09 -05:00
Dianne Skoll
a894076bfc
Verify two-way correspondence between translation table and system variables.
2024-12-11 19:48:19 -05:00
Dianne Skoll
82e068fcca
Refactor SetSysVar.
2024-12-11 19:22:30 -05:00
Dianne Skoll
a119d97539
Make mapping between translatable system variables and TRANSLATE table table-driven.
2024-12-11 19:15:44 -05:00
Dianne Skoll
01afb63a3d
Sent translations with only the first month, in a multi-month (-pN) output.
2024-12-11 18:07:48 -05:00
Dianne Skoll
54fccabdfe
Escape the result of translation, in case a bad translation file includes HTML special characters.
2024-12-11 17:15:01 -05:00
Dianne Skoll
ba4d44664f
Clarify docs.
Remind unit tests / tests (push) Successful in 34s
2024-12-11 15:36:17 -05:00
Dianne Skoll
d76c5499b5
Document how translation table is passed to back-ends.
2024-12-11 15:35:31 -05:00
Dianne Skoll
84e8244e48
Use localized names for "Full Moon", etc.
2024-12-11 15:35:23 -05:00
Dianne Skoll
92a6115a5c
Send the translation table to back-ends.
2024-12-11 15:24:37 -05:00
Dianne Skoll
b98e336e9e
Tweak release notes.
2024-12-11 14:02:30 -05:00
Dianne Skoll
ffcd21446e
Update WHATSNEW
2024-12-11 13:55:23 -05:00
Dianne Skoll
af9ca68d99
Document the need for %-style escape sequences in translations to match those in the original message.
2024-12-11 13:42:49 -05:00
Dianne Skoll
71db7168a1
Increase update-for-changes delay to 250ms
2024-12-11 10:25:45 -05:00
Dianne Skoll
54f284c43f
Note that strlen returns number of bytes, not characters.
2024-12-11 09:45:40 -05:00
Dianne Skoll
0ab93f2dea
Guard against printf-style formatting attacks by malicious translation files.
2024-12-11 09:43:04 -05:00
Dianne Skoll
3d97f87bcd
Remove obsolet error messages
2024-12-11 09:33:31 -05:00
Dianne Skoll
dcfa6d8ef8
Add translation for No reminders.
Remind unit tests / tests (push) Successful in 33s
2024-12-10 19:59:00 -05:00
Dianne Skoll
52dd5332f4
Fix banner for Dutch translation.
2024-12-10 19:57:08 -05:00
Dianne Skoll
7b5fafe1ab
Document how _() looks for translations.
2024-12-10 19:48:26 -05:00
Dianne Skoll
929af71a10
Fix test.
2024-12-10 18:21:24 -05:00
Dianne Skoll
abf7c74ff2
When dumping translation table NOT to JSON, always start with LANGID
2024-12-10 18:20:48 -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
16ca2ade23
Clear out translations when we prepare to ask for new ones.
2024-12-10 17:09:25 -05:00
Dianne Skoll
d3e6c81a3a
Synthesize mixed-case translations.
2024-12-10 17:02:41 -05:00
Dianne Skoll
13ae49d3cd
Put LANGID near the top.
2024-12-10 15:35:53 -05:00
Dianne Skoll
78adc9f61d
Document how translators should use LANGID.
2024-12-10 15:33:22 -05:00
Dianne Skoll
a622d4fad4
Add LANGID translations to all language packs.
2024-12-10 15:27:41 -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
28e0599380
Get new translations if inotify says something has changed.
2024-12-10 15:05:48 -05:00
Dianne Skoll
87445f639c
Don't print the "" error message for translators.
2024-12-10 14:09:02 -05:00
Dianne Skoll
af6e159eaa
Refresh translations if they seem to have changed. :)
2024-12-10 13:32:50 -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
1781f84d84
Merely schedule an update when we get the translation table.
2024-12-10 12:24:53 -05:00
Dianne Skoll
ed6e65182e
Document JSONTRANSLATE daemon command.
2024-12-10 12:21:06 -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
1c81d4cae3
Add sunrise/sunset standard include file.
2024-12-10 11:38:57 -05:00
Dianne Skoll
56c684087b
Add Sunrise and Sunset translations.
2024-12-10 11:34:44 -05:00
Dianne Skoll
9500a929ea
Fix indentation.
2024-12-10 11:00:13 -05:00
Dianne Skoll
585d45e4a1
Completely remove support for compile-time localization.
...
All localization is now done at run-time.
2024-12-10 10:58:09 -05:00
Dianne Skoll
67d1d1366d
Add error message translations.
2024-12-10 10:39:13 -05:00
Dianne Skoll
f4018892e8
Be pickier about syntax.
2024-12-10 10:25:38 -05:00
Dianne Skoll
ffd309f89d
Add missing translations.
2024-12-09 23:28:10 -05:00
Dianne Skoll
286babc1bf
Avoid memory leak.
2024-12-09 23:23:39 -05:00
Dianne Skoll
cc3c0040e9
Fix comment.
Remind unit tests / tests (push) Successful in 28s
2024-12-09 23:21:53 -05:00
Dianne Skoll
b33a1ee98b
Better error message if we hit EOLN after TRANSLATE.
2024-12-09 23:19:48 -05:00
Dianne Skoll
99706741bb
Translate error messages in pl.rem
2024-12-09 23:04:52 -05:00
Dianne Skoll
df73a74503
Better colors (for me, at any rate...)
Remind unit tests / tests (push) Successful in 34s
2024-12-09 21:11:01 -05:00
Dianne Skoll
c747ebebb4
Don't escape high chars. :)
2024-12-09 20:55:26 -05:00
Dianne Skoll
6b412062c2
Dump translation table in a way that it can be re-ingested.
2024-12-09 20:53:44 -05:00
Dianne Skoll
27b688f82c
Highlight strings first.
2024-12-09 20:46:44 -05:00
Dianne Skoll
4c314ff81c
Add --print-errs and localize error messages in lang/fr.rem.
2024-12-09 20:40:41 -05:00
Dianne Skoll
d2955ec733
Fix solstice translation.
2024-12-09 20:15:37 -05:00
Dianne Skoll
480216db9e
Update test file
2024-12-09 20:08:46 -05:00
Dianne Skoll
9dbb0de7e6
Fix bug in ParseQuotedString
2024-12-09 20:07:29 -05:00
Dianne Skoll
9f9ae77895
Bound-check GetErr
2024-12-09 20:03:15 -05:00
Dianne Skoll
d9796e72e5
Allow error messages to be localized.
2024-12-09 19:55:23 -05:00
Dianne Skoll
e0b0d043c6
Add release notes
2024-12-09 19:09:37 -05:00
Dianne Skoll
fe4499ab72
Make comparison function also useful for ordering.
2024-12-09 18:39:49 -05:00
Dianne Skoll
e50d583659
Use case-sensitive hashing for dedup and translation hash tables.
2024-12-09 18:36:53 -05:00
Dianne Skoll
6b05d772f0
Exit if we run out of memory initializing hash tables. There's no sane way to recover.
2024-12-09 18:10:03 -05:00
Dianne Skoll
84dd73f023
Note connection between translation-related special variables and translation table.
2024-12-09 18:06:21 -05:00
Dianne Skoll
00dca8b70f
Bump version to 05.02.00.
2024-12-09 17:59:40 -05:00
Dianne Skoll
c4bc145cd9
Document the translation table.
2024-12-09 17:56:52 -05:00
Dianne Skoll
bd614c1cde
Make only one call to malloc() per XlateItem.
2024-12-09 17:07:58 -05:00
Dianne Skoll
1446ac0552
Make the output of "make test" considerably less verbose.
Remind unit tests / tests (push) Successful in 33s
2024-12-09 14:33:02 -05:00
Dianne Skoll
26ded447ab
Fix some translations.
2024-12-09 14:24:14 -05:00
Dianne Skoll
a4ccb0738e
Make Chinese New Year file translatable.
2024-12-09 14:20:27 -05:00
Dianne Skoll
27a1b449bd
Add new keywords and built-in function.
2024-12-09 14:14:29 -05:00
Dianne Skoll
1443282859
Add a whack more torture tests.
2024-12-09 14:09:40 -05:00
Dianne Skoll
4a2d707654
Properly handle deleting everything out of a hash table.
2024-12-09 13:59:41 -05:00
Dianne Skoll
fd2a61928c
Fix NL translation.
2024-12-09 13:32:21 -05:00
Dianne Skoll
a05d9eefc9
Make "SET $foo" also add a translation table entry if $foo is a dynamic translation variable.
2024-12-09 13:29:05 -05:00
Dianne Skoll
6f230e81bd
Add translations for moon phases and seasons.
2024-12-09 13:05:34 -05:00
Dianne Skoll
973019c4c7
Implement TRANSLATE keyword.
2024-12-09 12:56:40 -05:00
Dianne Skoll
cb712ad7e7
Replace the individual hash table implementations with a unified one.
2024-12-09 11:54:52 -05:00
Dianne Skoll
be7c67b6fd
Add ParseQuotedString function for eventually implementing TRANSLATE directive.
2024-12-08 11:54:49 -05:00
Dianne Skoll
a933c8bc69
Document that we don't read subdirectories when expanding *.rem.
Remind unit tests / tests (push) Successful in 31s
2024-12-06 20:21:09 -05:00
Dianne Skoll
087fbfd8e6
If a path returned by glob is a directory, ignore it.
2024-12-06 20:18:45 -05:00
Dianne Skoll
ff641d7990
Refuse to open directories.
2024-12-06 20:09:30 -05:00
Dianne Skoll
54e788b765
Make the sun functions return E_SWERR if BASE != 1990.
Remind unit tests / tests (push) Successful in 44s
2024-12-04 13:12:40 -05:00
Dianne Skoll
4283feff31
Change #error to #warning so cppcheck can analyze funcs.c
2024-12-04 13:10:03 -05:00
Dianne Skoll
062a84b758
Simplify HAS_DATE and HAS_TIME macros by making type values into bitmasks.
Remind unit tests / tests (push) Successful in 34s
2024-12-02 09:50:33 -05:00
Dianne Skoll
d161a8ff1a
Actually allow up to 9 levels of INCLUDE nesting.
Remind unit tests / tests (push) Successful in 42s
2024-11-30 23:03:09 -05:00
Dianne Skoll
0df4a79531
Use memcpy to copy omit contexts.
2024-11-30 22:42:40 -05:00
Dianne Skoll
1b26e39e2f
Update holidays as per recent commits to the Python library.
Remind unit tests / tests (push) Successful in 25s
2024-11-24 21:44:30 -05:00
Dianne Skoll
c63c4cf07e
Make token name const.
2024-11-19 22:59:47 -05:00
Dianne Skoll
586b3565f0
Sort token types.
2024-11-19 22:58:19 -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
Dianne Skoll
e8c779c785
Update to 05.01.01.
2024-11-18 10:44:08 -05:00
Dianne Skoll
96e076a13f
Prep for release.
2024-11-18 10:31:56 -05:00
Dianne Skoll
80d258621a
Merge branch 'fix_test' into 'master'
...
Fix `remind` call in test
See merge request dskoll/remind!7
2024-11-18 15:31:27 +00:00
Jochen Sprickerhof
ed6d35e418
Fix remind call in test
2024-11-18 16:28:18 +01:00
Dianne Skoll
9dca1840a1
Fix typo
Remind unit tests / tests (push) Failing after 30s
2024-11-16 20:54:40 -05:00
Dianne Skoll
f4ec23df90
Make uk a symlink to gb
Remind unit tests / tests (push) Failing after 28s
2024-11-16 09:17:02 -05:00
Dianne Skoll
a0536a8141
Fix paths to files in comments. Noted by Martin Ziemer.
Remind unit tests / tests (push) Failing after 29s
2024-11-15 09:19:17 -05:00
Dianne Skoll
553899127a
Diagnose redefinition of built-in functions by checking newname before oldname
Remind unit tests / tests (push) Failing after 30s
2024-11-14 22:27:54 -05:00
Dianne Skoll
73519889c7
Add UK Remembrance Day
Remind unit tests / tests (push) Failing after 29s
2024-11-14 11:21:57 -05:00
Dianne Skoll
54ac99abcc
Update WHATSNEW.
2024-11-14 10:42:44 -05:00
Dianne Skoll
0c1954bdf4
Bump version to 05.01.00
Remind unit tests / tests (push) Failing after 44s
2024-11-14 10:36:45 -05:00
Dianne Skoll
46e1b7386e
Don't allow FRENAME to attempt to rename a built-in function.
2024-11-14 10:17:33 -05:00
Dianne Skoll
cdf480112a
Clarify that the CHAR(8) hack strips out the backspace.
2024-11-14 10:07:33 -05:00
Dianne Skoll
ed38feee83
Add $DefaultDelta system variable.
Remind unit tests / tests (push) Failing after 27s
2024-11-13 22:00:42 -05:00
Dianne Skoll
d7f5582a45
Add a test for the msgsuffix char(8) hack.
2024-11-13 21:59:23 -05:00
Dianne Skoll
d042263d3d
Add note about advance warning for holiday files.
2024-11-13 21:56:34 -05:00
Dianne Skoll
f1591140d4
- Add $DefaultDelta system variable.
...
- Make FRENAME delete definition of newname if oldname is not defined.
- Document FRENAME, $DefaultDelta and the char(8) hack.
2024-11-13 21:45:54 -05:00
Dianne Skoll
1b41367163
Start work on supporting a $DefaultDelta special variable.
2024-11-13 18:54:42 -05:00
Dianne Skoll
6bdee7ef89
Fix typo.
Remind unit tests / tests (push) Failing after 31s
2024-11-13 18:02:21 -05:00
Dianne Skoll
d50b464314
Add hack: If msgsuffix() function value starts with '\b', put it BEFORE the newline in the substitution buffer.
2024-11-13 18:00:20 -05:00
Dianne Skoll
ad5dff1de7
Add tests for FRENAME
2024-11-13 17:49:31 -05:00
Dianne Skoll
ac9f32f044
Remove %"%" and deltas.
2024-11-13 17:32:10 -05:00
Dianne Skoll
e48d025f5d
Add FRENAME to token list.
2024-11-13 17:30:15 -05:00
Dianne Skoll
0f5de395ff
Add FRENAME command.
2024-11-13 17:29:32 -05:00
Dianne Skoll
406629144f
Make dedup hash table a prime number.
2024-11-13 14:09:58 -05:00
Dianne Skoll
36e4f52828
Update README.
2024-11-13 14:08:15 -05: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
342c229a57
Get dedup hash table stats; reduce slots to 32.
2024-11-12 21:56:27 -05:00
Dianne Skoll
52fc89ddc7
Fix typo
Remind unit tests / tests (push) Failing after 30s
2024-11-12 16:02:50 -05:00
Dianne Skoll
821e7a64c8
More dedupe documentation.
2024-11-12 16:00:01 -05:00
Dianne Skoll
8c3f7e092c
Clear dedupe table when queueing.
2024-11-12 10:35:25 -05:00
Dianne Skoll
6161214226
Add $DedupeReminders to emacs syntax highlighting.
2024-11-12 10:32:03 -05:00
Dianne Skoll
5b892eba8e
Clearify how $DedupeReminders works.
Remind unit tests / tests (push) Failing after 28s
2024-11-12 09:32:11 -05:00
Dianne Skoll
e0fde98410
Add $DedupeReminders global variable.
2024-11-12 09:26:31 -05:00
Dianne Skoll
aec17b3243
Add caveat note to ALL .rem files.
Remind unit tests / tests (push) Failing after 28s
2024-11-11 17:17:07 -05:00
Dianne Skoll
83009e765d
Direct people to read the README.
2024-11-11 17:12:40 -05:00
Dianne Skoll
42dc81132f
Add a README; move discordian.rem and pagan.rem to top-level
2024-11-11 17:10:33 -05:00
Dianne Skoll
51d8b7be39
Use datepart to strip time from soleq
2024-11-11 12:23:51 -05:00
Dianne Skoll
04cc3fd8dd
Add missing VN holiday.
2024-11-11 12:18:13 -05:00
Dianne Skoll
bd429d1450
Add Washington's Birthday for GA, IN
2024-11-11 12:11:49 -05:00
Dianne Skoll
57fa0bfb2e
Add missing Midsommardagen to se.rem
2024-11-11 11:59:08 -05:00
Dianne Skoll
bc7f92e3c0
Add missing SA holidays.
2024-11-11 11:53:26 -05:00
Dianne Skoll
67ab911d43
Add missing Phillipines holidays.
2024-11-11 11:51:34 -05:00
Dianne Skoll
43191fc6a3
Add missing Paraguay holidays.
2024-11-11 10:39:39 -05:00
Dianne Skoll
da1cc9137c
Add New Zealand subdivision files.
2024-11-11 10:27:46 -05:00
Dianne Skoll
1306195045
Add missing Mother's Day holiday for Madagascar.
2024-11-11 10:15:30 -05:00
Dianne Skoll
edb73548d6
Fix Laos bank holiday
2024-11-11 10:10:07 -05:00
Dianne Skoll
c143d554b7
Use Orthodox calendar for Christmas where appropriate.
Remind unit tests / tests (push) Failing after 30s
2024-11-10 22:29:30 -05:00
Dianne Skoll
c2dbf32dd6
Use orthodoxeaster() rather than easterdate() for countries
...
that observe Easter on that date.
2024-11-10 21:31:10 -05:00
Dianne Skoll
a0e32c715b
Add holidays courtesy of Michael DeBusk
2024-11-10 20:54:37 -05:00
Dianne Skoll
356e0044c4
Add missing Netherlands holidays.
2024-11-10 14:34:50 -05:00
Dianne Skoll
eea90b1aaa
Always put ADDOMIT before SCANFROM for consistency.
Remind unit tests / tests (push) Failing after 31s
2024-11-10 14:29:07 -05:00
Dianne Skoll
b2c5575849
Add missing Finnish holiday.
2024-11-10 14:26:04 -05:00
Dianne Skoll
7064d64b22
Add missing Ethiopian holidays.
2024-11-10 14:23:41 -05:00
Dianne Skoll
5783430fdd
Update Curacao holidays.
2024-11-10 14:16:49 -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
cbdc124355
Add spaces in CamelCase country names.
2024-11-10 11:41:40 -05:00
Dianne Skoll
40e60dd627
Add "# Optional holidays" comment before optional holiday blocks.
2024-11-10 11:23:10 -05:00
Dianne Skoll
e508bee0ed
Correct implementation of _move_holiday.
2024-11-10 11:04:16 -05:00
Dianne Skoll
0200be82ba
Sort cl.rem better.
2024-11-10 10:52:17 -05:00
Dianne Skoll
4c8b6e74d2
Fix the back-scanning logic for soleq
2024-11-10 10:47:29 -05:00
Dianne Skoll
bbdcf44102
Add Día Nacional de los Pueblos Indígenas
2024-11-10 10:45:04 -05:00
Dianne Skoll
02007a32fe
Don't add "substitute day" label.
2024-11-10 10:40:02 -05:00
Dianne Skoll
fd7c79b6b4
Fix typos.
2024-11-10 10:21:12 -05:00
Dianne Skoll
c8c2d5d32e
A few corrections from an updated conversion script from the Python library.
2024-11-10 10:18:43 -05:00
Dianne Skoll
4eafaaefeb
Add missing Cambodian holidays.
Remind unit tests / tests (push) Successful in 44s
2024-11-09 11:24:43 -05:00
Dianne Skoll
de6e387969
Add missing holidays.
2024-11-09 11:08:52 -05:00
Dianne Skoll
f8d1439fc8
Add some missing holidays.
2024-11-09 11:06:18 -05:00
Dianne Skoll
fd7079d7f8
Add missing Aruba holidays.
2024-11-09 10:55:29 -05:00
Dianne Skoll
1ccf1d236d
Add missing NL holidays.
2024-11-09 10:49:41 -05:00
Dianne Skoll
7041e2cad8
Avoid warnings.
Remind unit tests / tests (push) Successful in 25s
2024-11-08 20:46:19 -05:00
Dianne Skoll
b1b21e21b3
Untabify language files.
2024-11-08 20:42:00 -05:00
Dianne Skoll
533718b0a0
Massive whitespace cleanups: Untabify everything.
2024-11-08 20:30:13 -05:00
Dianne Skoll
4e75d1574c
Don't need MAYBE-UNCOMPUTABLE after all.
Remind unit tests / tests (push) Successful in 34s
2024-11-08 13:48:37 -05:00
Dianne Skoll
c94137e0b3
Change movable holiday logic.
2024-11-08 13:46:07 -05:00
Dianne Skoll
e49251cfb0
Yet more boxing day logic to fix.
2024-11-08 13:11:41 -05:00
Dianne Skoll
e3627e8ea3
Fix boxing day rules.
2024-11-08 13:08:34 -05:00
Dianne Skoll
2c1f44c9b9
Fix some offset-from-easter reminders.
2024-11-08 12:59:19 -05:00
Dianne Skoll
cce24634ae
Fix up the OMIT SAT SUN BEFORE... logic.
2024-11-08 12:51:22 -05:00
Dianne Skoll
e2435c34a9
Bump version to 05.00.08
2024-11-08 12:43:30 -05:00
Dianne Skoll
a70ba8d42c
Handle movable holidays to next/prior workday correctly.
2024-11-08 12:40:23 -05:00
Dianne Skoll
dea14be2d5
Add a whole whack of holiday files derived from the Python holidays project.
...
That project's repo is at https://github.com/vacanza/holidays
2024-11-08 12:06:49 -05:00
Dianne Skoll
6750a393f1
Add comment.
Remind unit tests / tests (push) Successful in 3m33s
2024-11-06 11:54:30 -05:00
Dianne Skoll
e18cd72791
Add Japanese holidays courtesy of Brandon Wilson.
2024-11-06 11:49:57 -05:00
Dianne Skoll
6e1dc7dcd7
Don't SET any variables in holiday files.
Remind unit tests / tests (push) Successful in 31s
2024-11-03 13:19:11 -05:00
Dianne Skoll
bf193250cc
Don't SET any variables in a holiday file.
2024-11-03 13:18:16 -05:00
Dianne Skoll
2c5eeb02f6
Merge branch 'holidays_de' into 'master'
...
Add German holidays
See merge request dskoll/remind!6
2024-11-03 17:54:47 +00:00
Jochen Sprickerhof
5cd343c27c
Add German holidays
2024-11-03 18:42:08 +01:00
Dianne Skoll
81b48b70c4
Change include policy so regional files do not include the country file.
2024-11-03 11:28:31 -05:00
Dianne Skoll
5e738020a7
Make a note about include ca.rem directly
Remind unit tests / tests (push) Successful in 32s
2024-11-02 18:03:18 -04:00
Dianne Skoll
7949341037
Split Canadian holidays by province.
2024-11-02 16:59:20 -04:00
Dianne Skoll
f4d8331456
Clarify invocation commandlines.
Remind unit tests / tests (push) Successful in 30s
2024-11-02 10:45:05 -04:00
Dianne Skoll
17beef5ce6
Use a much shorter static size for dynamic buffers.
...
Remind unit tests / tests (push) Successful in 32s
Most strings are pretty short.
2024-11-01 16:40:44 -04:00
Dianne Skoll
aaae80d02b
Update manual to reflect that iif() and choose() only evaluate arguments needed for the final result.
Remind unit tests / tests (push) Successful in 25s
2024-10-21 23:35:41 -04:00
Dianne Skoll
e97de16203
Clarify that arg of OMITFUNC must be a user-defined function.
Remind unit tests / tests (push) Successful in 27s
2024-10-21 08:58:36 -04:00
Dianne Skoll
d5e38ee3b4
Fix typo in test.rem.
Remind unit tests / tests (push) Successful in 28s
2024-10-18 11:26:41 -04:00
Dianne Skoll
11594aee2d
Rename configure.in to configure.ac to avoid autoreconf warning.
2024-10-18 11:21:41 -04:00
Dianne Skoll
711f0b6c69
Rename contrib/ical2rem-0.7.1 to contrib/ical2rem-0.8
Remind unit tests / tests (push) Successful in 29s
2024-10-17 15:29:15 -04:00
Dianne Skoll
87a8b9811d
Update to upstream 0.8.
2024-10-17 15:28:42 -04:00
Dianne Skoll
689b1d0e13
Rebuild src/config.h.in with autoreconf
Remind unit tests / tests (push) Successful in 30s
2024-10-17 13:19:53 -04:00
Dianne Skoll
a8650e888f
Add comment to AC_DEFINE_UNQUOTED
2024-10-17 13:17:44 -04:00
Dianne Skoll
dea2aed628
Update release notes.
Remind unit tests / tests (push) Successful in 32s
2024-10-16 13:23:04 -04:00
Dianne Skoll
5618b928e0
Add National Day for Truth and Reconciliation
2024-10-16 13:13:01 -04:00
Dianne Skoll
91187c4c60
Include Remind version in Options dialog.
2024-10-16 10:00:04 -04:00
Dianne Skoll
636ae8f21a
Include TkRemind version in title bar.
Remind unit tests / tests (push) Successful in 30s
2024-10-15 14:59:09 -04:00
Dianne Skoll
405398b226
Use % instead of @ for substitution to avoid possible autoconf conflicts.
2024-10-15 14:56:25 -04:00
Dianne Skoll
0df3a903b1
Remove useless comment.
2024-10-15 14:54:25 -04:00
Dianne Skoll
eac07d212c
Bump version to 05.00.07
Remind unit tests / tests (push) Successful in 29s
2024-10-15 11:55:40 -04:00
Dianne Skoll
96da3a6596
Add note about safety of eval remind --print-config-cmd
2024-10-15 11:22:42 -04:00
Dianne Skoll
94ef20d702
Make sure string is well-formed C
2024-10-15 11:18:16 -04:00
Dianne Skoll
c9c309e436
Document how to use --print-config-cmd
2024-10-15 10:36:55 -04:00
Dianne Skoll
52c973509b
Add --print-config-cmd long option.
2024-10-15 10:32:01 -04:00
Dianne Skoll
c192c580da
Fix permissions.
Remind unit tests / tests (push) Successful in 27s
2024-10-14 08:41:00 -04:00
Dianne Skoll
235e5ec1c7
Make ./configure generate tkremind from tkremind.in.
2024-10-14 08:40:05 -04:00
Dianne Skoll
3d30173f9a
Print version info in options window.
2024-10-14 08:36:44 -04:00
Dianne Skoll
8b0bbc9fb7
Remove obsolete comment.
Remind unit tests / tests (push) Successful in 28s
2024-10-13 10:35:33 -04:00
Dianne Skoll
c57d2fd52a
Tweak "astro" example.
2024-10-13 10:33:38 -04:00
Dianne Skoll
2970591187
Add a couple more examples.
Remind unit tests / tests (push) Successful in 31s
2024-10-12 12:47:17 -04:00
Dianne Skoll
23ec559ddf
Fix typo
2024-10-12 12:47:04 -04:00
Dianne Skoll
302bc5a5de
Make hash table sizes prime numbers instead of powers of two.
2024-10-12 10:24:22 -04:00
Dianne Skoll
950c0b3747
Use HashPJW for hasing user-defined function names and variable names.
Remind unit tests / tests (push) Successful in 26s
2024-10-12 10:17:50 -04:00
Dianne Skoll
ad382fea25
Print hash-table statistics with "-ds" debugging.
Remind unit tests / tests (push) Failing after 29s
2024-10-11 16:34:11 -04:00
Dianne Skoll
a66e855ca7
Remove dead code; remove unnecessary catch { ... }
2024-10-11 16:00:47 -04:00
Dianne Skoll
a1b814d6b1
Allow "hostname" to fail.
Remind unit tests / tests (push) Successful in 27s
2024-10-10 11:43:26 -04:00
Dianne Skoll
62030719bb
Set app name to tkremind.
Remind unit tests / tests (push) Successful in 30s
2024-10-02 11:08:17 -04:00
Dianne Skoll
985816dc32
Document that system notifications work if notify-send is installed.
2024-10-02 11:05:38 -04:00
Dianne Skoll
a131a53132
Fix typos.
2024-10-02 11:05:27 -04:00
Dianne Skoll
c5e723b6ac
Use "notify-send" if Tk < 9.0
2024-10-02 11:00:28 -04:00
Dianne Skoll
3fe2b88e65
Document "Use system notifications when issuing a reminder"
2024-10-02 09:26:11 -04:00
Dianne Skoll
54603090ee
Use "tk sysnotify" if we have it.
Remind unit tests / tests (push) Successful in 39s
2024-10-01 11:02:32 -04:00
Dianne Skoll
2514b3681f
Make tkremind work with Tcl/Tk 9.0.
Remind unit tests / tests (push) Successful in 35s
2024-09-30 11:40:03 -04:00
Dianne Skoll
0b7b101814
Accept Tk >= 8.5 including 9.0
2024-09-30 11:26:30 -04:00
Dianne Skoll
3ac1c622fd
Update ical2rem to upstream 0.7.1.
Remind unit tests / tests (push) Successful in 30s
2024-09-19 16:14:23 -04:00
Dianne Skoll
7878f6623c
Fix typo
Remind unit tests / tests (push) Successful in 35s
2024-09-16 14:48:57 -04:00
Dianne Skoll
00ad38e5fe
Put N_ERROR at the end.
2024-09-16 14:47:09 -04:00
Dianne Skoll
10ae0b0077
Add DEBUG +s test.
2024-09-16 14:43:37 -04:00
Dianne Skoll
e032f3315d
Mark a freshly-allocated node of type N_ERROR rather than N_FREE.
2024-09-16 14:41:30 -04:00
Dianne Skoll
a38fd95a90
Add guard against double-free of expr_node.
2024-09-16 14:39:26 -04:00
Dianne Skoll
9f7609b2c6
Fix typo. Sigh.
2024-09-16 09:48:50 -04:00
Dianne Skoll
a6c166ae0c
Update release notes.
Remind unit tests / tests (push) Successful in 36s
2024-09-16 09:41:12 -04:00
Dianne Skoll
e9c89b770f
Bump version to 05.00.06
2024-09-16 08:29:58 -04:00
Dianne Skoll
df6298bd63
Add test for $SuppressImplicitWarnings
Remind unit tests / tests (push) Successful in 1m15s
2024-09-15 16:59:46 -04:00
Dianne Skoll
739d285e36
Indent system variable dump better.
Remind unit tests / tests (push) Successful in 48s
2024-09-15 10:21:22 -04:00
Dianne Skoll
ee1c931932
Add $SuppressImplicitWarnings system variable.
...
This suppresses warnings about missing REM or MSG tokens.
2024-09-15 09:39:15 -04:00
Dianne Skoll
0806b6738f
Add test for time constants of the form '12:34'
Remind unit tests / tests (push) Successful in 41s
2024-09-13 13:07:49 -04:00
Dianne Skoll
020e82d575
Document that TIME constants may be surrounded by single quotes.
2024-09-13 13:06:57 -04:00
Dianne Skoll
a20f2b588e
Accept either 12:34 or '12:34' as a time constant.
2024-09-13 13:02:46 -04:00
Dianne Skoll
631e721a96
More helpful error if someone uses '...' around a TIME constant.
2024-09-13 12:46:38 -04:00
Dianne Skoll
8453e17c6c
Add a guard to avoid calling free(NULL)
Remind unit tests / tests (push) Successful in 29s
2024-09-12 11:50:11 -04:00
Dianne Skoll
76c1e2abb3
Avoid unnecessary double-initialization.
2024-09-12 11:38:59 -04:00
Dianne Skoll
3389f1c91b
Refactor init_token and token_error.
2024-09-12 10:58:35 -04:00
Dianne Skoll
b2d47ae979
Initialize token.val in a few places.
2024-09-12 10:51:00 -04:00
Dianne Skoll
e2c615f310
Fix comment.
2024-09-12 10:16:01 -04:00
Dianne Skoll
e8492a4303
Add Chinese New Year file.
2024-09-11 12:09:57 -04:00
Dianne Skoll
4695efaabd
Use DBG macro
Remind unit tests / tests (push) Failing after 28s
2024-09-11 11:53:07 -04:00
Dianne Skoll
c433f42587
Get rid of useless function.
2024-09-11 11:49:04 -04:00
Dianne Skoll
4708e59a43
No need to munch following whitespace.
2024-09-11 11:46:40 -04:00
Dianne Skoll
d56ac6332a
Use switch rather than if...else chains
Remind unit tests / tests (push) Successful in 33s
2024-09-11 11:37:30 -04:00
Dianne Skoll
b054baf590
Stricter tokenization of datetime
2024-09-11 09:01:52 -04:00
Dianne Skoll
42f5e3467d
Better error messages for ill-formed time.
2024-09-11 08:52:06 -04:00
Dianne Skoll
97013ae89b
Return T_Illegal with a negative tok.val if we can't parse a numeric token.
2024-09-11 08:45:31 -04:00
Dianne Skoll
2acead9118
Shorten error message.
Remind unit tests / tests (push) Successful in 29s
2024-09-10 16:25:00 -04:00
Dianne Skoll
a53a80acb4
Make error message more explicit.
2024-09-10 16:23:52 -04:00
Dianne Skoll
56e62b1b4d
More error checking of bad date specs.
2024-09-10 14:27:46 -04:00
Dianne Skoll
c645db5ede
Diagnose bad YYYY-MM-DD constants in REM command.
2024-09-10 14:09:52 -04:00
Dianne Skoll
ef6b9c3783
Better error message when a number that isn't recognized as a day number or year is encountered.
2024-09-10 13:57:34 -04:00
Dianne Skoll
019bee26cb
Start refactoring calendar code.
Remind unit tests / tests (push) Successful in 30s
2024-09-10 10:47:32 -04:00
Dianne Skoll
152cd4090b
Better error message.
Remind unit tests / tests (push) Successful in 28s
2024-09-09 17:01:56 -04:00
Dianne Skoll
b7fc2b5776
Tweak remind-conf-mode.el with new Remind keywords and better handling of comment lines.
2024-09-09 16:50:27 -04: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
8a5b88338b
Add --print-tokens long option to dump Remind tokens to stdout.
2024-09-08 10:29:49 -04:00
Dianne Skoll
7236441e02
Remove note saying REM can be omitted.
2024-09-08 10:26:07 -04:00
Dianne Skoll
e4bab0dda4
Be more explicit.
2024-09-08 09:57:52 -04:00
Dianne Skoll
5b7d4a07ec
More explicit error messages.
Remind unit tests / tests (push) Successful in 47s
2024-09-07 13:25:31 -04:00
Dianne Skoll
8c3d2c4003
More specific error message.
2024-09-07 13:14:31 -04:00
Dianne Skoll
f485d607ff
Fix error message.
2024-09-07 10:16:57 -04:00
Dianne Skoll
a0effa5f0b
Update keyword/variable/function list in remind-conf-mode.el.
2024-09-07 10:15:02 -04:00
Dianne Skoll
7d501cda6f
Update to ical2rem version 0.7.
Remind unit tests / tests (push) Successful in 31s
2024-09-05 12:44:17 -04:00
Dianne Skoll
5d7f55c8d5
Make error messages more consistent.
Remind unit tests / tests (push) Successful in 28s
2024-09-03 10:53:45 -04:00
Dianne Skoll
097bf92bea
Better error message.
2024-09-03 10:51:50 -04:00
Dianne Skoll
b9dea59206
Update changelog.
Remind unit tests / tests (push) Successful in 39s
2024-09-02 14:46:58 -04:00
Dianne Skoll
46aa144b65
Bump version to 05.00.05
2024-09-02 10:15:56 -04:00
Dianne Skoll
914971308d
Better error message.
Remind unit tests / tests (push) Successful in 30s
2024-09-01 23:42:29 -04:00
Dianne Skoll
a22e81040f
Check error return in a couple of spots.
2024-09-01 23:22:00 -04:00
Dianne Skoll
72f74f03cf
Check for errors.
2024-09-01 23:18:09 -04:00
Dianne Skoll
d0e45e727e
Don't print closing ] in error indicator.
Remind unit tests / tests (push) Successful in 31s
2024-09-01 22:39:49 -04:00
Dianne Skoll
ce2b2e80da
Remove unnecessary _h() function definition.
Remind unit tests / tests (push) Successful in 28s
2024-09-01 11:31:28 -04:00
Dianne Skoll
11771b7d3d
Better formatting of ^-- here message for expressions with embedded newlines
2024-09-01 11:27:34 -04:00
Dianne Skoll
01cb028532
Fix up tests to pass in September 2024.
2024-09-01 11:09:32 -04:00
Dianne Skoll
58b6f43b9c
Better diagnosis of wrong #args for builtin functions.
2024-09-01 09:03:26 -04:00
Dianne Skoll
1dedb667e8
Prevent a couple of file descriptor leaks.
Remind unit tests / tests (push) Successful in 28s
2024-08-31 09:06:05 -04:00
Dianne Skoll
8a96236788
Avoid warnings if REM_USE_WCHAR is undefined.
Remind unit tests / tests (push) Successful in 28s
2024-08-30 20:44:08 -04:00
Dianne Skoll
2a13163659
Fix some weird edge cases in text-mode calendar formatting.
Remind unit tests / tests (push) Successful in 28s
2024-08-29 13:25:36 -04:00
Dianne Skoll
336a9684d4
In calendar mode, SHADE the entire calendar box including day number.
Remind unit tests / tests (push) Successful in 29s
2024-08-29 08:50:57 -04:00
Dianne Skoll
86945c6e18
Remove incorrect test obsoleted by changes in 05.00.04.
2024-08-29 08:39:55 -04:00
Dianne Skoll
684280db5e
Remove "SCHED _sfun" and hard-code "+15" instead.
2024-08-29 08:15:10 -04:00
Dianne Skoll
d801408933
Update WHATSNEW.
2024-08-29 08:01:50 -04:00
Dianne Skoll
79b3da3820
Update man page.
Remind unit tests / tests (push) Successful in 27s
2024-08-28 20:43:27 -04:00
Dianne Skoll
ed021d3f46
Let IIF's boolean arg be any type... we use truthy().
2024-08-28 20:41:21 -04:00
Dianne Skoll
27d0fda280
Factor out truthy code from Fiif
2024-08-28 20:38:04 -04:00
Dianne Skoll
ef12da4ec6
Refactor out "truthy".
2024-08-28 20:36:30 -04:00
Dianne Skoll
7b098e95ad
Make error messages more consistent.
2024-08-28 18:21:35 -04:00
Dianne Skoll
7d13f4b09e
Better diagnostics when printing "Too many/few arguments" errors
2024-08-28 18:14:43 -04:00
Dianne Skoll
cecdfe6ade
Bump version to 05.00.04.
2024-08-28 18:00:50 -04:00
Dianne Skoll
216bbd6378
Fix the logic that recurses into user-defined functions.
2024-08-28 17:56:47 -04:00
Dianne Skoll
30e2e9c633
When looking at SATISFY expressions to make sure they use the trigger date, look recursively into user-defined functions in the expression also.
2024-08-28 17:49:12 -04:00
Dianne Skoll
bf2aabd610
Update release notes.
2024-08-28 15:42:23 -04:00
Dianne Skoll
c019221d15
Add diagnostics for missing/bad subst_XXX functions.
2024-08-28 15:15:34 -04:00
Dianne Skoll
b7bd6faf07
Warn if SCHED/WARN/OMITFUNC functions take wrong number of args.
2024-08-28 15:02:22 -04:00
Dianne Skoll
80d58220fe
In warnings, give file/lineno where function is defined.
2024-08-28 14:59:13 -04:00
Dianne Skoll
cd8624e176
Tweak diagnostic messages.
2024-08-28 14:35:49 -04:00
Dianne Skoll
8515fb7ddd
Update / clarify manual.
2024-08-28 14:28:34 -04:00
Dianne Skoll
84f9f4ae0a
Update tests.
2024-08-28 14:23:14 -04:00
Dianne Skoll
e201ebcfa4
Document that logical operators can take any type; add tests.
2024-08-28 14:22:07 -04:00
Dianne Skoll
4e15c3ec35
Remove an optimization that was interfering with expression debugging.
2024-08-28 14:21:44 -04:00
Dianne Skoll
1adccf9b1f
Add tests for SCHED/WARN/OMITFUNC functions that don't use their argument.
2024-08-28 13:54:47 -04:00
Dianne Skoll
a1aa5c2ad9
Change wording of warning slightly.
2024-08-28 13:54:40 -04:00
Dianne Skoll
1e0d650737
Fix tests.
2024-08-28 13:49:34 -04:00
Dianne Skoll
553d092ca8
Diagnost if WARN/SCHED/OMITFUNC functions don't reference their argument.
2024-08-28 13:49:17 -04:00
Dianne Skoll
dc62841517
Fix accidental broken commit. :(
2024-08-28 13:45:42 -04:00
Dianne Skoll
326e7bfc53
Document calendar back-end handling of %_
2024-08-28 13:23:54 -04:00
Dianne Skoll
b9dc7c16ad
Use /s modifier on regex.
2024-08-28 13:09:18 -04:00
Dianne Skoll
abd54b016b
Add tests for newlines in calendars.
2024-08-28 12:56:53 -04:00
Dianne Skoll
db02b54067
Collapse multiple whitespace; convert newlines to "<br />" in HTML output.
2024-08-28 12:52:39 -04:00
Dianne Skoll
40a78dfbbb
Collapse multiple newlines after all other processing.
2024-08-28 12:52:29 -04:00
Dianne Skoll
c860b46baa
Collapse multiple runs of whitespace
2024-08-28 12:52:07 -04:00
Dianne Skoll
1458ba8856
Clean up whitespace runs in rem2pdf.
Remind unit tests / tests (push) Successful in 45s
2024-08-28 10:44:41 -04:00
Dianne Skoll
7b9b6ebc96
Preserve %_ newlines in "-C" mode.
2024-08-28 10:14:06 -04:00
Dianne Skoll
7ee4073c7a
Document warning on function redefinitiion.
Remind unit tests / tests (push) Successful in 26s
2024-08-27 21:43:46 -04:00
Dianne Skoll
8c072cd9b6
Add a warning if a function is redefined.
2024-08-27 21:41:45 -04:00
Dianne Skoll
b794a45c3f
Add more SATISFY diagnostics.
Remind unit tests / tests (push) Successful in 34s
2024-08-27 15:02:11 -04:00
Dianne Skoll
98e491ed1d
Remove some left-over debugging code.
2024-08-27 15:01:59 -04:00
Dianne Skoll
c397cc06da
Rewrite code to avoid need to pass address of "mentioned" variable.
Remind unit tests / tests (push) Successful in 30s
2024-08-27 11:33:41 -04:00
Dianne Skoll
8616236b3c
Document that SATISFY clauses that don't mention trigdate are diagnosed.
2024-08-27 11:26:13 -04:00
Dianne Skoll
702704af1a
Make sure SATISFY expressions are either constant or mention trigdate.
2024-08-27 11:22:42 -04:00
Dianne Skoll
a0d1b19050
Fix typo in comment.
Remind unit tests / tests (push) Successful in 39s
2024-08-23 15:08:35 -04:00
Dianne Skoll
a5c8ae491c
Add test for diagnosing function definitions with too many arguments.
2024-08-23 15:05:24 -04:00
Dianne Skoll
b3cf741d15
Suppress warning in GCC 14.2.1. Patch courtesy of Emanuele Torre
Remind unit tests / tests (push) Successful in 38s
2024-08-23 07:44:36 -04:00
Dianne Skoll
0b28dde9c7
Add optional argument to ampm() to specify that hour should be zero-padded to two digits.
Remind unit tests / tests (push) Successful in 46s
2024-08-22 17:38:54 -04:00
Dianne Skoll
5a3980b5b8
Make note about intended use of defs.rem
2024-08-22 12:51:58 -04:00
Dianne Skoll
a8e33118d6
Suppress warnings.
2024-08-22 10:32:27 -04:00
Dianne Skoll
2223277f64
Fix many warnings.
2024-08-22 10:26:48 -04:00
Dianne Skoll
c72413e3c1
Fix up tests for previous commit.
Remind unit tests / tests (push) Successful in 29s
2024-08-21 15:10:28 -04:00
Dianne Skoll
fa1033db6f
Don't warn about assuming REM type if we've already warned about assuming "REM"
2024-08-21 15:09:41 -04:00
Dianne Skoll
61e3edd2ac
Add tests for new diagnostics.
2024-08-21 12:57:04 -04:00
Dianne Skoll
093c97ff91
Add tests for missing REM or missing MSG being diagnosed.
2024-08-21 12:50:51 -04:00
Dianne Skoll
6e64b175aa
Diagnose lines that are implicitly treated as REM lines.
...
Diagnose REM commands that are implicitly treated as having MSG type.
Properly start all lines that should start with REM, with REM.
2024-08-21 12:45:30 -04:00
Dianne Skoll
09dba4bc94
Clarify caching of INCLUDECMD output.
Remind unit tests / tests (push) Successful in 27s
2024-08-07 13:26:00 -04:00
Dianne Skoll
2e443ac5b7
Properly handle landscape mode in PostScript output.
Remind unit tests / tests (push) Successful in 28s
2024-08-04 08:04:56 -04:00
Dianne Skoll
59a8c88178
Use %%PageOrientation, not %%Orientation in DSC comments.
2024-08-04 07:55:55 -04:00
Dianne Skoll
40eab03d84
Add two ways to produce PostScript code: Using rem2ps or rem2pdf
Remind unit tests / tests (push) Successful in 28s
2024-08-01 12:27:33 -04:00
Dianne Skoll
e993bf59cf
Add support for Encapsulated PostScript to rem2pdf.
2024-08-01 09:57:16 -04:00
Dianne Skoll
c6de5a2c8f
Add support for producing PostScript to rem2pdf.
2024-08-01 09:40:29 -04:00
Dianne Skoll
51cc939d0c
Suppress a couple of cppcheck warnings.
Remind unit tests / tests (push) Successful in 30s
2024-07-30 15:17:13 -04:00
Dianne Skoll
c857192e6d
Change the man page to remove statements that are no longer true (since the new expression-evaluation code in 05.00.00.)
Remind unit tests / tests (push) Successful in 27s
2024-07-27 08:51:00 -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
7843a1b2ba
Fix typo: .RP should be .PP
2024-07-26 08:18:33 -04:00
Dianne Skoll
649481cf01
Bump version to 05.00.02
2024-07-26 07:56:50 -04:00
Dianne Skoll
c253bdfcbe
Update release date.
2024-07-26 07:54:21 -04:00
Dianne Skoll
1910808fd7
Update WHATSNEW
2024-07-10 14:04:06 -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
e3f9380fcd
Allow ONCE to be used if input is stdin, as long as $OnceFile is set.
...
Clarify documentation.
2024-07-10 09:32:05 -04:00
Dianne Skoll
326c3f59b0
Make tests pass on any day, not just 2024-07-09. :)
2024-07-10 09:23:21 -04:00
Dianne Skoll
03f1c5a047
Fix typo
2024-07-09 09:36:52 -04:00
Dianne Skoll
02122491c3
Add test to ensure we warn if we try to set $OnceFile to something else after a ONCE has been seen.
2024-07-09 09:33:58 -04:00
Dianne Skoll
735f6f5686
Ignore attempts to set $OnceFile to the value it already has.
2024-07-09 09:33:02 -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
e2185e773a
Add warning if someone attempts to create a multi-page SVG calendar.
2024-07-05 16:57:18 -04:00
Dianne Skoll
d9ae417e01
Fix typo
2024-07-05 14:22:55 -04:00
Dianne Skoll
e1d0948538
Update doc.
2024-07-05 14:22:16 -04:00
Dianne Skoll
357ddf285a
Add --svg option to rem2pdf to produce SVG instead of PDF output.
2024-07-05 14:18:29 -04:00
Dianne Skoll
41859fc484
Remove some unused definitions; use symbolic value for sort initializer.
2024-07-04 16:58:41 -04:00
Dianne Skoll
07275e71b0
Remove obsolete definitions.
2024-07-04 13:13:27 -04:00
Dianne Skoll
f68521cb95
Fix spacing.
2024-07-04 13:09:21 -04:00
Dianne Skoll
526610bdd2
Stop parsing user func early if possible.
2024-07-02 09:16:47 -04:00
Dianne Skoll
973e3448ae
Fix typo in comment.
2024-07-02 07:58:24 -04:00
Dianne Skoll
9a3f28f6fc
Optimize storage of short string constants in expr_node objects.
2024-06-12 10:19:27 -04:00
Dianne Skoll
a3e32d2dc4
Update changelog.
2024-06-08 10:57:38 -04:00
Dianne Skoll
a8b78eff00
Add a few more tests.
2024-06-08 09:20:48 -04:00
Dianne Skoll
460db83298
Bump version to 05.00.01
2024-06-08 09:18:42 -04:00
Dianne Skoll
4560712778
Fix a couple of potential memory leaks.
2024-06-07 21:27:24 -04:00
Dianne Skoll
ce8803dde9
The zero-argument form of weekno() is not constant.
2024-06-07 21:22:32 -04:00
Dianne Skoll
60ca5d45e3
Convert "isany" to short-circuit evaluation.
2024-06-07 15:55:12 -04:00
Dianne Skoll
4454613d00
Fix typo
2024-06-06 12:51:02 -04:00
Dianne Skoll
0704808500
Don't rely on newer C feature that allows anonymous parameters
2024-06-06 12:48:44 -04:00
Dianne Skoll
166b1ac499
Only reset alarm if expression time limit was set
2024-06-06 11:47:39 -04:00
Dianne Skoll
e33bf4e80a
Explicitly set sa_flags in sigaction.
2024-06-06 10:42:04 -04:00
Dianne Skoll
b3af44d212
Update docs/WHATSNEW for 05.00.00 release.
2024-06-06 10:28:38 -04:00
Dianne Skoll
1e753d5209
Preserve variables needed across iterations.
2024-06-05 15:08:12 -04:00
Dianne Skoll
4bf31005ea
Better error location in a couple more cases.
2024-06-05 09:15:10 -04:00
Dianne Skoll
7c86bc910a
Better diagnostics of unmatched IFs
2024-06-05 09:08:04 -04:00
Dianne Skoll
4f146a99a9
Simplify Eprint logic.
2024-06-04 21:10:17 -04:00
Dianne Skoll
a6a638e0e6
Add test for UNMATCHED PUSH
2024-06-04 16:27:23 -04:00
Dianne Skoll
325814f5e1
Print the location of unmatched PUSH
2024-06-04 16:25:14 -04:00
Dianne Skoll
5c4ea7d09e
Allow "configure" to work, haha.
2024-06-04 12:02:54 -04:00
Dianne Skoll
2bf73987ac
Don't need to flush unless we're about to print.
2024-06-04 11:56:05 -04:00
Dianne Skoll
3e9eeea8dc
Update docs; kill time-limiter when we queue.
2024-06-04 11:51:27 -04:00
Dianne Skoll
d164d72c1c
Update test file
2024-06-04 09:02:50 -04:00
Dianne Skoll
632cee62d9
Don't permit unary-minus overflow.
2024-06-04 09:02:26 -04:00
Dianne Skoll
7a40260f0d
Add some expression evaluation tests.
2024-06-04 08:37:19 -04:00
Dianne Skoll
09f043b3de
Don't print bytes allocated --- makes test output differ on different architectures.
2024-06-04 07:32:53 -04:00
Dianne Skoll
c0341c8ba3
Fix typo.
2024-06-03 21:54:12 -04:00
Dianne Skoll
850c717803
Handle unary '+' properly.
2024-06-03 20:20:54 -04:00
Dianne Skoll
f13f9e18bd
Somewhat better error reporting.
2024-06-03 20:14:11 -04:00
Dianne Skoll
8bdca0d684
More code refactoring.
2024-06-03 19:49:36 -04:00
Dianne Skoll
129bf5612e
Refactor some code.
2024-06-03 19:43:28 -04:00
Dianne Skoll
829962fae1
We don't need to check for excessive parse depth if we're not at the high water mark.
2024-06-03 19:35:42 -04:00
Dianne Skoll
c5f9ed8541
Fix logic error
2024-06-03 18:04:10 -04:00
Dianne Skoll
4a7cef4644
Better error diagnostics.
2024-06-03 18:02:19 -04:00
Dianne Skoll
0e010b56ec
Fix some error messages.
2024-06-03 17:59:11 -04:00
Dianne Skoll
ee179ee2f5
Suppress duplicate call frames.
2024-06-03 17:47:38 -04:00
Dianne Skoll
e28712cef3
Add "s" to list of debug flags.
2024-06-03 16:16:44 -04:00
Dianne Skoll
8f0a2a7e79
Limit parse high-water to 2000
2024-06-03 15:15:58 -04:00
Dianne Skoll
ef23bba77f
Track parse level high-water mark.
2024-06-03 15:13:32 -04:00
Dianne Skoll
602086ae2d
Make "-ds" show built-in functions with ucfirst and user-defined ones all lower-case.
2024-06-03 14:56:32 -04:00
Dianne Skoll
f5a170acbd
Update man page.
2024-06-03 11:58:37 -04:00
Dianne Skoll
8125b96f0b
Add --max-excution-time cmdline option.
2024-06-03 10:40:58 -04:00
Dianne Skoll
0bb7d89bb9
Update man page.
2024-06-03 10:14:36 -04:00
Dianne Skoll
eb109bbbc0
Finish commenting expr.c
2024-06-03 10:01:38 -04:00
Dianne Skoll
1a0809fd31
Start updating man page.
2024-06-02 23:23:06 -04:00
Dianne Skoll
09625b9d68
More docs
2024-06-02 23:07:49 -04:00
Dianne Skoll
4e164c4268
More comments.
2024-06-02 21:08:04 -04:00
Dianne Skoll
691185f22c
Update test file so tests pass.
2024-06-02 20:50:34 -04:00
Dianne Skoll
a8bfb41a9e
Add $ExpressionTimeLimit system variable.
2024-06-02 14:01:17 -04:00
Dianne Skoll
fafb30db05
Add --max-execution-time option
2024-06-02 12:56:46 -04:00
Dianne Skoll
243e816523
Add translated error messages
2024-06-02 12:43:32 -04:00
Dianne Skoll
b49c0f52bd
Implement EXPR ON and EXPR OFF
2024-06-02 12:39:00 -04:00
Dianne Skoll
07fca94a7f
Properly handle purging of SCANFROM reminders.
2024-06-02 12:07:12 -04:00
Dianne Skoll
73917ee537
Only set nonconst_expr in purge mode in a couple of cases.
2024-06-02 12:02:29 -04:00
Dianne Skoll
76f9edecf6
Don't purge reminders with a SCANFROM clause.
2024-06-02 10:36:21 -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
c2b53f95a4
Remove dead code
2024-06-02 10:23:24 -04:00
Dianne Skoll
caef8b80d6
Make it easier to match error messages to error constants.
2024-06-02 10:00:04 -04:00
Dianne Skoll
5e016768af
More comments.
2024-06-02 09:46:53 -04:00
Dianne Skoll
ee08ce98d7
More comments.
2024-06-01 23:33:33 -04:00
Dianne Skoll
581bd95838
Allow placing a literal [ in a reminder by using [[
2024-06-01 18:46:17 -04:00
Dianne Skoll
bb92dab1ab
More docs.
2024-06-01 16:44:37 -04:00
Dianne Skoll
83b5c52c76
Make parse_expr_token much any following whitespace to replicate prior behavior.
...
There may be other parts of the code that rely on this.
2024-06-01 16:35:20 -04:00
Dianne Skoll
93eca25141
Fix spurious "Missing ']'" error reported by Jochen Sprickerhof
2024-06-01 16:30:48 -04:00
Dianne Skoll
34421cb10e
Don't funset the Jewish holiday functions.
2024-06-01 14:08:48 -04:00
Dianne Skoll
29b87898aa
Add some ASCII art
2024-06-01 14:00:39 -04:00
Dianne Skoll
e9e4db94bd
More comments
2024-06-01 13:44:21 -04:00
Dianne Skoll
c95ad0261a
Start adding comments; do not distinguish between N_BINARY_OPERATOR and N_UNARY_OPERATOR
2024-06-01 13:37:58 -04:00
Dianne Skoll
7fef456483
Don't allocate - nodes if we don't need to
2024-06-01 13:23:52 -04:00
Dianne Skoll
386131e74d
Show bytes used for expression notes.
2024-06-01 09:45:37 -04:00
Dianne Skoll
824d3c88f1
Store at most 5 function args on stack. Any more and we malloc.
2024-06-01 09:41:26 -04:00
Dianne Skoll
18a206abd2
Store args on stack if possible.
2024-06-01 09:30:42 -04:00
Dianne Skoll
8dbae776c9
Fix SEGV.
2024-06-01 09:27:27 -04:00
Dianne Skoll
b78702cc53
Assume all function names are lower-case.
2024-06-01 08:46:27 -04:00
Dianne Skoll
d2b43605ad
Completely revamp expression engine.
2024-06-01 08:19:12 -04:00
Dianne Skoll
7728e09337
Don't allow duplicate arg names in function definitions.
2024-06-01 08:19:09 -04:00
Dianne Skoll
2666353ce6
Put an include guard around auto.rem
2024-06-01 08:19:08 -04:00
Dianne Skoll
0b8a306483
Disable CI for "wip" branches.
2024-06-01 08:19:08 -04:00
Dianne Skoll
b51a0b2d08
Document that -ivar is the same as -ivar=0
2024-05-25 10:26:00 -04:00
Dianne Skoll
959355b19c
Stricter parsing of '-i' option.
2024-05-25 09:36:33 -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
dac337a65b
Convert all leading spaces to tabs. Per Tim Chase.
2024-05-01 09:48:59 -04:00
Dianne Skoll
98739dfdbc
Replace spaces with tab (per Emanuele Torre)
...
Because different invisible things are different.
2024-05-01 09:11:19 -04:00
Dianne Skoll
17b7a1ea84
Fix typo
2024-04-29 17:13:52 -04:00
Dianne Skoll
4d45925758
Fix typo
2024-04-29 16:18:49 -04:00
Dianne Skoll
8cadb23f48
Update release notes.
2024-04-29 16:16:42 -04:00
Dianne Skoll
63211b65c2
Bump version to 04.03.07
2024-04-22 14:55:47 -04:00
Dianne Skoll
1be84525b1
Don't rely on behavior of "%" with negative args.
2024-04-22 09:57:32 -04:00
Dianne Skoll
67ae95a464
Make sure shellescape() does not mangle UTF-8 characters.
2024-04-22 09:50:17 -04:00
Dianne Skoll
c03a95ad94
Use built-in versions of strdup, strcasecmp and strncasecmp instead of writing our own.
2024-04-21 14:44:24 -04:00
Dianne Skoll
51aa7aecb9
Make $Tt a synonym for trigtime()
2024-04-20 11:50:39 -04:00
Dianne Skoll
592cfe5a20
Use "uint32_t" if we have <stdint.h> for MD5 code.
2024-04-20 10:50:44 -04:00
Dianne Skoll
b4cf15e73e
Remove some unused autoconf cruft.
2024-04-20 10:45:22 -04:00
Dianne Skoll
862e143372
Ugh, forgot to regen ./configure.
2024-04-20 10:40:06 -04:00
Dianne Skoll
1f10ca49ad
Pass proper args to AC_INIT; include Remind home page in usage output.
2024-04-20 10:39:12 -04:00
Dianne Skoll
4a0c4ffdca
Add a test to ensure we don't save trigger time while parsing.
2024-04-18 23:48:30 -04:00
Dianne Skoll
27c8737f3a
Only save trigger date when computing it, not while parsing.
2024-04-18 23:41:47 -04:00
Dianne Skoll
ecf45fc453
Add tests for commit 0a1178cfd7: Don't clear out last trigger time unnecessarily.
2024-04-18 18:32:38 -04:00
Dianne Skoll
0a1178cfd7
Don't clear out last trigger time unnecessarily.
2024-04-18 17:56:49 -04:00
Dianne Skoll
20a35dc627
Put the tabbed notebook blurb after the blurb about obtaining default settings.
2024-04-10 09:44:40 -04:00
Dianne Skoll
79887c06f0
Tweak wording.
2024-04-10 09:43:13 -04:00
Dianne Skoll
f7ff424904
Remove debugging line.
2024-04-04 13:43:44 -04:00
Dianne Skoll
6678721fe3
Make build.tk add a little note if it obtained default settings from an existing Remind installation.
2024-04-04 13:42:31 -04:00
Dianne Skoll
496302097b
Add a missing release note... sigh.
2024-04-02 09:13:59 -04:00