From 4e38494839f4821cb3896cbce80e95067516a3f8 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Tue, 30 Jul 2002 17:43:27 +0000 Subject: [PATCH] remove *Recdes* and *Flddes* --- documentation/RELEASE_NOTES.html | 17 +++++++++++------ src/Makefile | 4 ++-- src/iocsh/dbStaticRegister.c | 31 ++++++++++--------------------- 3 files changed, 23 insertions(+), 29 deletions(-) diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index d4d646ced..b1ff0d78f 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -139,38 +139,43 @@ longer necessary to call dbCaGetAttributes.

This now returns a non zero value if the result is nan (not a number).

-

Record Name Length

+

Record Name Length

The size of the name field has been expanded from 29 to 61, i.e. record names can now have 60 characters.

-

iocInit

+

iocInit

initialProcess is now called before interruptAccept. This means that initial processing will be done before periodically scanned and I/O Inter scanned records start processing.

-

ellLib

+

ellLib

Casts have been removed that suppressed valuable error messages

-

mbbiRecord

+

mbbiRecord

All existing manipulations of UDF in process() are removed and udf is set FALSE when the raw value is successfully read.

-

selRecord

+

selRecord

In do_sel udf is not set false at the beginning. If selm has an invalid value recGblSetSevr(psel,SOFT_ALARM,MAJOR_ALARM) is called.

-

cdCommands file

+

cdCommands file

Fixed a bug and revised the use of the IOCS_APPL_TOP setting in an application's /configure/CONFIG file (which specifies the path to as seen by the IOC) to apply the same modifications to all paths output in the cdCommands file.

+

dbStaticLib

+ +

All routines with Recdes of Fielddes in their name are obsolete and removed. +A new routine dbDumpField replaces dbDumpFldDes.

+

Changes since alpha2

diff --git a/src/Makefile b/src/Makefile index e69c5a46c..779fd5dca 100644 --- a/src/Makefile +++ b/src/Makefile @@ -44,8 +44,8 @@ ifneq (,$(findstring RTEMS,$(BUILD_ARCHS))) DIRS += RTEMS endif DIRS += libCom/test -DIRS += gdd -DIRS += cas +#DIRS += gdd +#DIRS += cas include $(TOP)/configure/RULES_DIRS diff --git a/src/iocsh/dbStaticRegister.c b/src/iocsh/dbStaticRegister.c index 54c5faaba..f6ccad2d3 100644 --- a/src/iocsh/dbStaticRegister.c +++ b/src/iocsh/dbStaticRegister.c @@ -23,16 +23,6 @@ #include "iocsh.h" #include "dbStaticRegister.h" -/* dbDumpRecDes */ -static const iocshArg dbDumpRecDesArg0 = { "pdbbase",iocshArgPdbbase}; -static const iocshArg dbDumpRecDesArg1 = { "recordTypeName",iocshArgString}; -static const iocshArg * const dbDumpRecDesArgs[2] = {&dbDumpRecDesArg0,&dbDumpRecDesArg1}; -static const iocshFuncDef dbDumpRecDesFuncDef = {"dbDumpRecDes",2,dbDumpRecDesArgs}; -static void dbDumpRecDesCallFunc(const iocshArgBuf *args) -{ - dbDumpRecDes(pdbbase,args[1].sval); -} - /* dbDumpPath */ static const iocshArg dbDumpPathArg0 = { "pdbbase",iocshArgPdbbase}; static const iocshArg * const dbDumpPathArgs[1] = {&dbDumpPathArg0}; @@ -76,16 +66,16 @@ static void dbDumpRecordTypeCallFunc(const iocshArgBuf *args) dbDumpRecordType(pdbbase,args[1].sval); } -/* dbDumpFldDes */ -static const iocshArg dbDumpFldDesArg0 = { "pdbbase",iocshArgPdbbase}; -static const iocshArg dbDumpFldDesArg1 = { "recordTypeName",iocshArgString}; -static const iocshArg dbDumpFldDesArg2 = { "fieldName",iocshArgString}; -static const iocshArg * const dbDumpFldDesArgs[3] = - {&dbDumpFldDesArg0,&dbDumpFldDesArg1,&dbDumpFldDesArg2}; -static const iocshFuncDef dbDumpFldDesFuncDef = {"dbDumpFldDes",3,dbDumpFldDesArgs}; -static void dbDumpFldDesCallFunc(const iocshArgBuf *args) +/* dbDumpField */ +static const iocshArg dbDumpFieldArg0 = { "pdbbase",iocshArgPdbbase}; +static const iocshArg dbDumpFieldArg1 = { "recordTypeName",iocshArgString}; +static const iocshArg dbDumpFieldArg2 = { "fieldName",iocshArgString}; +static const iocshArg * const dbDumpFieldArgs[3] = + {&dbDumpFieldArg0,&dbDumpFieldArg1,&dbDumpFieldArg2}; +static const iocshFuncDef dbDumpFieldFuncDef = {"dbDumpField",3,dbDumpFieldArgs}; +static void dbDumpFieldCallFunc(const iocshArgBuf *args) { - dbDumpFldDes(pdbbase,args[1].sval,args[2].sval); + dbDumpField(pdbbase,args[1].sval,args[2].sval); } /* dbDumpDevice */ @@ -131,12 +121,11 @@ static void dbPvdDumpCallFunc(const iocshArgBuf *args) void epicsShareAPI dbStaticRegister(void) { - iocshRegister(&dbDumpRecDesFuncDef,dbDumpRecDesCallFunc); iocshRegister(&dbDumpPathFuncDef,dbDumpPathCallFunc); iocshRegister(&dbDumpRecordFuncDef,dbDumpRecordCallFunc); iocshRegister(&dbDumpMenuFuncDef,dbDumpMenuCallFunc); iocshRegister(&dbDumpRecordTypeFuncDef,dbDumpRecordTypeCallFunc); - iocshRegister(&dbDumpFldDesFuncDef,dbDumpFldDesCallFunc); + iocshRegister(&dbDumpFieldFuncDef,dbDumpFieldCallFunc); iocshRegister(&dbDumpDeviceFuncDef,dbDumpDeviceCallFunc); iocshRegister(&dbDumpDriverFuncDef,dbDumpDriverCallFunc); iocshRegister(&dbDumpBreaktableFuncDef,dbDumpBreaktableCallFunc);