Dianne Skoll
|
f5dbba3864
|
Use our StrDup function.
|
2025-10-18 14:23:14 -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
|
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
|
a22b0b8daf
|
Silence cppcheck warning.
|
2025-10-12 22:49:16 -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
|
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
|
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
|
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
|
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
|
dfe1834c75
|
Nicer readline prompts.
|
2025-10-07 23:38:12 -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
|
18c3e0fe2e
|
Handle failure path better.
|
2025-10-07 20:33:46 -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
|
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
|
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
|
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
|
3083142753
|
Don't set up an inotify descriptor in non-daemon mode.
|
2025-09-30 16:41:16 -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
|
9f139b0d02
|
More readable code.
|
2025-09-27 10:03:59 -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
|
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
|
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
|
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
|
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
|
804cf14a78
|
Implement --max-expr-complexity
|
2025-09-11 11:11:11 -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 |
|