Andrew Johnson
4f9928bc3c
Merged changes from 3.14 branch
...
Up to revno 12404.
2013-03-15 15:23:55 -05:00
Andrew Johnson
738b8ca55f
libCom: Add a High-Resolution Time Provider on MacOS
...
Since Apple don't support clock_gettime(CLOCK_REALTIME) I added a
new time provider that uses the Mach kernel Clock service to get
nanosecond resolution time.
2013-03-13 14:48:34 -05:00
Andrew Johnson
82560b552e
libCom/osi: Fix for cygwin
...
Needed shareLib stuff.
2013-02-18 13:11:36 -06:00
Andrew Johnson
3196844602
Remove another Borland on Linux remnant.
2013-02-14 15:56:22 -06:00
Andrew Johnson
d85d1f0e56
Merged Ralph's spinlocks branch.
...
Added an RTEMS implementation which locks interrupts,
and some Release Notes mentioning the new API.
2013-02-12 12:13:01 -06:00
Andrew Johnson
c767958539
gdd: Build tweaks
...
Remove obselete HPUX warning flags
Disable strict-aliasing to suppress warnings (RTEMS, Linux)
2013-02-11 17:49:05 -06:00
Andrew Johnson
8400e74606
Fix epicsRingPointerGetSize()
...
Definition name didn't match declaration.
Fixes lp:1109785 reported by Martin Konrad.
2013-01-29 18:02:51 -06:00
Andrew Johnson
451c4cc854
Unify #! line for Perl scripts
...
/usr/bin/env exists on all current workstation OSs.
2013-01-23 07:29:07 -06:00
Andrew Johnson
038a1140f4
Fix drift in periodic scan times.
...
Method from Eric Norum, with warnings added by me.
Fixes lp:597054
2013-01-09 18:12:30 -06:00
Andrew Johnson
d63dffcd34
libCom/test: epicsSockResolveTest build fix
...
Add socket libraries for Win32 & Solaris.
2013-01-04 12:22:02 -06:00
Michael Davidsaver
f5b7693a58
libCom: aToIPAddr() finds numeric hostnames
...
Hostnames that begin with one or more digits were not being looked up
by name, causing problems at BNL.
This commit also changes the vxWorks implementation of hostToIPAddr()
to use inet_aton() instead of inet_addr().
2013-01-04 09:33:13 -06:00
Andrew Johnson
3fb529373f
Clear RTEMS build warning
...
shutdown is also a system identifier.
2013-01-03 15:27:23 -06:00
Andrew Johnson
af2693241f
Merged changes from 3.14 branch
...
Up to revno 12398, i.e. the R3.14.12.3 release.
2012-12-18 15:44:35 -06:00
Jeff Hill
89d000be08
fixed problems with ca clear channel protocol during reload of the access security file.
...
See https://bugs.launchpad.net/epics-base/+bug/1091401 .
2012-12-18 14:32:12 -07:00
Andrew Johnson
615fd741b9
rec: Fix precision where link not set
...
Don't just force the precision to 15 if an INPx link is not set,
default to PREC field instead.
2012-12-18 14:13:23 -06:00
Jeff Hill
75e32c9086
fix for https://bugs.launchpad.net/epics-base/+bug/1090009
2012-12-13 09:35:18 -07:00
Andrew Johnson
04ff9eb8a1
rec: mbbiDirect and mbboDirect refactoring
...
This includes changes to functionality, documented.
2012-12-11 18:25:01 -06:00
Andrew Johnson
475fc8e122
rec: Code format cleanup to mbbi, mbbo records
...
No intentional changes to functionality.
2012-12-11 18:23:17 -06:00
Ralph Lange
b7018dd16d
ca: Fix bug in "Firewalls" section of Channel Access reference manual
2012-12-11 23:38:42 +01:00
Andrew Johnson
85ed3b9f4e
rec: Delete ununsed fields from mbbxDirect record types
...
LALM was being initialized but is not otherwise used.
2012-12-07 22:15:48 -06:00
Andrew Johnson
319ed9b394
rec: Delete ununsed fields from mbbxDirect record types
...
SDEF removed from mbbiDirect
LALM removed from both mbbiDirect and mbboDirect
2012-12-07 17:20:38 -06:00
Michael Davidsaver
79bc3f2265
Make blockingSockTest use a free port number
...
Instead of using the CA server port 5064 which is often
in use, have the listening socket pick a free port.
2012-12-06 14:31:50 -06:00
Andrew Johnson
ef5688f8de
libCom: Accept hex literals in CALC expressions
...
Code back-ported from the 3.15 branch.
2012-12-03 12:58:26 -06:00
Andrew Johnson
d622bbad05
Fix compiler warnings on linux-x86
2012-12-03 12:48:11 -06:00
Andrew Johnson
cbde3ea9fd
cas: Added propertyEventMask support
...
Allows server tools to send DBE_PROPERTY events to clients.
New functionality not tested, but fairly trivial and doesn't
break existing server tools.
2012-11-30 17:42:47 -06:00
Andrew Johnson
6f9c2db8a8
libCom: Revert 12374 which breaks MSVC++ builds
...
Both the Microsoft 2008 and 2010 compilers fail with this change.
2012-11-30 13:32:25 -06:00
Andrew Johnson
01276d952f
ca: Build caRepeater etc. by default
...
Exceptions for vxWorks, RTEMS and iOS which don't support
executable programs like the workstation OSs.
2012-11-26 15:37:54 -06:00
Andrew Johnson
d69f3904d7
Fix for win32 builds.
2012-11-20 17:27:38 -06:00
Andrew Johnson
7778c0c3ff
Solaris & vxWorks 5.5.x fixes
...
Remove C++-isms.
Make internal routines static when duplicate names appear
in the epicsMutexTest.cpp code; on vxWorks and RTEMS all
test programs get linked into a single binary.
2012-11-20 15:55:53 -06:00
Andrew Johnson
f320cbcecd
Fix vxWorks implementation.
2012-11-20 15:04:28 -06:00
Andrew Johnson
6fd9fb3066
libCom: Removed epicsSingleton workaround
...
This undoes commit 11565, "workaround for archaic T202 g++ bug"
which doesn't actually seem to be necessary for T202 compilation.
It also replaces 'typename' with 'class', for another compiler.
Modification provided by Dirk Zimoch.
2012-11-16 16:14:13 -06:00
Andrew Johnson
36be0aa783
rec: Fix minor string in + out issue.
...
Undo strncmp+strncpy to strcmp+strcpy change in r12048.
The 'n' versions are needed because device support was
never explicitly required to Nil-terminate the string.
The dbAccess routines do enforce termination though.
2012-11-16 12:40:57 -06:00
Jeff Hill johill@lanl.gov
694ac0a650
epicsTime::addNanoSec function size is large now so it shouldnt be inline
2012-11-14 13:10:44 -07:00
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
fc61cc34ce
iocLogServer fix for unsigned char arch's
...
Reported by Guy Jennings
2012-10-31 13:56:12 -05:00
Ralph Lange
3f18327d2d
libCom/osi: add tests for epicsSpin (based on epicsMutex tests)
2012-10-29 20:26:11 +01:00
Ralph Lange
a977edfaa6
libCom/osi: add epicsSpin with default, posix, and vxWorks implementations
...
- posix uses pthread_spin_ interface when supported, pthread_mutex_ otherwise
- default uses epicsMutex
- vxWorks (single core) uses intLock()
2012-10-29 20:25:23 +01: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