Commit Graph

13039 Commits

Author SHA1 Message Date
Jeff Hill johill@lanl.gov
5ce291facf fixed spelling in comment 2012-11-14 13:03:30 -07:00
Jeff Hill johill@lanl.gov
b86c4107c1 After qptimizing the epicsTime::addNanoSec function we now have a larger code which uses only unsigned integer arithmetic. This is for the benefit of embedded cpu's lacking a hardware floating point coprocessor at the expense of some additional code to maintain. I measered the cpu load improving from 40% free to 80% free after making this change, on a nios2 soft core processor. 2012-11-14 12:51:30 -07:00
Andrew Johnson
b8eec29e43 libCom: Added errlogSetConsole() functionality. 2012-11-09 17:06:32 -06:00
Andrew Johnson
c06f3cd9a0 db: Fix dbGet so attributes and value can be fetched simultaneously
Only the Async Soft Channel support did this, so that's where it
was noticed that this didn't work.
2012-10-29 01:20:56 -05:00
Andrew Johnson
35a2793c23 rec: Cleanup of compress & histogram record source code
No functional changes.
2012-10-19 15:06:37 -05:00
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
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
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
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
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
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
Andrew Johnson
93f7caebc4 tools/DBD: Fix DBD output of empty attributes
Use the regex's from Base.pm for value recognition
in both Parser.pm and Output.pm
2012-08-10 11:39:30 -05:00
Andrew Johnson
1faae9c3ed configure: Don't install test libraries
This was actually hapenning through a TESTPROD being dependent
on the TESTLIBRARY and not having a <lib>_DIR to tell it where
the library would be found. We now set <lib>_DIR = . for all
test libraries and they don't get installed any more.
2012-08-09 15:41:26 -05:00
Andrew Johnson
f0633d0d16 configure: Set BASE_3_14 = NO
This allows "ifdef BASE_3_14" to still mean 3.14 or later,
but also "ifeq ($(BASE_3_14),YES)" to mean 3.14 only.
2012-08-09 11:16:15 -05:00
Andrew Johnson
eb8bac8afb ioc: Added extern "C" block to dbLink.h file. 2012-08-08 13:38:21 -05:00
Andrew Johnson
a80ec2e0bf cap5: Fix symbol export when using -fvisibility=hidden
The boot_Cap5 symbol must be exported for the module to load.
2012-08-07 12:35:12 -05:00
Andrew Johnson
05377e5886 Merged changes from 3.14 branch
Includes everything up to revno 12355 on 2012-08-07
2012-08-07 12:31:55 -05:00
Andrew Johnson
c93c7b5e36 configure: Fix test rules dependency 2012-08-07 10:37:13 -05:00
Andrew Johnson
b993e29fad configure: Minor fixes
Don't add extraneous characters when SHRLIB_VERSION or GNU_TARGET
are empty.  The addprefix or addsuffix functions only include the
prefix/suffix part if the list argument is not empty.

This fixes issues naming libCap5.so at build-time.
2012-08-07 09:41:21 -05:00