Dianne Skoll
|
5fbf1d82e4
|
Remove duplicated line.
|
2024-03-22 11:23:04 -04:00 |
|
Dianne Skoll
|
55eb3ebe95
|
Add multitrig built-in function which is how trig() should originally have been done.
|
2024-03-22 11:21:26 -04:00 |
|
Dianne Skoll
|
95523c8f10
|
Convert cosd() function into a macro.
|
2024-03-19 16:26:07 -04:00 |
|
Dianne Skoll
|
61fcc1b275
|
Add "s" debugging flag to see expression-parsing stack high-water marks.
Reduce default value stack size from 1000 to 100.
|
2024-03-13 12:06:55 -04:00 |
|
Dianne Skoll
|
6b798d5f7c
|
Allow arg to easterdate() and orthodoxeaster() to be omitted, defaulting it to today().
|
2024-02-26 17:19:22 -05:00 |
|
Dianne Skoll
|
72d10178bf
|
Mass-update copyright year to 2024.
|
2023-12-31 12:05:03 -05:00 |
|
Dianne Skoll
|
6e53fd6924
|
Refactor code: Replace SystemTime(x)/60 with MinutesPastMidnight(x)
|
2023-12-09 10:41:03 -05:00 |
|
Dianne Skoll
|
f7bb91320c
|
Return an error rather than (DATETIME) -1 if soleq fails
|
2023-10-08 11:58:28 -04:00 |
|
Dianne Skoll
|
c11071a859
|
Undo fixes - the problem is with mktime on 32-bit systems.
Remove tests that break on 32-bit systems.
|
2023-10-08 11:49:44 -04:00 |
|
Dianne Skoll
|
53cbcc22db
|
Fix typo
|
2023-10-08 11:35:06 -04:00 |
|
Dianne Skoll
|
af9dcec3e9
|
Use "long long" for 32-bit systems.
|
2023-10-08 11:34:10 -04:00 |
|
Dianne Skoll
|
734cc61489
|
Better logic for checking if we should close TTY fd.
|
2023-10-02 23:07:34 -04:00 |
|
Dianne Skoll
|
cf0d958da5
|
Add optional "step" parameter to slide() to match nonomitted().
|
2023-07-23 14:43:13 -04:00 |
|
Dianne Skoll
|
1baa6dab0c
|
Updates to nomomitted:
o Add optional "step" argument
o If start > end, swap the first two arguments
o Update man page and tests
|
2023-07-15 13:04:47 -04:00 |
|
Dianne Skoll
|
11375729db
|
Remove unnecessary #include.
|
2023-03-19 09:43:57 -04:00 |
|
Dianne Skoll
|
d4a183f3bf
|
Add htmlstriptags function.
|
2023-03-02 11:40:03 -05:00 |
|
Dianne Skoll
|
87e392de6c
|
Check for E_NOMEM conditions.
|
2023-03-02 09:43:56 -05:00 |
|
Dianne Skoll
|
afc1667e64
|
Implement htmlescape() built-in function.
|
2023-03-02 09:39:14 -05:00 |
|
Dianne Skoll
|
f1aa4d16af
|
Test for v == INT_MIN on entry to FAbs.
|
2023-02-09 08:51:20 -05:00 |
|
Dianne Skoll
|
18f21693af
|
Clean up some warnings from cppcheck static analyzer.
|
2023-02-07 10:28:02 -05:00 |
|
Dianne Skoll
|
d1384a8f69
|
Add #include <fcntl.h> to funcs.c.
Reported by Zoltan Puskas; see https://bugs.gentoo.org/889318
|
2023-01-20 08:15:30 -05:00 |
|
Dianne Skoll
|
df8694a128
|
Add orthodoxeaster function.
|
2023-01-09 15:12:18 -05:00 |
|
Dianne Skoll
|
2f196e3c9f
|
Update copyright year. :)
|
2022-12-30 13:43:28 -05:00 |
|
Dianne Skoll
|
0cea410529
|
Add a bunch of: "SPDX-License-Identifier: GPL-2.0-only" comments.
|
2022-12-26 14:24:33 -05:00 |
|
Dianne Skoll
|
90397ece64
|
Mark soleq as non-constant.
|
2022-12-26 11:54:24 -05:00 |
|
Dianne Skoll
|
924fd16ade
|
More pleaseing alignment. :)
|
2022-12-23 17:07:54 -05:00 |
|
Dianne Skoll
|
a1eafb2c89
|
Add NOQUEUE modifier; reverse order of args to soleq and make second arg optional (defaults to today())
|
2022-12-23 11:04:18 -05:00 |
|
Dianne Skoll
|
af88e393f9
|
Reverse oreder of soleq args.
|
2022-12-23 10:56:13 -05:00 |
|
Dianne Skoll
|
d651ac40a8
|
Update comments.
|
2022-12-22 22:01:54 -05:00 |
|
Dianne Skoll
|
e5c6703eaa
|
Add function for solstice/equinox calculations.
|
2022-12-22 21:44:49 -05:00 |
|
Dianne Skoll
|
4aacf74e25
|
More renaming of jul -> dse
|
2022-12-21 13:35:12 -05:00 |
|
Dianne Skoll
|
387125d983
|
Start fixing terminology: Julian becomes DSE
Remind's so-called "Julian" date is not a true Julian date.
It's really the number of days since the Remind Epoch, so rename
to DSE (Days Since Epoch)
|
2022-12-21 13:14:00 -05:00 |
|
Dianne Skoll
|
8ada68ce54
|
Add the "columns(str)" variant.
|
2022-10-11 13:18:44 -04:00 |
|
Dianne Skoll
|
b42d5fd412
|
Add rows() and columns() built-in function.
|
2022-10-11 11:52:35 -04:00 |
|
Dianne Skoll
|
e0998a3991
|
Implement trigtags()
|
2022-10-09 21:31:24 -04:00 |
|
Dianne Skoll
|
7218d55f08
|
Add $TerminalBackground special variable.
|
2022-10-09 12:40:48 -04:00 |
|
Dianne Skoll
|
a24c2f6905
|
Refactor code.
|
2022-10-05 16:36:08 -04:00 |
|
Dianne Skoll
|
fac31a10b8
|
Add the timezone() built-in function.
|
2022-10-05 16:28:38 -04:00 |
|
Dianne Skoll
|
fba9f139ed
|
Add global OMIT of the form:
OMIT wkday [wkday...]
For example: OMIT Saturday Sunday
|
2022-10-05 14:12:53 -04:00 |
|
Dianne Skoll
|
805c2e0c69
|
Implement the utctolocal and localtoutc functions.
|
2022-10-04 16:23:45 -04:00 |
|
Dianne Skoll
|
d838c41bf2
|
Add tests for stdout() function.
|
2022-09-16 14:14:06 -04:00 |
|
Dianne Skoll
|
9488e7ca13
|
Don't let pad function make over-long strings.
|
2022-03-25 11:08:43 -04:00 |
|
Dianne Skoll
|
570ca857a0
|
Add "pad" function; make compare-language-mods.pl quiet.
|
2022-03-24 17:31:37 -04:00 |
|
Dianne Skoll
|
878ab1a8bc
|
Fix a bunch of spelling mistakes found by Jens Schleusener
|
2022-03-15 14:40:46 -04:00 |
|
Dianne Skoll
|
4d17494371
|
Bump copyright date.
|
2022-03-14 21:12:20 -04:00 |
|
Dianne Skoll
|
61d665ef7d
|
Turn a bunch of Eprint calls into Wprint calls to indicate warnings instead of errors.
|
2022-03-12 10:27:58 -05:00 |
|
Dianne Skoll
|
ff8c55b8b6
|
Rename "wouldtrig" to just "trig"
|
2022-03-04 15:38:07 -05:00 |
|
Dianne Skoll
|
eb36c5bca0
|
Allow wouldtrig() to take an arbitrary number of args; document it.
|
2022-03-04 15:24:52 -05:00 |
|
Dianne Skoll
|
89173ce1ee
|
Allow logical operators to accept any non-string operands.
Make wouldtrig() return a date.
|
2022-03-04 14:59:17 -05:00 |
|
Dianne Skoll
|
7e3adeb9c9
|
Make wouldtrig return the trigger date (as an INT, coercable to a date)
Update man page.
|
2022-03-04 12:28:13 -05:00 |
|