03f17a08c3
Merge branch '7.0' into PSI-7.0
2024-08-07 17:30:04 +02:00
Michael Davidsaver
6ca716a77f
iocsh: add more iocshSetError()
2024-06-11 13:52:03 -07:00
87d492bffd
Merge branch '7.0' into PSI-7.0
2024-04-30 14:40:00 +02:00
Andrew Johnson
331df3d7e4
UNRELEASED => 7.0.8
2023-12-14 16:42:10 -06:00
Simon Rose
6a369acd0b
Add newline to help text
2023-12-05 08:05:12 -08:00
Michael Davidsaver
3f03efe7fe
Add ERROR to error messages
2023-12-01 16:49:30 +01:00
Michael Davidsaver
0502fe25e4
print ANSI escapes to stderr
...
unconditionally print ANSI some escapes (to colorize errors)
to the stderr stream.
2023-12-01 16:47:18 +01:00
Michael Davidsaver
5a5535aa5b
iocsh: keep history file
2023-12-01 16:35:36 +01:00
Jack Harper
2c95dc91e9
iocsh: add comment to cvtArg explaining default iocsharg behaviour
2023-12-01 16:34:35 +01:00
AlexWells
680e1734a4
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-12-01 16:34:04 +01:00
1d3a2defa2
Merge 7.0 commit 'ca9c95' into PSI-7.0
2023-12-01 14:21:07 +01: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 Harper
49ea46ee5e
iocsh: add comment to cvtArg explaining default iocsharg behaviour
2023-10-22 17:42:36 -07:00
AlexWells
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
AlexWells
6de82bb0fd
Additional help messages for iocsh
...
Henrique Silva <henrique.silva@ess.eu >
2023-08-28 13:24:16 +02:00
0f086126b7
fix escaped quotes in quoted strings
Check EditorConfig / editorconfig (push) Failing after 1s
Base / Cross linux-aarch64 (push) Failing after 2s
Base / Cross linux-arm gnueabi (push) Failing after 1s
Base / Cross linux-arm gnueabihf (push) Failing after 2s
Base / Fedora-33 (push) Failing after 2s
Base / CentOS-7 (push) Failing after 5s
Base / Fedora-latest (push) Failing after 1s
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-06-22 16:37:29 +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 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