Commit Graph

16599 Commits

Author SHA1 Message Date
Andrew Johnson c9da766e9e rec: Fix compress & histogram attribute bugs
Problems introduced during Dirk's non-val attribute changes.
2012-10-19 15:01:43 -05:00
Andrew Johnson 7f21c8eec1 Merged changes from 3.14 branch
Merged up to revno 12369 on 2012-10-17
2012-10-18 00:10:12 -05:00
Andrew Johnson e889336458 db: Undefined alarm limits should return NaN
Where the record doesn't provide get_alarm_double() or for fields
where the default applies, we were still returning 0.
2012-10-17 18:08:39 -05:00
Michael Davidsaver 2613c62b40 rec/aSub: Add cleanup subroutine 2012-10-15 12:35:04 -05:00
Michael Davidsaver 7cac267a4b db: Fix possible error handling in dbPut 2012-10-11 18:10:00 -05:00
Andrew Johnson 71079ede4b rec/aSub: Fixes from Michael Davidsaver
* Changing the number of elements in a VALx array triggers monitors
* Post monitors on the NEVx fields, following EFLG
* Remove artificial limit on array sizes
2012-10-11 17:51:00 -05:00
Andrew Johnson ab7d73c537 cas: Fix syntax error in last commit
errMessage() is not printf-like, use errPrintf() instead.
2012-10-11 11:28:28 -05:00
Jeff Hill 7d37c31cc5 added the PV name to the unable to read application types "enums" message 2012-10-10 19:08:18 -06:00
Michael Davidsaver 26173c1e0d devLib: add compatibility typedef for VME table type 2012-10-10 15:52:34 -05:00
Andrew Johnson 9c1b8ba952 rec: Fix problem with NAN in MLST/ALST fields
If MLST or ALST became NAN the associated monitor would never trigger.
Now a NAN will cause it to always trigger.
2012-10-06 21:48:01 -05:00
Andrew Johnson f0c88c3d3c Document the CLEANS variable
Also shows how to be backwards-compatible with the 3.14 build
system.
2012-10-05 22:58:59 -05:00
Andrew Johnson a05f022e44 Reorganize where the POD should be placed
The converter now only handles POD from the root DBD object.
However there are commands that pull POD out of named sub-objects.
This also adds generating tables from menu choices.
2012-10-01 17:38:08 -05:00
Andrew Johnson f519b63a6f tools/DBD: Don't include =cut lines in the captured POD. 2012-10-01 17:35:23 -05:00
Andrew Johnson eb908c6ebf Make HTMLS_DIR default to . if not set.
Remove HTMLS_DIR setting for files generated from DBD/POD.
2012-10-01 17:29:11 -05:00
Andrew Johnson 2f25d7c9c9 doc: Delete old TOC entry. 2012-10-01 17:26:15 -05:00
Andrew Johnson 68bde36d75 Merged changes from 3.14 branch.
Merged up to commit 12364 (2012-09-11) inclusive.
2012-10-01 00:54:10 -05:00
Andrew Johnson e94ffd48fa std: Device support for new printf record type 2012-09-28 18:00:42 -05:00
Andrew Johnson d8812cbee3 std: Added new printf record type 2012-09-28 18:00:13 -05:00
Andrew Johnson 0f7cb737bb Merged J. Lewis Muir's caput help text fix branch. 2012-09-26 22:38:17 -05:00
Andrew Johnson ea725ad1a2 ioc/db: Call rset::cvt_dbaddr() before processing field modifiers
The channel filters and field modifiers should apply to the
field *after* the record type has made any SPC_DBADDR changes.
2012-09-26 14:41:52 -05:00
J. Lewis Muir 37407c94e0 ca/client/tools: add -F option to caput usage output 2012-09-26 10:37:20 -05:00
Ralph Lange 12909bfb1d Merge libCom/osi changes needed for MultiCore Real-Time Utils 2012-09-20 22:00:17 +02:00
Ralph Lange ca441a2a0e libCom/osi: (posix) make getOssPriorityValue() public as epicsThreadGetPosixPriority() 2012-09-20 21:55:32 +02:00
Andrew Johnson ecba376d72 std/rec: Enhance sequence record just like fanout
Add link groups 0 and B through F, plus the OFFS and SHFT fields to
provide backwards compatibility.
2012-09-19 15:13:13 -05:00
Ralph Lange 047bdc9200 libCom/osi: (posix) keep scheduling policy by thread, to support SCHED_RR 2012-09-18 13:43:02 +02:00
Ralph Lange 2485c1fb1c libCom/osi: Rename osd thread sched policy flag (Fifo -> RealTime) 2012-09-17 13:22:09 +02:00
Andrew Johnson a106129c9b Extended the fanout record to 16 links
Added SHFT and OFFS fields for backwards compatibility.
See Release Notes for detailed description.
2012-09-14 10:56:08 -05:00
Andrew Johnson c574722a9b catools: Fix syntax error from vxWorks gcc. 2012-09-11 15:19:29 -05:00
Andrew Johnson 4790578953 tools: Try harder to collapse ../ components in AbsPath
Idea from Angus Gratton, ANU
2012-09-11 12:11:55 -05:00
Ralph Lange 7e6e38060f catools: Change behaviour of camonitor when printing array of chars as string
camonitor was using strlen() to find out the length of the array to print as %s string,
which led to printing old buffer contents when the array-string was not null terminated.
Now uses the minimum of strlen(), elements received, and elements requested.

