Andrew Johnson
ae3d3904d9
Fix minor locking issue in dbEvent.c
2015-07-17 18:09:14 -05:00
Andrew Johnson
002bafdf07
Add testHarnessDone
2015-07-17 18:06:58 -05:00
Andrew Johnson
625172419e
libCom: Make epicsReadline behave the same on Darwin
2015-07-01 12:00:42 -05:00
Andrew Johnson
444b89f557
libCom: Make readline support clean up on epicsExit()
2015-06-30 14:08:32 -05:00
Andrew Johnson
ca46bf70b7
Fixes to attribute handling in dbStaticLib
...
From Peter Leban of i-tech (Libera)
2015-06-23 17:06:54 -05:00
Andrew Johnson
c0e2a44365
Register dbPutAttribute with iocsh
2015-06-23 17:04:37 -05:00
Andrew Johnson
84c3ec7c64
db: Correct DBF_CHAR range in recGbl.c
...
Seems invisible, but spotted by Lawrence T. Prevatte III.
2015-06-23 15:51:00 -05:00
Andrew Johnson
65e781d58a
db: Fix off-by-one error in initHookName()
...
Thanks to Lawrence T. Prevatte III for noticing that.
2015-06-23 14:46:29 -05:00
Andrew Johnson
2c28d4b69e
Merged Lewis Muir's CAref ToC update
...
Also added some entries for a couple of missing ca_sg routines.
2015-05-15 10:41:19 -05:00
J. Lewis Muir
5d61a512d1
doc: add ca_put_callback to CA ref man func call interface index
...
The ca_put_callback function is not listed in the CA Reference Manual's
function call interface index; add it.
2015-05-14 16:23:23 -05:00
Andrew Johnson
33b9fba00b
Fix for latest Cygwin
2015-04-29 14:01:07 -05:00
Michael Davidsaver
b082e7d1e8
dbContextReadNotify: Improper handling of array size changes
...
Issue diagnosed and reported by Ambroz Bizjak.
The dbContextReadNotifyCacheAllocator allocator clears
its cache of free buffers on an array size change.
But doesn't consider buffer already in use, which
will later be free'd. Such buffers were being
returned to the cache, then reused in allocations
for which they are too short.
Track the size of buffers which are in use.
Only return buffers with the present length
to the cache. Others are free'd immediately.
2015-04-09 14:39:24 -04:00
Andrew Johnson
9470830091
catools: Fix printing -ve DBF_LONG values on 64-bit
2015-03-23 15:59:11 -05:00
Andrew Johnson
f498b36438
Prevent overflows in ao value conversion.
...
Also makes ROFF fields unsigned, needed for ROFF=0x80000000
2015-03-20 16:34:14 -05:00
Andrew Johnson
f994944531
libCom/posix: Remove pthread_setcanceltype()
2015-03-18 11:36:06 -05:00
Andrew Johnson
5ffda58351
ca: Fix missing guard argument
2015-03-13 11:08:05 -05:00
Andrew Johnson
f6373093a5
Fix Windows linkage warning in alarmString.h
2015-03-13 10:56:03 -05:00
Andrew Johnson
8215244a28
Fix Windows time discontinuity report
2015-03-13 10:06:23 -05:00
Andrew Johnson
de298da94c
Fix Jenkins instability on Windows
2015-03-11 10:53:37 -05:00
Andrew Johnson
753bfcc579
Check sender threads are starting
2015-03-10 18:14:11 -05:00
Andrew Johnson
4568cd3616
Chasing Jenkins instability on Windows
2015-03-10 14:17:28 -05:00
Andrew Johnson
fb1a0c2b1e
Clean up g++ warnings in repeater.cpp
2015-02-28 20:20:56 -06:00
Andrew Johnson
b7baa2504e
Only build Cap5.so for the host architecture
2015-02-24 16:23:14 -06:00
Andrew Johnson
4a0880003c
Support MinGW cross-builds on linux-x86 and x86_64
2015-02-24 14:30:42 -06:00
Andrew Johnson
2d7a8a4aee
Pull blockingSockTest.cpp from 3.15
2015-02-20 16:35:47 -06:00
Andrew Johnson
4cf3613ace
Applied missing-header.patch
2015-02-20 12:38:26 -06:00
Andrew Johnson
0fa8702842
Applied test-epicsTimerQueue-reference-counter.patch
2015-02-20 12:34:53 -06:00
Andrew Johnson
a437768c9c
Applied linux-runtime-disable-RT-priorities-if-not-supported.patch
2015-02-20 12:25:28 -06:00
Andrew Johnson
3e6597be90
Applied record-support-santity-check.patch
2015-02-20 12:13:05 -06:00
Michael Davidsaver
c0cf25eeee
dbCa: dbCaPutLinkCallback initialize entire array
...
CA links will write the full target array size.
Ensure that uninitialized elements are zeroed.
2015-02-19 19:18:27 -05:00
Michael Davidsaver
3501fda48d
dbCa: dbCaPutLinkCallback prevent out of bounds write
...
The internal buffer of the caLink is sized based on the
number of elements of the destination PV.
2015-02-19 19:18:16 -05:00
Andrew Johnson
e822d8d8c4
Suppress corrupt error output from dbStatic parser
...
The yyerror() routine gets called twice in some cases.
Don't print the yytext or input file location the second
time through -- yytext has already been freed, and the
user doesn't need to see the location twice.
Fixes lp:1422803
2015-02-19 17:33:27 -06:00
Andrew Johnson
9813fa6474
db: Allow link fields to return a DOUBLE value
...
A dbCa link does a ca_get with type DBR_CTRL_DOUBLE
to populate its list of attribute values immediately
after connecting. If the target is a DBF_*LINK field
it used to return an error, preventing the link from
properly connecting. This change makes dbGetField()
return a single NAN value instead of rejecting the
request.
Fixes: lp:545358
2015-02-19 15:55:48 -06:00
Andrew Johnson
804aeafaa7
Fix dbVerify()'s postfix buffer size
2015-02-18 16:44:07 -06:00
Andrew Johnson
dda4eb3a58
Fix more MS idiocy
...
Windows has signed characters, but if you pass a negative
value (i.e. a character with value >= 0x80) into the debug
version of its isprint() runtime library function it asserts.
2015-02-18 16:36:42 -06:00
Andrew Johnson
d2a216b28e
More MS Windows-x64 test fixes
2015-02-17 16:21:13 -06:00
Andrew Johnson
7e36a58f1e
Back-ported dbLoadRecordsHook from the 3.15 branch
2015-02-17 14:29:20 -06:00
Andrew Johnson
f16bdb0c83
Merged trap-write-data branch
2015-02-17 14:02:15 -06:00
Andrew Johnson
681a996bf0
Unifying rsrv error messages
2015-02-17 13:59:13 -06:00
Michael Davidsaver
276ea54ee4
don't destroy locked mutex
2015-02-17 11:03:06 -05:00
Michael Davidsaver
2623c2f46f
dbStaticLib.c: clean pdbbase after free
2015-02-17 11:01:49 -05:00
Michael Davidsaver
b996e63beb
dbReadTest.c: flush errlog on exit as per lp:1419879
2015-02-17 10:57:05 -05:00
Michael Davidsaver
2f0e9172a4
tool_lib.c: ensure output string is always set
...
Ensure that val2str always writes to its output buffer,
which is static and shared between all PVs.
Should make bugs like lp:1418526 more obvious.
2015-02-17 10:45:30 -05:00
Andrew Johnson
c5ded30684
Extended asTrapWrite to provide put data
...
Backwards-compatible enhancement to the asTrapWrite API to provide
listener routines with the data being put by the client.
The asTrapWriteMessage structure is extended with 3 new fields
for data type, element count and a pointer to the source buffer.
Tim Mooney requested this enhancement for his caPutRecorder code,
which doesn't work if the record overwrites the new value within
its process() routine, e.g. when jogging a motor record.
2015-02-16 16:30:52 -06:00
Andrew Johnson
2e4d8b31ff
Mark windows-x64 Math failures as TODO
2015-02-13 15:56:50 -06:00
Andrew Johnson
26d60bc516
Attempt to fix Windows test failures
...
epicsMessageQueue test wasn't printing the last test result.
2015-02-13 15:29:08 -06:00
Andrew Johnson
f874913cf7
Fix epicsExceptionTest on darwin
...
Clang's optimizer seems to elide the new (nothrow) if we don't
actually observe the value of p...
2015-02-13 12:17:24 -06:00
Andrew Johnson
26ab431c0a
Back-ported the tapfiles build target from 3.15
...
This is the version that works on Windows.
2015-02-13 11:16:24 -06:00
Andrew Johnson
02aa7e2f73
Stop bogus error messages from CA Repeater on Windows
...
Required adding a new API to osiSock.h and the 2
implementations of epicsSocketConvertErrnoToString.
2015-02-10 18:10:33 -06:00
Andrew Johnson
727a3af59d
Merged Richard Fearn's caget-lb-zero-fix branch
...
... after some modification.
2015-02-05 11:19:30 -06:00