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
Michael Davidsaver
6347b1daf9
add MMIO API
...
From devLib2
adds calls to handle 8, 16, and 32 bit
Memory Mapped I/O reads and writes.
Adds X_iowriteY() and X_ioreadY().
where X is nat (native), be, or le.
Y is 16 or 32.
Also adds ioread8() and iowrite8().
2013-05-10 16:22:16 -04:00
Andrew Johnson
593e313fab
dbStatic: More commands accept "" or "*" to mean 'all'
...
dbDumpRecordType, dbDumpMenu and dbDumpRecord commands improved.
2013-05-09 15:48:49 -05:00
Andrew Johnson
34744264e1
libCom: Fix win32 handle leak
...
Closing an epicsThread would leak one Win32 handle.
Reported by Giles Knap, Diamond.
2013-05-06 17:29:10 -05:00
Andrew Johnson
5ac686fafd
tools: Munch support for module destructors
...
Added in VxWorks 6.9
2013-04-25 17:00:36 -05:00
Andrew Johnson
7e347b2de9
libCom: Fix sysAtReboot registration on vxWorks 6.8+
...
Removed C++ static constructor, do it from epicsThreadInit()
2013-04-24 12:52:05 -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
5bc15b72a1
libCom: Add some missing #include guards.
...
There are still quite a few missing in libCom/osi/os/*
2013-04-11 12:56:56 -05:00
Andrew Johnson and Ralph Lange
97c6d1a903
Add podToHtml.pl script
...
New rules to use this for .pod and .pm conversions
Replace use of pod2html in ca/client/perl
2013-04-05 13:13:52 -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
Andrew Johnson and Ralph Lange
b27439ce7b
Only try to generate .html files where the .dbd.pod exists
2013-03-31 00:49:19 -05:00
Andrew Johnson and Ralph Lange
53c5aaa9ee
Introduce the .dbd.pod extension
...
Rules to convert to .html and .dbd
Rename existing files
Fix various build rules to match.
2013-03-31 00:38:20 -05:00
Andrew Johnson and Ralph Lange
880d714a0f
tools/DBD: Include cdefs in DBD format output.
2013-03-30 23:49:18 -05:00
Ralph Lange
ddadd9b62e
ioc/db/test: add test for parallel callback threads
2013-03-29 17:28:26 +01:00
Ralph Lange
c1318e7d55
ioc/db: add support for parallel callback threads
...
- use thread safe (spinlocked) callback queues
- add callbackParallelThreads() configuration call (with iocShell binding)
- add callbackParallelThreadsDefault variable, preset to number of CPUs
- remove calls to epicsInterruptLock()
2013-03-29 17:27:56 +01:00
Ralph Lange
8abb1ed255
libCom/test: add test for thread safe (spinlocked) ringPointer buffer
2013-03-29 17:24:11 +01:00
Ralph Lange
d6f5b50550
libCom/ring: add thread safe versions of ring buffers (using spinlocks)
2013-03-29 17:23:24 +01:00
Ralph Lange
3718cfa673
ioc/db/test: add timing statistics to callbackTest
2013-03-29 11:59:30 +01:00
Andrew Johnson
f9a0c82a63
libCom/osi: Resolve bcopyLongs() conflict on vxWorks 6.9
2013-03-28 17:17:41 -05:00
Ralph Lange
90b9965caf
libCom/osi: add epicsThreadGetCPUs()
...
* Implementation for posix and WIN32 tries to get the CPUs available for this process,
rather than the complete number of CPUs in the system.
* For the time being, vxWorks returns 1. (This will have to change for vxWorks SMP.)
2013-03-28 15:03:29 +01: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
a4edc46a5f
dbStatic: Allow empty DB & DBD files
...
They used to cause a Syntax error with a bad context string.
2013-03-20 16:53:10 -05: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