Commit Graph

72 Commits

Author SHA1 Message Date
Andrew Johnson
70cc7eaab9 Reorganized iocsh command registration to untangle the build order.
The iocsh core is now part of libCom, and commands are registered locally
with a Register routine for each IOC library.
2007-03-13 17:54:23 +00:00
Andrew Johnson
31547e98f5 Patch from Diamond; App names may include chars that are not
valid in a C identifier, such as '-', but we use the App name
in the <name>_registerRecordDeviceDriver routine name.
This patch replaces all such invalid chars with '_'.
2006-11-14 22:14:53 +00:00
Janet B. Anderson
147e21b71f Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL. 2005-12-19 21:42:40 +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
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
Marty Kraimer
16832b9f07 replace p by pcar_<type>_ 2004-02-17 13:32:57 +00:00
Marty Kraimer
f32d647482 changes to make things build 2004-02-13 18:51:42 +00:00
Marty Kraimer
6f58f32c96 for variable type is void * const 2004-02-12 14:40:54 +00:00
Andrew Johnson
8087b29199 Make the parser slightly more robust against comments and
other uses of the keywords.
2004-01-23 19:26:11 +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
Marty Kraimer
f973722d5a suppress warning mesage if no record/device/driver support 2003-08-05 18:03:31 +00:00
Andrew Johnson
b0d5f21a87 Modify DBD variable keyword to allow both int and double variables. 2003-07-23 21:53:20 +00:00
Andrew Johnson
c4bf96b4f8 registerRecordDeviceDriver.h no longer needed/appropriate. 2003-07-23 18:54:49 +00:00
Andrew Johnson
f24895c325 Name the registerRecordDeviceDriver subroutine after the dbd file it was
created from; allows applications to be split up and loaded separately.
2003-07-22 15:36:29 +00:00
Andrew Johnson
067c0a3db1 Added support for the new variable dbd keyword, converts to iocshVarDef 2003-07-16 18:24:17 +00:00
W. Eric Norum
a2b2ef414d Add registryChange function. 2003-07-15 18:52:30 +00:00
Andrew Johnson
8a6cbfde20 Driver support names are const char* 2003-05-29 21:20:02 +00:00
Janet B. Anderson
3c94902cc0 Removed epicsExport header include line. 2003-04-02 21:05:08 +00:00
Marty Kraimer
7ec63f6034 changes for epicsExport 2003-04-01 21:06:49 +00:00
Marty Kraimer
4b95841fcd more changes to get epicsShare to work on win32 2003-03-28 20:25:43 +00:00
Marty Kraimer
21ee244b5e more changes for epicsShare 2003-03-28 16:01:45 +00:00
Janet B. Anderson
a5af82c9ef removed printf. 2003-03-27 21:59:35 +00:00
Janet B. Anderson
f8175b3203 Removed epicsShareAPI 2003-03-27 21:50:33 +00:00
Marty Kraimer
6438775f6e RecordSizeOffset now static; fix decoration for registrar functions 2003-03-27 14:59:47 +00:00
Marty Kraimer
f41cdef0d6 changes for stupid win32 2003-03-24 13:54:30 +00:00
Marty Kraimer
76883c4a2f use NELEMENTS instead of registryFunction.h 2003-03-21 20:05:23 +00:00
Marty Kraimer
e808742fe1 function replaced by registrar 2003-03-21 19:41:50 +00:00
Janet B. Anderson
335269a25a Make rec, softDev, and testDev libs shared. 2003-03-20 19:53:29 +00:00
Janet B. Anderson
22f533245b Fixed library definition. 2003-03-19 15:52:59 +00:00
Marty Kraimer
d37c75c9e9 get rid of warning message 2002-12-02 14:51:54 +00:00
Andrew Johnson
9481cf9649 Added auto-registration of routines from .dbd function() statements 2002-09-25 18:33:25 +00:00
Janet B. Anderson
de14296b80 Changed BASE_ to EPICS_. 2002-07-31 17:07:07 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Janet B. Anderson
480129b790 Changed SCRIPTS to SCRIPTS_HOST. 2001-10-02 18:17:26 +00:00
Janet B. Anderson
865e4cbc01 Changed #if to make it more readable. 2001-06-14 14:48:42 +00:00
Marty Kraimer
8d1830b8c6 make sure iocshReg is defined 2001-06-13 19:49:56 +00:00
Janet B. Anderson
7874d35daf Changes to create vxWorks archive libraries and prods. 2001-06-07 14:26:06 +00:00
W. Eric Norum
d99fb7029d Change all instances of ioccrf' to iocsh' to reflect the added
capabilities of the IOC shell routines.
2001-05-17 18:16:49 +00:00
Marty Kraimer
ad0819ba51 move registerRecordDeviceDriver.c to src/vxWorks/iocCore 2001-02-21 14:07:49 +00:00
Janet B. Anderson
fc076ff851 Create registerRecordDeviceDriver OBJ for vxWorks only. 2001-01-12 23:25:35 +00:00
Janet B. Anderson
4baf145c50 Added extern "C" for dset and drvet. 2001-01-12 22:01:27 +00:00
Marty Kraimer
e57e9bcac0 fix C++ problems 2001-01-12 19:12:45 +00:00
Marty Kraimer
9cc502dbe6 ifdef for C++ was in the wrong place 2001-01-12 19:12:10 +00:00
W. Eric Norum
02caca0732 Make everything in registerRecordDevicedriver.cpp `const'. This should get rid
warnings about initializing `char *' with string literals.
2001-01-11 14:59:13 +00:00
W. Eric Norum
4a2999770b Declare C linkage only where necessary. 2000-12-21 16:34:57 +00:00
W. Eric Norum
fe4cad085e Change the registerRecordDeviceDriver.pl script to create
registerRecordDeviceDriver.c as a C++ file (.cpp) so that it can
use a static constructor to register the registerRecordDeviceDriver()
command with the IOC shell
Remove the old registerRecordDeviceDriverRegister.[ch] source files.
2000-12-21 15:57:21 +00:00
Marty Kraimer
1c0ef4c177 osiFindGlobalSymbol change to epicsFindSymbol 2000-12-19 14:57:58 +00:00
Janet B. Anderson
aae3676fa0 Added win32 resource file. 2000-09-25 22:02:14 +00:00
Jeff Hill
874a254bb9 added newline at EOF 2000-08-25 01:46:28 +00:00
Janet B. Anderson
dfdee71b30 Removed Base from registerRecordDeviceDriverBase name. 2000-06-02 15:52:47 +00:00