Ralph Lange
be978d6499
Fixed issue "TCP Nameserver Connection Down Blocks All Callbacks" and cleaned up the SearchDest list / TCP circuit relation
...
* Pulled out tcpiiu::SearchDestTCP to have cac create the SearchDest independent from the TCP circuit
* Reorganized the relation between the SearchDestTCP and the TCP circuit:
- SearchDest stays always on the cac list
- TCP connection going down sets SearchDest inactive and SearchDestTCP's circuit member to NULL
- Next seach request creates the new TCP circuit and sets SearchDestTCP's member, but leaves SearchDest inactive
- Successful connect sets SearchDest active
* ReceiveThread releases the cac mutex before going to sleep in connect loop
2010-04-15 17:06:16 -04:00
Andrew Johnson
68f4da301f
Clean up editor backup files too.
2010-04-15 11:40:01 -05:00
Andrew Johnson
03b66fd2cc
Prettify DBF_NOACCESS fields so definitions line up in record.h file.
2010-04-15 11:37:18 -05:00
Andrew Johnson
64cfd30f62
Move Cdefs to the top of the record body.
...
Refine when field attribute values get double-quoted.
2010-04-15 11:32:56 -05:00
Andrew Johnson
510027aa2c
Reject field names that are reserved words.
...
The list of reserved words is combined from C++ and the DB/DBD file parser.
This also requires a small change in the rules for generating the C name
from the DBD field name, since the aSub record has a field NOT; now if we
find the lower-case version is reserved, we use the original instead.
Since the aSubRecord.c file doesn't use prec->not this is back-compatible.
2010-04-14 15:16:36 -05:00
Andrew Johnson
5e85476352
Remove programs that were replaced in Perl.
2010-04-13 17:39:27 -05:00
Andrew Johnson
afc57e42f9
Note questionable handling of -I option on Win32.
2010-04-13 17:36:06 -05:00
Andrew Johnson
ce43b9faf8
Reorganized files, configure to use new versions.
...
* Moved Readfile and macLib into tools/EPICS
* dbHost/Getopts was a duplicate
* Added (c) headers
* Build in the dbHost dir
* Switch build system to use Perl versions.
2010-04-13 17:05:59 -05:00
Ron Sluiter
20483795e4
Remove "dbRecordHead: tempList not empty" errors.
...
Loading a .db file that uses an unknown record type leaves items
on the parser's tempList. This patch empties that list when the
error is reported so future dbLoadRecords() commands can run.
2010-04-12 11:31:24 -05:00
Andrew Johnson
c185274de8
Merged Michael Davidsaver's 'rec-init' branch.
2010-04-09 16:28:53 -05:00
Ralph Lange
a0e868e2e1
Make SearchDest.h include all the headers it needs
2010-04-09 10:59:57 -04:00
Ralph Lange
d539db4053
Fix for: TCP Nameserver Connections Do Not Reconnect
2010-04-09 10:38:18 -04:00
Andrew Johnson
f00684c8c3
2009-12-22: Suggestion...
2010-04-08 17:30:15 -05:00
Andrew Johnson
f6527a9942
2009-02-15: Fix problem parsing function() statements.
2010-04-08 17:29:17 -05:00
Andrew Johnson
f804eb00e7
2009-02-15: Getting close.
...
Rename dbExpand => dbdExpand,
Added proper parsing and generation of DBD file.
2010-04-08 17:27:41 -05:00
Andrew Johnson
68e0fba01b
2009-02-08: Work with & match R3.14.10 output; rename tools.
2010-04-08 17:23:32 -05:00
Andrew Johnson
f464b4d899
2007-04-19: Reorganized cdefs, C++ guard and some formatting.
2010-04-08 17:09:59 -05:00
Andrew Johnson
cf421b7be9
2007-04-17: Added functionality for CDEFS. Still needs changes to dbToRecordtypeH.
2010-04-08 17:09:25 -05:00
Andrew Johnson
487596a2a8
2004-09-10: Updated menu definition stuff.
2010-04-08 16:21:58 -05:00
Andrew Johnson
daa0630361
2004-07-30: Work continues.
...
Make dbToRecordtypeH generate the same output as my 2002 C++ code.
Other changes in testing and macros.
2010-04-08 16:18:03 -05:00
Andrew Johnson
a1b72626ec
2004-07-12: More implementation, can't remember the details now.
2010-04-08 15:55:49 -05:00
Andrew Johnson
38bd72e67a
2004-07-09: Progress!
...
Added a class for each Recfield DBF_TYPE, use this to
simplify conversion to C code.
dbToRecordtypeH incomplete, but it outputs the record struct.
190 tests, 100% ok.
2010-04-08 15:54:02 -05:00
Andrew Johnson
42367731ef
2004-07-08: Lots of development work, parser works.
2010-04-08 15:52:36 -05:00
Andrew Johnson
86c12943bc
2004-07-06: Implementation of libCom's macLib for perl code.
2010-04-08 15:50:43 -05:00
Andrew Johnson
680e05c2c2
2004-06-23: Fixed various things, added Recordtype and global DBD object tests.
2010-04-08 15:48:50 -05:00
Andrew Johnson
b20cf681ae
2004-06-04: Added individual object tests.
2010-04-08 15:47:58 -05:00
Andrew Johnson
a996fc6c06
2004-06-04: Sync laptop => CVS
2010-04-08 15:47:07 -05:00
Andrew Johnson
38e1b910a5
2004-04-29: work in progress
2010-04-08 15:44:53 -05:00
Ralph Lange
82551fd175
Added EPICS_CA_NAME_SERVERS paragraph. Fixed lots of minor issues (unprintable characters).
2010-04-07 17:15:39 -04:00
Ralph Lange
23612a7afe
Merged Codeathon 2008 changes (10292..10293 on cvs-trunk branch).
...
* Fixed conflicts until base compiles
* COMPLETELY UNTESTED
2010-04-06 17:59:35 -04:00
Michael Davidsaver
e8f56d08b8
Ensure the string VAL and OVAL have the same storage length
...
There won't be any problems with overflow as long as dbPut
behaves correctly when setting VAL.
2010-04-06 14:48:48 -04:00
Michael Davidsaver
b63e381fbe
rec: update last/prev./old value fields after dset init_record
...
This must be done if init_record is allowed to change values
or monitors may not be posted when values change.
2010-04-05 14:49:18 -04:00
Ralph Lange
6518adf901
Merged Ralph Lange's 'compress-fix' branch.
2010-04-02 18:03:24 -04:00
Andrew Johnson
c3b19955f5
Merged Michael Davidsaver's 'minor-fixes' branch.
2010-04-02 16:51:04 -05:00
Ralph Lange
c6cf442abd
Fixed crash when ALG (algorithm) was changed to Average at runtime. ( Fixes #552803 )
2010-04-02 17:26:17 -04:00
Andrew Johnson
e56d4c2337
The monitor last value field needs to be initialized.
...
Device support init_record is allowed to set VAL to 1.
If uninitialized then mlst is 0.
During the first process() this will miss a monitor if VAL is changed to 0,
and cause a spurious monitor if VAL remains 1.
- mdavidsaver
2010-03-24 13:21:38 -05:00
Michael Davidsaver
356ee58927
use osi epicsMath.h
2010-03-24 13:17:41 -04:00
Michael Davidsaver
cadbcb43a2
use C++ name make.h
2010-03-24 11:34:00 -04:00
Michael Davidsaver
77d09de2c4
quiet compiler warning
2010-03-16 21:09:53 -04:00
Michael Davidsaver
d9a9a1f6ad
remove unused iocRegister stub
2010-03-16 21:09:53 -04:00
Michael Davidsaver
75a15809fa
epicsTimer: check that delay time is finite
2010-03-16 21:09:52 -04:00
Michael Davidsaver
4fb5c60493
softIoc: extra dep for generated header
...
This is needed to make the initial build work.
2010-03-16 21:09:52 -04:00
Michael Davidsaver
244796bbaa
remove STATIC
2010-03-16 21:09:51 -04:00
Michael Davidsaver
36980c5a1a
doc: note for dbScanLock
2010-03-16 21:09:51 -04:00
Andrew Johnson
3b0036b389
Improve code readablity, add more numeric tests.
2010-03-09 10:49:21 -06:00
Andrew Johnson
7fcc0b7411
Merge DST changes.
2010-03-08 17:36:18 -06:00
Andrew Johnson
526cfdc9e7
Warn if the IOC's TOP changed since building.
...
If the IOC's registerRecordDeviceDriver routine sees a different path
to TOP than the one used at build-time, we tell the user.
2010-03-08 17:31:19 -06:00
Andrew Johnson
a782ed68b9
Fix UDF processing so we respect IVOA.
2010-03-01 13:19:43 -06:00
Andrew Johnson
4bad7073e1
J field should not be PP, to match others.
2010-03-01 13:17:11 -06:00
Andrew Johnson
cad49539ff
Correction: vxWorks 6.4 comes with nm in the workbench bin directory.
2010-02-09 16:50:52 -06:00