 Jerzy JamrozandAndrew Johnson
|
43003ea18a
|
fix: (CWE-126) CodeQL removal.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
61deabd787
|
fix: CMP=vs2012 (error C2143) variables to the top of a function.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
3ece668f6b
|
refactor: strncpy to memcpy; malloc with the identifier.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
d7a02342e5
|
fix: CodeQL check failure.
Possibly wrong buffer size in string copy (Critical)
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
ecd76e5b5b
|
fix: Portability update.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
9b92a98d06
|
fix: ELLLIST initialization with ELLLIST_INIT.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
16fd65639a
|
refactor: initHookRegister moved to atInitRegister; strlcpy -> strncpy
portability.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
f3e24ea8e3
|
fix: mallocMustSucceed makes this check unnecessary.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
dd09670b35
|
refactor: initHookRegister wihout the failure check.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
04c7cdd33a
|
fix: Removal of unnecessary item->cmd NULL check.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
3a822ccb0c
|
refactor: EPICS license adjustment.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
45b2be0171
|
refactor: Extra blank space after #include-s.
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
1468319f31
|
refactor: Format change
* 4 space indentation
* epicsStdoutPrintf to printf
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
82994d600f
|
perf: Extra safety with strlen(cmd).
|
2025-06-20 15:42:47 -05:00 |
|
 Jerzy JamrozandAndrew Johnson
|
8752372af1
|
build: atInit module moved to libcom.
|
2025-06-20 15:42:47 -05:00 |
|
 zimochandAndrew Johnson
|
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 |
|
 Michael DavidsaverandAndrew Johnson
|
13d6ca598c
|
initHookRegister() make idempotent and MustSucceed
|
2025-03-05 10:02:38 -06:00 |
|
 JJL772andAndrew Johnson
|
144f9756ea
|
Add iocshSetError in a bunch of places
|
2025-02-05 10:16:16 -06:00 |
|
 DWandAndrew Johnson
|
48eed22f3b
|
check IOCSH_STARTUP_SCRIPT before set
|
2025-02-05 10:03:35 -06:00 |
|
Michael Davidsaver
|
6ca716a77f
|
iocsh: add more iocshSetError()
|
2024-06-11 13:52:03 -07:00 |
|
Andrew Johnson
|
331df3d7e4
|
UNRELEASED => 7.0.8
|
2023-12-14 16:42:10 -06:00 |
|
 Simon Roseandmdavidsaver
|
6a369acd0b
|
Add newline to help text
|
2023-12-05 08:05:12 -08:00 |
|
Michael Davidsaver
|
69d05fe5b0
|
Add ERROR to error messages
|
2023-11-26 15:25:09 -08:00 |
|
Michael Davidsaver
|
a352865df9
|
print ANSI escapes to stderr
unconditionally print ANSI some escapes (to colorize errors)
to the stderr stream.
|
2023-11-07 15:53:22 -08:00 |
|
Michael Davidsaver
|
2ca70d3aa2
|
iocsh: keep history file
|
2023-10-22 17:42:36 -07:00 |
|
 Jack HarperandMichael Davidsaver
|
49ea46ee5e
|
iocsh: add comment to cvtArg explaining default iocsharg behaviour
|
2023-10-22 17:42:36 -07:00 |
|
 AlexWellsandMichael Davidsaver
|
6dec68554c
|
iocsh: Add underline separator between help outputs
Also tweaks the overall format of the message a bit.
Add tests for new help output format
|
2023-10-22 17:42:36 -07:00 |
|
Michael Davidsaver
|
9f660f2238
|
add initHookAtPrepare
|
2023-09-05 08:54:48 +02:00 |
|
Michael Davidsaver
|
ca9c957e62
|
doc add page for initHooks.h
|
2023-09-05 08:53:40 +02:00 |
|
Michael Davidsaver
|
8488c9e891
|
initHookName() assert length
basic compile time consistency check.
|
2023-09-05 08:53:07 +02:00 |
|
Michael Davidsaver
|
7830345e59
|
move IocshRegister() to iocshInit()
No need for both global ctor and lazy init
|
2023-08-28 14:17:00 +02:00 |
|
 AlexWellsandMichael Davidsaver
|
6de82bb0fd
|
Additional help messages for iocsh
Henrique Silva <henrique.silva@ess.eu>
|
2023-08-28 13:24:16 +02:00 |
|
Michael Davidsaver
|
cb97d662a7
|
doc
|
2023-05-01 10:31:01 -07:00 |
|
Michael Davidsaver
|
0c13e6ba6c
|
iocsh: tab completion handle iocshArgArgv
|
2023-05-01 10:31:01 -07:00 |
|
 Henrique SilvaandMichael Davidsaver
|
3e51491628
|
Fix generalTimeReport interest_level argument type
Setting to iocshArgInt actually makes the function verbosity to be able
to be controlled by the value
|
2023-03-10 10:56:58 +00:00 |
|
Michael Davidsaver
|
f430389ee7
|
iocShutdown(): Always stop worker threads
|
2023-03-10 09:52:08 +00:00 |
|
Michael Davidsaver
|
eea361bf5e
|
Com: Allow runtime bypass of freeListLib
By environment or iocsh variable.
|
2023-03-10 09:48:27 +00:00 |
|
 zimochandMichael Davidsaver
|
3dbc9ea264
|
iocsh: fix argument splitting
Since commit 60128ee9 "Com: separate iocsh argument splitting",
iocsh is broken on VxWorks (tested with version 6.9.4.12)
Any command prints the error "Unbalanced quote."
> iocsh
epics> echo
Unbalanced quote.
epics> "echo"
Unbalanced quote.
epics> "echo
Unbalanced quote.
epics> echo bla
Unbalanced quote.
epics> echo 1 2 3
Unbalanced quote.
epics> exit
Unbalanced quote.
|
2023-02-01 09:25:10 -08:00 |
|
Michael Davidsaver
|
adb0c898a6
|
doc
|
2022-12-20 20:12:04 -08:00 |
|
Michael Davidsaver
|
b38ff09f6e
|
Com: iocsh: Tab completion of variable names for "var"
|
2022-12-20 20:12:04 -08:00 |
|
Michael Davidsaver
|
d9ca8a70f0
|
Com: iocsh: Tab completion
Add tab completion for "help ...", record names, and "pdbbase"
|
2022-12-20 20:12:04 -08:00 |
|
Michael Davidsaver
|
60128ee924
|
Com: separate iocsh argument splitting
|
2022-12-20 20:12:04 -08:00 |
|
Michael Davidsaver
|
b189991f9d
|
Com: iocsh: add tab completion for command names
|
2022-12-20 20:12:04 -08:00 |
|
Andrew Johnson
|
0301e60629
|
Expanded on Oksana's annotations
|
2022-09-05 21:58:34 -05:00 |
|
 Oksana IvashkevychandAndrew Johnson
|
759a737983
|
moved code tags to exclude comments, as suggested
|
2022-09-05 21:58:34 -05:00 |
|
 Oksana IvashkevychandAndrew Johnson
|
eeddf54b84
|
in file initHooks.h changed brief sytax to make comment appear next to the field, used \code {.cpp} as suggested for the example
|
2022-09-05 21:58:34 -05:00 |
|
 Oksana IvashkevychandAndrew Johnson
|
6f6ab3b758
|
codeathon 2022 Added doxygen formatting to initHooks.h
|
2022-09-05 21:58:34 -05:00 |
|