Commit Graph

937 Commits

Author SHA1 Message Date
Andrew Johnson be6cc6bfcf Added dbcaStats() for Mantis #281. 2008-07-22 21:33:41 +00:00
Andrew Johnson c9bc70bd6a Added iocBuild, iocPause and iocRun commands.
These are mainly for redundant IOCs, but may be useful elsewhere.
iocBuild prepares the IOC and freezes it just before it goes live.
A subsequent iocRun kicks it into life, or restarts it when paused.
iocPause freezes all scan tasks and disconnects the server.
2008-07-09 21:31:56 +00:00
Andrew Johnson d0d8761d0d Removed epicsShareApi decorators.
Give periodic scans their own scan list structure.
Other cleanup.
2008-07-09 14:50:10 +00:00
Andrew Johnson ab7011a214 Fixes for IOCs on 64-bit platforms.
empty string to char conversions now produce 0, not '0'.
Record types ANSIfied by John Hammonds.
2008-07-01 16:49:08 +00:00
Andrew Johnson 556bab5ffe Added initHookName() function.
Use epicsThreadOnce() for lazy init.
2008-06-11 14:50:40 +00:00
Andrew Johnson ec06e418b9 Change startup/shutdown slightly. 2008-06-09 18:25:36 +00:00
Andrew Johnson e21bf9d9f1 Fixed bug in dbPutFieldLink: Couldn't change INP/OUT field of any record
type that has no registered device support, whereas we should treat this
field just as any other non-device link field.
2008-06-05 22:06:58 +00:00
Andrew Johnson fdbb48af4f Oops, missed a few bits... 2008-06-04 20:08:20 +00:00
Andrew Johnson 048e840928 Oops, missed a few bits... 2008-06-04 19:54:15 +00:00
Andrew Johnson 45bfa63a7d static putSpecial() => public dbPutSpecial() for redundancy use. 2008-06-03 22:40:10 +00:00
Andrew Johnson 0a17bfc12a Made 'dbcar' output much easier to understand. 2008-06-03 21:21:29 +00:00
Andrew Johnson 7720ea696e Oops. 2008-05-22 20:24:52 +00:00
Andrew Johnson 797df775d0 void *asp => struct *.
Removed some casts and cleaned up 'type-punned pointer' warnings.
2008-05-21 17:46:02 +00:00
Andrew Johnson 06d11b736a Cleanup, rework shutdown mechanism. 2008-05-15 17:41:02 +00:00
Andrew Johnson 9f8ee2d166 Make callback tasks shut down nicely. 2008-05-12 20:40:49 +00:00
Andrew Johnson 99f8eede0b const arguments to dbLoadRecords and dbLoadDatabase. 2008-05-12 16:48:31 +00:00
Andrew Johnson 4deb3a92c9 Fixed 64-bit bug copying timestamp. 2008-02-21 19:47:37 +00:00
Andrew Johnson 9fa90d5d5d Cleanup. 2008-01-04 16:43:44 +00:00
Andrew Johnson 4492251434 Added callbackSetProcess() and callbackCancelDelayed() routines. 2007-11-20 21:07:10 +00:00
Andrew Johnson de2fdc7654 Added dbNotifyDump command. 2007-11-20 20:13:51 +00:00
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 bc01dca042 Fixed Cdefs to be output before the record structure.
Moved record include files from dbStaticLib into dbCommon.dbd.
Added Cdefs that include postfix.h to the calc*.dbd files, removed from .c.
2007-03-13 16:39:53 +00:00
Andrew Johnson 60425a2771 Fixed problems with #ifndef guards and include order. 2007-02-09 18:19:26 +00:00
Jeff Hill db067c9780 1) replaced elimateExcessiveSendBacklog with
requestMessageBytesPending and flush
2) Removed callback control guards from this interface
2007-01-11 22:07:47 +00:00
Andrew Johnson 2a7c2e9d26 Breakpoint initialization and cleanup. 2006-12-19 16:20:47 +00:00
Andrew Johnson 3fe19655a1 Fixes for various GCC warnings. 2006-12-06 17:10:26 +00:00
Andrew Johnson b61e4bcb59 Don't cast away const unnecessarily - gcc warning. 2006-11-28 21:33:55 +00:00
Jeff Hill ecb43bedd9 cleaned up locking - this is an old code written w/o consideration of SMP
thread safe locking issues
2006-11-28 18:54:03 +00:00
Andrew Johnson 26f27b3a69 Automate the running of callbackTest. 2006-11-20 17:14:05 +00:00
Jeff Hill 962e36768e C style comments for C compilers 2006-11-18 00:09:27 +00:00
Andrew Johnson 2c23952b9c Removed Main.c file, converted to use testMain.h and epicsUnitTest.h. 2006-11-10 23:52:50 +00:00
Andrew Johnson 7dc2eec5aa Permit breakpoint tables to run any direction as long as the slope doesn't
change sign. Reduced memory requirement by making the table a contiguous
array rather than an array of pointers to intervals. Improved error reporting.
2006-10-26 16:05:23 +00:00
Andrew Johnson 3725609bc8 Cleanup, added recGblAlarmHook pointer. 2006-10-03 16:05:21 +00:00
Andrew Johnson 4bc1aabc0f TIME interest level changed from 4 => 2, now that dbpr displays it nicely. 2006-09-26 15:08:43 +00:00
Andrew Johnson 2c914b5183 Make dbpr output for TIME field human-readable (Mantis #270). 2006-09-26 14:56: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 0da934250f Leave PACT true if INP/OUT put fails. 2005-11-17 19:16:22 +00:00
Marty Kraimer f0fbae7d18 calling ca_context_destroy causes crash 2005-11-17 13:42:55 +00:00
Andrew Johnson f0a579cca3 DSXT Bug: Don't call dsxt->del_record() more than once if there's a failure. 2005-11-16 23:37:33 +00:00
Andrew Johnson 518ab0c64c Simulation mode patches from Peter Denison (Diamond) 2005-11-15 23:35:34 +00:00
Marty Kraimer 990a0b3ed1 more changes for epicsAtExit handler 2005-11-15 13:15:31 +00:00
Marty Kraimer 0809007858 add epicsAtExit handler 2005-11-14 20:12:23 +00:00
Ralph Lange 1b9ff04b8f Fixed fixes for HP-UX. 2005-11-04 16:00:15 +00:00
Ralph Lange 879d1a95bb Fixed warnings for HP-UX. 2005-11-04 14:51:16 +00:00
Andrew Johnson 12727edb36 Extended Device Support interface. 2005-10-31 20:54:10 +00:00
Marty Kraimer 0970e2bfbf change lock mlok to dbScanLock 2005-08-26 11:43:00 +00:00
Marty Kraimer 90759cb45c allow null value for field that does not exist 2005-08-25 13:05:53 +00:00
Marty Kraimer dbf5cb50f2 use epicsThreadGetIdSelf instead of taskId 2005-08-25 13:04:51 +00:00
Marty Kraimer 4a4b3dc26c fix bug 2005-08-25 13:04:04 +00:00
Marty Kraimer f7b6224b73 remove unused code 2005-08-25 13:03:30 +00:00