Commit Graph

135 Commits

Author SHA1 Message Date
W. Eric Norum 8739e1c298 Allow 'unsigned' integers. 2004-11-03 22:16:18 +00:00
W. Eric Norum c7e7f8e221 Don't require pdbbase if not linking iocshRegisterCommon commands. 2004-11-03 17:14:48 +00:00
Andrew Johnson e700d00db0 Moved static constructor call of iocshRegisterCommon() from iocsh.cpp into
the output from the registerRecordDeviceDriver.pl script, so standalone
sequencer programs don't import all of iocCore unnecessarily.
2004-10-29 23:24:35 +00:00
W. Eric Norum 4f731caf14 Add os-independent epicsStrtod() routine. 2004-10-11 18:22:12 +00:00
Jeff Hill d91a3917ce new #include 2004-10-08 14:58:59 +00:00
W. Eric Norum 0d6784c31b Provide epicsStrGlobMatch().
Add globbing to iocsh help command.
2004-10-07 20:10:38 +00:00
W. Eric Norum 75e43a6b6c Detect memory exhaustion. 2004-10-05 18:21:30 +00:00
W. Eric Norum 42953c05f7 Treat \r as a separator -- should allow DOS-format scripts to work. 2004-10-02 15:34:47 +00:00
W. Eric Norum 3973a3fdb2 Typo. 2004-09-14 20:25:12 +00:00
W. Eric Norum a7b44180bd Redirect special case. 2004-09-14 20:21:10 +00:00
W. Eric Norum 096172f252 Handle
<foo >bar
properly.
2004-09-14 19:58:09 +00:00
Marty Kraimer 4d636df146 extern C except for registerObj 2004-08-30 13:39:03 +00:00
W. Eric Norum 84dd4cdd2b Add iocshCmd command.
General cleanup.
Split help code into separate function.
2004-07-26 18:21:57 +00:00
Marty Kraimer f07f9d8b2b Remove most dbDump commands because there are already other commands
that call them.
2004-07-15 12:41:09 +00:00
Marty Kraimer f54d1ca30a epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 13:35:35 +00:00
W. Eric Norum 99778934c1 Ensure that redirection is off before attempting to read next line. 2004-07-09 18:40:42 +00:00
W. Eric Norum f6e1d32b25 Add 'ok-to-block' flag. 2004-07-09 18:30:29 +00:00
W. Eric Norum 94e70da4ef Allow redirection from recursive iocsh invocations. 2004-07-09 13:18:40 +00:00
W. Eric Norum 744e836ad8 Add I/O redirection. 2004-07-08 21:19:42 +00:00
Marty Kraimer 2f7abfdd7a clean up and include epicsStdio.h 2004-07-08 16:15:01 +00:00
W. Eric Norum 33a5dd714e Echo comments read from a script. 2004-05-24 21:20:27 +00:00
Andrew Johnson 2bef3a2d08 Added two new envParams and converted iocsh to use these instead of getenv() 2004-05-17 21:40:10 +00:00
Marty Kraimer 5453865724 dbReportDeviceConfig had wrong arguments 2004-04-08 18:02:30 +00:00
Marty Kraimer d212f0428b add dbReportDeviceConfig 2004-04-06 13:47:27 +00:00
Andrew Johnson af97e702d1 Added function() keyword handling to dbd files again, works properly now.
Also moved the code from the generated app_registerRecordDeviceDriver.cpp
file to iocsh/registryCommon.*
2004-03-30 21:56:26 +00:00
W. Eric Norum 0e3f04824e Don't pass NULL pointer to iocsh. 2004-02-19 01:09:44 +00:00
Jeff Hill 509ff37ec4 better fix for win32 dll export warnings (considering how epixExport.h works) 2004-02-18 22:34:15 +00:00
Jeff Hill 4a1612e133 fixed win32 dll export warnings 2004-02-18 22:24:42 +00:00
Marty Kraimer 6bf437cf28 remove vardefs; use variable definition instead 2004-02-13 18:55:32 +00:00
Marty Kraimer 5f712bde67 for asCaDebug change & to p 2004-02-12 16:31:29 +00:00
Marty Kraimer 6f58f32c96 for variable type is void * const 2004-02-12 14:40:54 +00:00
Marty Kraimer 8d043dfe6e gret rid of dead code 2004-02-10 21:09:02 +00:00
Marty Kraimer bc81744d8f add ascar 2004-02-10 14:52:46 +00:00
Marty Kraimer 1c493e9ec0 fix type error 2004-01-15 13:35:38 +00:00
Marty Kraimer 0aa150f544 register dbLockShowLocked 2004-01-14 13:22:13 +00:00
Janet B. Anderson de70a70b1b Added COMPAT_313 macro for building/installing R3.13 compatability files. 2004-01-13 16:15:05 +00:00
W. Eric Norum d6c4117b35 Add support for iocsh 'system' command. 2003-12-08 20:37:14 +00:00
W. Eric Norum 26a6df0652 Clean up handling of redefinitions. 2003-09-02 20:07:18 +00:00
W. Eric Norum e3c514ea9e Add *all* iocsh variables, not just the first.
A tip of the hat to Mark Rivers for fixing this.
2003-09-01 14:05:47 +00:00
Jeff Hill 8faa55056d fixed visual c++ 6.0 build 2003-07-28 18:38:59 +00:00
W. Eric Norum 0c8d2336b7 Echo lines read from scripts after macro expansion has completed. 2003-07-25 15:31:43 +00:00
Andrew Johnson 025a73ca42 Added dbDumpVariable command 2003-07-16 19:32:20 +00:00
W. Eric Norum a907bc4df3 Expand line *before* breaking into arguments.
a) Much more efficient
    b) Allows expansion to multiple arguments.
2003-07-16 12:35:33 +00:00
Andrew Johnson 835edde87d Added iocshRegisterVariable 2003-07-15 22:32:09 +00:00
Andrew Johnson ac4890e5c9 Fixed locking problem in new iocshRegisterVariable routine. 2003-07-15 22:13:23 +00:00
W. Eric Norum a4c82bfd9f Touch up previous fix. 2003-07-15 21:17:29 +00:00
W. Eric Norum 417dfcc191 Declare proper linkage for varCallFunc(). 2003-07-15 20:47:22 +00:00
W. Eric Norum 86158b907d Add support for environment variable macro expansion. 2003-07-15 20:38:09 +00:00
W. Eric Norum 1e2a950e0b Add support for simple variable set/show. 2003-07-15 18:55:14 +00:00
W. Eric Norum ac128fc048 Add iocshArgPersistentString type. 2003-07-08 20:14:54 +00:00