Andrew Johnson
2eb48f43eb
Merged my udf-severity branch.
2013-05-30 15:00:37 -05:00
Andrew Johnson
d36f6aa84f
ca: Fix acctst.c for older C compilers
...
All declarations must still precede other statements within a block...
2013-05-30 12:25:37 -05:00
Andrew Johnson
7addfc8ddd
libCom/test: Make epicsUnitTestTest.plt more Perlish
...
Use Perl's __DATA__ stream for the expected data string.
2013-05-24 15:33:56 -05:00
Jeff Hill johill@lanl.gov
5e5ea11658
fix for https://bugs.launchpad.net/epics-base/+bug/1179642
2013-05-16 11:17:47 -06:00
Jeff Hill johill@lanl.gov
de2495d276
fixed test name in output
2013-05-15 14:18:11 -06:00
Jeff Hill johill@lanl.gov
fedaf622ac
improved multiSubscrDestroyNoLateCallbackTest quality by temporarily raing the priority of the main thread in the ca context
2013-05-15 12:05:58 -06:00
Jeff Hill johill@lanl.gov
711e82b1a6
fixed the test name of multiSubscrDestroyNoLateCallbackTest
2013-05-15 10:37:17 -06:00
Jeff Hill johill@lanl.gov
deb1fe8c7c
removed deadlock potential from test code
2013-05-15 10:24:18 -06:00
Jeff Hill johill@lanl.gov
8db3d7391b
improved the quality of the multiSubscrDestroyLateNoCallbackTest
2013-05-15 09:51:48 -06:00
Jeff Hill johill@lanl.gov
4780fb2fe5
fixed credit line comment
2013-05-14 17:15:30 -06:00
Jeff Hill johill@lanl.gov
6ee8a39047
regression test for https://bugs.launchpad.net/epics-base/+bug/1179642
2013-05-14 17:08:41 -06:00
Andrew Johnson
7ff7c37dc7
msi: Flush errlog before exiting
...
macLib sends its errors to errlog.
Reported by Bruce Hill, SLAC.
2013-05-13 12:10:08 -05:00
Andrew Johnson
a4fed4fe1a
msi: Undefined macros under -V should exit(2)
...
Also cleaned up double negative in internal var name.
2013-05-13 10:10:31 -05:00
Andrew Johnson
8d7a241d04
dbScan: Allow periodic scan unit strings to differ in case.
...
Use epicsStrCaseCmp() instead of strcmp().
2013-04-23 10:38:57 -05:00
Andrew Johnson
04ccf9db0d
Consistency for extended device support
...
Call scanDelete() before pdsxt->del_record()
when closing down an IOC.
2013-04-04 14:59:56 -05:00
Andrew Johnson
fabc8d06a9
Move db_post_events(waveform, NORD) into recordType.
...
Dirk pointed out that existing device support authors aren't
going to add this themselves; it's much better if the record
does it all for itself.
2013-04-04 14:18:35 -05:00
Andrew Johnson
2c8eb630cb
Merged Michael Davidsaver's array-opt branch
2013-04-02 17:01:53 -05:00
Michael Davidsaver
738c135ed8
Don't need void* cast
...
Implicit case from void** to void*
is allowed.
2013-04-02 17:07:53 -04:00
Ralph Lange
64a2e4e19b
libCom/osi: Make EPICS ID in epicsThreadShow 2 characters wider (for 64bit)
2013-03-27 10:56:34 +01:00
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
Michael Davidsaver
1b0ff46d33
Allow BPTR replacement in aai and aao
2013-01-23 10:38:32 -05:00
Michael Davidsaver
92d52cc415
Allow waveformRecord to replace BPTR
2013-01-23 10:38:31 -05:00
Michael Davidsaver
4f6040d35b
get_array_info() can modifiy DBADDR::pfield
...
Allow the record support function get_array_info()
to modify its first argument to provide a different
pointer from which values should be read.
Remember the original and restore it afterwards.
2013-01-23 10:38:30 -05: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 and Andrew Johnson
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
5a498e26a1
Added Undefined Severity field UDFS
...
With this, records can be configured to have a lower
alarm severity when they are undefined.
Sets initial severity at iocInit too.
2012-12-10 09:25:58 -06: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 and Andrew Johnson
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