Suggested by Mark Rivers on tech-talk (11 Sep 2012)
2012-09-11 16:58:43 +02:00
Andrew Johnson d2d40b901a Update the initial documentation to normal Pod syntax 2012-09-04 00:40:37 -05:00
Andrew Johnson 29a9ad3f90 Make the DBD parser recognize Pod syntax directly
Source DBD files can include Pod blocks, as long as the dbdExpand.pl
script doesn't try and include it in expanded DBD output files.
This makes it easier to write the Pod, and perldoc can parse most
of the result for checking (it complains about the =field directives
though, which dbdToHtml.pl handles itself).
2012-09-04 00:35:17 -05:00
Ralph Lange 709b6ef2f3 catools: Fix off-by-one bug in caput
An internal buffer was allocated one char too short, when caput was used
with the '-S' (send string as array of chars) option.

Reported by J. Lewis Muir (tech-talk on 17-Aug-2012)
2012-09-03 21:25:44 +02:00
Andrew Johnson 29c6d34be4 filters: Document the deadband filter 2012-09-02 00:04:47 -05:00
Andrew Johnson dad89d5bba dbdToHtml.pl: Fix generated link URLs to other docs
Also added some code comments
2012-09-02 00:02:38 -05:00
Andrew Johnson 169b30081a Fix for vxWorks 6.x LED_ID
Use LED_ID in epicsReadline.c
Provide a typedef for vxWorks 5.x where it doesn't exist.
2012-08-31 16:05:14 -05:00
Andrew Johnson a19e1d21da libCom: Fix epicsSnprintf() under MinGW
Use the Microsoft _vscprintf() function which was just missing
a prototype in earlier versions of MinGW's stdio.h header.
2012-08-31 15:57:59 -05:00
Janet Anderson c48e92b1a8 Include RULES_JAVA when using EPICS base 3.15 and later. 2012-08-31 13:52:54 -05:00
Andrew Johnson d86db4e6b6 Start annotating fields and writing POD comments 2012-08-30 00:59:17 -05:00
Andrew Johnson 56c812f990 Add rules to run dbdToHtml.pl and install the result 2012-08-30 00:57:00 -05:00
Andrew Johnson 874cebb63d Change dbdToHtml.pl to parse POD from DBD comments 2012-08-30 00:55:22 -05:00
Andrew Johnson 43393096ac Add ability to save & retrieve comments to DBD objects 2012-08-30 00:53:07 -05:00
Andrew Johnson 29a8efa781 Document addition of MSI to Base. 2012-08-29 16:46:40 -05:00
Andrew Johnson 1ac8ff6378 as: Make asSetFilename() warn on relative paths
Tell the user if they try this.  They'll get an error from
asInit() later, but it gets lost easily in other noise.
2012-08-28 16:35:52 -05:00
Andrew Johnson 7da070bca3 Fix bldEnvData.pl library search path
It wasn't working when INSTALL_LOCATION is used.
2012-08-23 09:45:31 -05:00
Andrew Johnson f29e995103 Permit but check duplicate DBD entries
Record types cannot be duplicated however.
DBD sub-objects now have a ->what method for their description.
This also adds a method to look up a breaktable by name.
2012-08-22 16:54:54 -05:00
Janet Anderson 786a01b59c RULES_JAVA removed from base and put in extensions 2012-08-21 09:38:37 -05:00
Janet Anderson 5c2ef73c4a Fixed X11 include definitions, X11_INC and XPM_INC. 2012-08-20 12:27:39 -05:00
Andrew Johnson 958aa02320 Change build defaults for darwin-x86
* Use clang and clang++
* Build for x86_64 only
2012-08-20 10:03:50 -05:00
Andrew Johnson 0faff0f03e registerRecordDeviceDriver updates
Added -D and -o <outfile> options
Changed the build rules to use -o
Moved the script into src/tools
2012-08-10 11:40:50 -05:00