Henrique Silva
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
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 Ivashkevych
759a737983
moved code tags to exclude comments, as suggested
2022-09-05 21:58:34 -05:00
Oksana Ivashkevych
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 Ivashkevych
6f6ab3b758
codeathon 2022 Added doxygen formatting to initHooks.h
2022-09-05 21:58:34 -05:00
Christian Roehrig
05311e0c94
Added Doxygen annotations to modules/libcom/src/iocsh/iocsh.h
2022-07-04 20:45:51 -05:00
Michael Davidsaver
94b0e2621f
iocsh: more helpful help
...
For plain "help", move the hint text to the end.
For "help ..." make the command names bold.
2022-05-12 09:01:36 -07:00
Michael Davidsaver
e34b6c5c0c
Fix spelling in comments
...
Should be non-functional, except for some error message strings.
2021-08-29 07:27:50 -07:00
Michael Davidsaver
8e7d3e9216
re-sync initHookName() with initHookState enum
2021-06-30 13:40:50 -07:00
555e671246
allow glob pattern in var command
2021-05-19 10:54:49 -07:00
Marcio Paduan Donadio
614961da17
iocsh: set PWD
...
Set the env variable PWD during libCom IOC shell function registration.
Change environment variable PWD when a user calls cd from the IOC shell
2021-04-04 12:26:07 -07:00
Ziga Oven
746d21c71d
Add usage messages
2021-03-18 14:06:45 -07:00
Michael Davidsaver
9e3d5d52ab
iocshRegisterVariable() avoid spurious redefinition warning
...
Compare the contents, not the container.
2020-08-22 07:50:40 -07:00
Andrew Johnson
3c99391d93
Added SPDX License ID to all EPICS-original source files
...
In some cases the license-identification header was missing,
so I added that as well. Replaced the remaining headers that
specifically identified "Versions 3.13.7 and higher".
Makefiles and the build system were deliberately excluded.
2020-08-03 11:53:01 -05:00
Andrew Johnson
005580556c
Add and document the macro IOCSHFUNCDEF_HAS_USAGE
2020-05-28 17:33:18 -05:00
36a8b51d8e
CleanupWhitespace
...
removed spaces at end of line
replaced tabs with spaces
2020-05-20 14:48:09 -07:00
Michael Davidsaver
799e72b1e3
libCom: actually use libComAPI.h in libCom
2020-05-20 14:47:51 -07:00
Andrew Johnson
9142eca878
Unify doxygen keywords to use '\' not '@'
2020-05-19 18:04:26 -05:00
Michael Davidsaver
5d5e552a7e
de-init hooks
2020-04-29 16:40:16 -07:00
Michael Davidsaver
ce4fb6085f
iocsh: add usage messages
2020-04-24 20:28:00 -07:00
Aaron
6e0706a312
Set argBuff->sval to NULL if arg is NULL
2020-02-13 13:22:26 +00:00
Aaron
45bbe274e9
Error case for NULL arg causing segfault in iocshPersistentString
2020-02-13 13:22:19 +00:00
Michael Davidsaver
90ef40e62b
iocshFindVariable() safety
2019-11-24 19:39:44 -08:00
Michael Davidsaver
c131d6852d
Merge remote-tracking branch 'lp-Com/iocsherr' into 7.0
...
* lp-Com/iocsherr:
doc
deprecate iocshFindCommand()
iocshTest start
iocshCmd() imply "on error break"
iocsh more error handling
iocsh handle redirect and similar early errors
iocsh trap arg. parsing errors
iocsh further on error
Fixed logic errors and added some prompts.
use iocshSetError()
iocsh allow setting of error code
iocsh control error behavior
iocsh catch exceptions
# Conflicts:
# documentation/RELEASE_NOTES.html
2019-10-06 20:10:09 -07:00
Freddie Akeroyd
ee1eac3f4c
iocshRegisterVariable() takes an array
2019-09-23 18:55:51 -07:00
Michael Davidsaver
c0a04eae21
Merge remote-tracking branch 'lp-asLib/as-hostname' into 7.0
...
* lp-asLib/as-hostname:
update release notes
asLib more string size...
asLib one short
asLib: asUseIP name lookup soft-fail
Expand Release Note entry for as-hostname changes.
as-hostname address review comments
asLib: test asUseIP
as,rsrv: use real client IP instead of untrusted host name
# Conflicts:
# documentation/RELEASE_NOTES.html
2019-08-31 15:07:22 -07:00
Michael Davidsaver
c63a564ad4
doc
2019-08-26 09:57:15 -07:00
Michael Davidsaver
7ba103d997
deprecate iocshFindCommand()
...
This function, and struct iocshFuncDef, expose
internal details. Specifically iocshCmdDef::func .
Which prevents changing/extending the iocsh function
signature.
Deprecate in favor of iocshCmd() and iocshRun().
2019-08-26 09:57:15 -07:00
Michael Davidsaver
2557d14785
iocshCmd() imply "on error break"
2019-08-25 20:10:27 -07:00
Michael Davidsaver
58473e825c
iocsh more error handling
...
sooo many ways to fail...
2019-08-25 16:29:55 -07:00
Michael Davidsaver
a625acbb18
iocsh handle redirect and similar early errors
2019-08-24 20:30:47 -07:00
Michael Davidsaver
a81e261e23
iocsh trap arg. parsing errors
2019-06-23 19:43:34 -07:00
Michael Davidsaver
52b9c8b947
iocsh further on error
...
Split Scope into iocshContext and iocshScope
to separate per-thread and per-call state.
Error handling is per-call.
2019-05-27 21:24:58 -07:00
Bruce Hill
76506991da
Fixed logic errors and added some prompts.
2019-05-27 20:12:48 -07:00
Michael Davidsaver
73cdea5517
as-hostname address review comments
2019-05-08 19:03:25 -07:00
Michael Davidsaver
4d5a677239
use iocshSetError()
2019-05-02 20:38:45 -07:00
Michael Davidsaver
eba8a13a2c
iocsh allow setting of error code
2019-05-02 20:38:45 -07:00
Michael Davidsaver
89c269e2d5
iocsh control error behavior
2019-05-02 20:38:45 -07:00
Michael Davidsaver
2e80a97da9
iocsh catch exceptions
2019-05-02 20:29:13 -07:00
Michael Davidsaver
d1149a0ba9
iocsh epicsMutexShowAll accepts 2 arguments
2019-03-11 17:53:51 -07:00
Andrew Johnson
6d5f57daf1
Merge 3.16 branch into 7.0
2018-12-12 15:17:02 -06:00
Michael Davidsaver
530eba133f
as,rsrv: use real client IP instead of untrusted host name
2018-11-14 20:03:55 -08:00