Jacqueline Garrahan and Claude Opus 4.8
da3ee4fef6
iocsh: fix inverted parse test in 'on error wait <delay>'
...
epicsParseDouble returns 0 on success and non-zero on failure, but the
branches were swapped: a valid delay printed "Invalid 'on error wait'
delay" and the usage text, while an invalid delay was silently accepted
with timeout forced to 5.0. Report the error on parse failure and accept
the value on success.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-10-14 11:19:42 +02:00
Simon Rose
9cdd14d47d
Remove errlogBufResize in favour of allowing errlogInit[2] to be called repeatedly
2026-10-13 10:22:47 +02:00
Simon Rose
0e0a815e7c
Update the error log functionality to avoid losing writes
2026-10-13 10:22:15 +02:00
Simon Rose
9b835a1fdb
Add command to show errlog buffer contents
2026-10-13 10:21:59 +02:00
Simon Rose
d3ff8dca3f
Add commandline utility to resize buffer after being initialised
2026-10-13 10:21:35 +02:00
Simon Rose
53a3e4b694
Modify errorlog initialisation to add separate default value
2026-10-13 10:20:50 +02:00
zimoch
d6df659acf
Merge commit '631c8831b942ee5533a2f7016085dcef52c2f3ba' into PSI-7.0
...
Merge latest 7.0 until before records are modified
2026-10-13 10:15:50 +02:00
zimoch
15ba5ed863
Merge branch '7.0' into PSI-7.0
2026-09-28 09:39:12 +02:00
Michael Davidsaver
e181517de1
readline history, clear before append
...
read_history() appends to the global history array.
Clear before each read to prevent duplication.
2026-04-01 10:01:54 -05:00
Michael Davidsaver
4dfd5c7694
skip readline interactive setup when not interactive
2026-04-01 10:01:54 -05:00
zimoch
db693d4930
enable trim_trailing_whitespace
2026-02-18 10:34:08 -06:00
zimoch
8c9dd71f6e
Fix gcc warning 'stringop-truncation'
2026-02-18 10:06:26 -06:00
zimoch
b5f73d8200
Merge branch '7.0' into PSI-7.0
2026-01-27 15:17:04 +01:00
Michael Davidsaver
d724461f1c
doc: remove @page directions
...
readthedocs build does not include these.
2026-01-21 09:55:13 -06:00
zimoch
9748cbd394
Fix gcc warning 'stringop-truncation'
2026-01-09 12:05:07 +01:00
zimoch
3d95dece6b
Merge 7.0.10 into PSI-7.0
2026-01-06 14:57:16 +01:00
zimoch
6d85a36397
remove needless pointer casts
2025-12-17 16:34:58 -08:00
Andrew Johnson
3f24e1800e
Replace UNRELEASED => 7.0.10
2025-12-15 16:39:00 -06:00
Minijackson
4b6a6ddc7a
iocsh.h: import documentation from AppDevGuide, minor tweaks
...
This imports the function-specifics that were documented in the
Application Developer's Guide, section "IOC Shell".
Other changes include:
- Removing unneeded "@typedef" and "@enum"
- Adding "()" and "@ref" for interlinking
- Removing duplicated documentation between
iocsh & iocshLoad, and iocshCmd & iocshRun
Supports the PR:
https://github.com/epics-docs/epics-docs/pull/141
2025-12-08 12:14:56 -06:00
zimoch
90a727c901
Fix spelling errors
...
Most errors found with:
codespell -L cach,thst,odly,aslo,parm,parms,inpu,ges,prset,pevent,ptd,pring,valu,noo,noe,ned,inout,ro,siz,froms,nd,fo,singl,sart,multy,tthe,allong,ment,inate,nodel,tring,alse,ture,thi,wille,numer
Some more manually found (its -> it's)
c++20: Do not use apostrophe (e.g. can't) in unquoted #error message
2025-12-01 19:00:04 -08:00
Andrew Johnson
e12269c302
Include readline.h before EPICS headers
2025-10-24 13:13:03 -05:00
Andrew Johnson
8311a5b360
Disable epicsStdio.h redefinitions
...
readline.h uses printf in an attribute
2025-10-24 12:22:54 -05:00
zimoch
bd0c7e7823
Apply log prefix to each line
2025-07-29 17:55:05 +02:00
zimoch
0f29b34f68
Merge branch '7.0' into PSI-7.0
2025-07-14 10:49:20 +02:00
Hinko Kocevar
e294bb443c
2nd attempt to fix a linter error for step 49 of "Path"
2025-06-20 16:01:44 -05:00
Jerzy Jamroz
70d5df05c7
refactor: atInit changed to afterIocRunning
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
6683d81eb9
fix: strlen instead of strnlen.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
d87ad35d37
feat: atInit presents its commands in the green colour.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
a9b66218c6
refactor: const adjustment.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
4cf7077ee2
fix: Copyright update.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
71e86e51bd
fix: error C2059: syntax error at the atInitDef structure.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
43003ea18a
fix: (CWE-126) CodeQL removal.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
61deabd787
fix: CMP=vs2012 (error C2143) variables to the top of a function.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
3ece668f6b
refactor: strncpy to memcpy; malloc with the identifier.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
d7a02342e5
fix: CodeQL check failure.
...
Possibly wrong buffer size in string copy (Critical)
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
ecd76e5b5b
fix: Portability update.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
9b92a98d06
fix: ELLLIST initialization with ELLLIST_INIT.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
16fd65639a
refactor: initHookRegister moved to atInitRegister; strlcpy -> strncpy
...
portability.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
f3e24ea8e3
fix: mallocMustSucceed makes this check unnecessary.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
dd09670b35
refactor: initHookRegister wihout the failure check.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
04c7cdd33a
fix: Removal of unnecessary item->cmd NULL check.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
3a822ccb0c
refactor: EPICS license adjustment.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
45b2be0171
refactor: Extra blank space after #include-s.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
1468319f31
refactor: Format change
...
* 4 space indentation
* epicsStdoutPrintf to printf
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
82994d600f
perf: Extra safety with strlen(cmd).
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
8752372af1
build: atInit module moved to libcom.
2025-06-20 15:42:47 -05:00
zimoch
ea402b0f73
fix for architectures where sizeof(void*) > sizeof(long), i.e. windows-x64
2025-06-04 10:14:59 -05:00
Andrew Johnson
0f6fd8fff7
Improve 'help' self-description message
2025-06-04 09:52:44 -05:00
Andrew Johnson
42e7cbc71d
Add color to the softIoc verbose output
2025-06-04 09:52:44 -05:00
Andrew Johnson
55d918e74c
Add more colour to iocsh output messages
...
Includes some unification of error text, narrower wrap margin.
'var' output now lists the variable types.
2025-06-04 09:52:44 -05:00